From owner-freebsd-questions Fri Feb 7 13: 3:13 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C19C37B401 for ; Fri, 7 Feb 2003 13:03:12 -0800 (PST) Received: from web12808.mail.yahoo.com (web12808.mail.yahoo.com [216.136.174.43]) by mx1.FreeBSD.org (Postfix) with SMTP id 9220543FAF for ; Fri, 7 Feb 2003 13:03:11 -0800 (PST) (envelope-from hans@nyphp.org) Message-ID: <20030207210311.66543.qmail@web12808.mail.yahoo.com> Received: from [128.122.155.151] by web12808.mail.yahoo.com via HTTP; Fri, 07 Feb 2003 13:03:11 PST X-RocketYMMF: zaunere Date: Fri, 7 Feb 2003 13:03:11 -0800 (PST) From: Hans Zaunere Reply-To: hans@nyphp.org Subject: Resize File-Backed vnode Device To: questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Fairly straight forward question I suppose. I'm creating several file-backed vnode devices on a single physical disklabel to support some jails. If I start the file at 1gb is it possible to increase the file without losing the data within it? Would growfs be safe to use? Could I be so bold as to just tack on 100mb of null chars at the end of the file (I would doubt it, although it'd be nice). My goal, is to be able to deliver jails, based on a filesystem that can resize easily. The physical disk is 80gb so I have the room; it's just a matter of delegating it a easily manageable manner. So far, using vnodes seem to be my best bet, although I'd like to hear other ideas that people have come up with. Thanks, ===== Hans Zaunere President, New York PHP http://nyphp.org hans@nyphp.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message