[indiana-discuss] beadm destroy bug... what to do
Ethan Quach
ethan.quach at sun.com
Tue Mar 10 15:54:15 PDT 2009
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/opensolaris-1 at 2009-03-08-03:02:43 - - \
> 183.26M static 2009-03-07 21:02
> rpool/ROOT/opensolaris-1 at install - - \
> 74.67M static 2009-03-07 12:47
> rpool/ROOT/opensolaris-1 at osol-108_cifs - - \
> 65.57M static 2009-03-09 02:35
> [...]
>
> # beadm destroy rpool/ROOT/opensolaris-1 at 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 bename at snapshot
# beadm destroy opensolaris-1 at 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/opensolaris-1 at 2009-03-08-03:02:43
-ethan
> _______________________________________________
> indiana-discuss mailing list
> indiana-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
>
More information about the indiana-discuss
mailing list