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:[email protected]

-- Press any key... no, no, no, NOT THAT ONE!

_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[email protected]"

Reply via email to