You can delete a snapshot either by rebooting the system or by using the fssnap -d command and specifying the path of the file system that contains the UFS snapshot.
Become superuser or assume an equivalent role.
Identify the snapshot to be deleted.
# /usr/lib/fs/ufs/fssnap -i |
Delete the snapshot.
# fssnap -d /file-system Deleted snapshot 1. |
(Optional) If you did not use the -o unlink option when you created the snapshot, you need to delete the backing-store file manually.
# rm /file-system/backing-store-file |
The following example shows how to delete a snapshot and assumes that the unlink option was not used.
# fssnap -i 0 / 1 /usr # fssnap -d /usr Deleted snapshot 1. # rm /scratch/usr.back.file |