Archive for the ‘ ZFS ’ Category

Cannot delete ZFS snapshot

While Deleting to delete a , i typed:

zpool destroy zfsdiskpool@Sat

and got:

cannot open 'zfsdiskpool@Sat':  '@' in pool name

This is because to delete snapshots in , you should use ‘ destroy’ instead of ‘zpool destroy’. DOH!

zfs destroy zfsdiskpool@Sat

ZFS Cant rm: No space left on device

If you completely fill up a pool, it wont let you delete files on it. What you CAN do, is pick a scapegoat file to wipe out or remove a . Then you will be able to use the . what I did:


# df -h
     Size    Used   Avail Capacity  Mounted on
themirror       39G     39G      0B   100%    /home/jacob/themirror
# rm 3gfile
rm: 3gfile: No space left on device
#  if=/dev/null of=3gfile
0+0 records in
0+0 records out
0 bytes transferred in 0.000046 secs (0 bytes/sec)
# rm 3gfile