From owner-freebsd-hackers Fri Feb 7 13:30:53 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CBD2D37B401 for ; Fri, 7 Feb 2003 13:30:52 -0800 (PST) Received: from web12804.mail.yahoo.com (web12804.mail.yahoo.com [216.136.174.39]) by mx1.FreeBSD.org (Postfix) with SMTP id 49CF343F3F for ; Fri, 7 Feb 2003 13:30:52 -0800 (PST) (envelope-from hans@nyphp.org) Message-ID: <20030207213052.97188.qmail@web12804.mail.yahoo.com> Received: from [128.122.155.151] by web12804.mail.yahoo.com via HTTP; Fri, 07 Feb 2003 13:30:52 PST X-RocketYMMF: zaunere Date: Fri, 7 Feb 2003 13:30:52 -0800 (PST) From: Hans Zaunere Reply-To: hans@nyphp.org Subject: Resizing file-backed vnode disklabels To: hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-hackers@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 in an 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 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message