Rudolf Potucek wrote:
Hmm ... I understand this is a bug, but only in the sense that the message is
not sufficiently descriptive. Removing the file from the source filesystem will
not necessarily free any space because the blocks have to be retained in the
snapshots.
and if it's in a snapshot, it might need more blocks because you now
need a copy of the parent directory with that file removed, whilst the
snapshot parent directory version still has it in.
The same problem exists for zeroing the file with >file as suggested earlier.
Pick a file which isn't in a snapshot (either because it's been created
since the most recent snapshot, or because it's been rewritten since the
most recent snapshot so it's no longer sharing blocks with the snapshot
version).
It seems like the appropriate solution would be to have a tool that allows removing a file from one or more snapshots at the same time as removing the source ...
Rudolf
--
Andrew
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss