> From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss- > <r...@karlsbakk.net> wrote: > > Hi all > > > > Is it possible to securely delete a file from a zfs dataset/zpool > once it's been snapshotted, meaning "delete (and perhaps overwrite) all > copies of this file"? > > No, until all snapshots referencing the file in question are removed.
Actually, the question was about secure delete. This means, even if you deleted all the snapshots, you'd still have to find some way of overwriting the blocks that formerly contained the file. This is ungraceful, but it will get the job done: for pass in 1 2 3 4 ; do for wiper in zero urandom ; do dd if=/dev/$wiper of=junk.file bs=1024k # sleep 30 ensures data synced to disk sleep 30 rm junk.file done done _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss