Date: Thu, 3 Aug 2006 14:48:24 +0200 (CEST) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-hackers@FreeBSD.ORG Subject: Re: absolute vs. relative offsets in disklabel Message-ID: <200608031248.k73CmOws037728@lurza.secnetix.de> In-Reply-To: <20060802192507.GB1136@roadrunner.aventurien.local>
next in thread | previous in thread | raw e-mail | index | archive | help
Ulrich Spoerlein wrote: > btw, how hard would it be to write a shrinkfs and perhaps movefs tool? movefs shouldn't be very difficult, but shrinkfs is more complex, because you have to relocate files and metadata within the filesystem. The shrink operation can fail if there isn't enough space in the new size for all data (and you need to take into account that not only data space is reduced, but also the number of inodes). Snap- shots will make it even more complicated. But then again, harddisks tend to get bigger, so there is probably not much need for a shrinkfs tool. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. We're sysadmins. To us, data is a protocol-overhead.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200608031248.k73CmOws037728>