> This is expected because of the copy-onwrite nature of ZFS. During 
> truncate it is trying to allocate
> new disk blocks probably to write the new metadata and fails to find them.

I realize there is a fundamental issue with copy on write, but does
this mean ZFS does not maintain some kind of reservation to guarantee
you can always remove data?

If so I would consider this a major issue for general purpose use, and
if nothing else it should most definitely be clearly
documented. Accidentally filling up space is not at *all* uncommon in
many situations, be it home use or medium sized business type use. Yes
you should avoid it, but shit (always) happens.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to