Harry Putnam wrote:
In another thread I was told it was a known bug for beadm destroy to
fail to destroy snapshots.
At first I thought I didn't have the syntax right:

beadm list -a
 (wrapped for mail)

 BE/Dataset/Snapshot         Active Mountpoint Space   Policy Created
   ----------                ------ ---------- -----   ------ -------
opensolaris-1
rpool/ROOT/opensolaris-1 NR / \ 4.82G static 2009-03-07 21:02
   rpool/ROOT/opensolari...@2009-03-08-03:02:43 -      -  \
                       183.26M static 2009-03-07 21:02
   rpool/ROOT/opensolari...@install             -      -  \
                       74.67M  static 2009-03-07 12:47
   rpool/ROOT/opensolari...@osol-108_cifs       -      -  \
        65.57M  static 2009-03-09 02:35
[...]

 # beadm destroy rpool/ROOT/opensolari...@2009-03-08-03:02:43
The BE name provided is invalid. Please check it and try again.

Is there anything I can do about this short of waiting for a new build?

First, your argument there should just be the ben...@snapshot

  # beadm destroy opensolari...@2009-03-08-03:02:43


However, this is defect 7071, which isn't fixed until build 110.
The workaround is to manually destroy the snapshot using zfs.

  # zfs destroy -r rpool/ROOT/opensolari...@2009-03-08-03:02:43


-ethan
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
_______________________________________________
indiana-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/indiana-discuss

Reply via email to