Re: Deleting the top-level ZFS file system (without affecting it

看板FB_stable作者時間12年前 (2013/04/27 13:02), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
Hello xenophon+freebsd, Saturday, January 12, 2013, 12:47:25 PM, you wrote: >> Why would rm -rf /oldroot/* not return all the allocated space? >> I can only think of snapshots keeping the space allocated, but >> you can remove those too. Can you elaborate on that? > This will free space in the file system (as shown by df), but it won't > return the space to the pool. It looks like ZFS won't let you shrink > file systems yet. As far as I understand your question - yes it will return the space. Unless you explicitly told ZFS to reserve specific amount of space it takes as much space as given filesystems currently needs. There's no expanding/shrinking in ZFS because ZFS filesystems are not partitioning the disk in the general meaning of that word. The ZFS filesystems behave in a very similar way to directories. -- Best regards, Derek mailto:takeda@takeda.tk -- Press any key... no, no, no, NOT THAT ONE! _______________________________________________ freebsd-stable@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
文章代碼(AID): #1HUrlxpC (FB_stable)
文章代碼(AID): #1HUrlxpC (FB_stable)