[indiana-discuss] beadm destroy snapshots failing maybe wrong syntax

Ethan Quach ethan.quach at sun.com
Tue Mar 3 09:33:40 PST 2009



Harry Putnam wrote:
> On a recent update to 208, I'm trying to understand creation and
> destruction of snapshots.
>
> I attempted to create a few trying to get the syntax right and ended
> up with this:
>
> root # beadm list -a
> BE/Dataset/Snapshot                             Active Mountpoint Space   Policy Created          
> -------------------                             ------ ---------- -----   ------ -------          
> opensolaris
>    rpool/ROOT/opensolaris                       -      -          315.61M static 2009-03-01 12:33 
> opensolaris-1
>    rpool/ROOT/opensolaris-1                     NR     /          4.65G   static 2009-03-01 22:58 
>    rpool/ROOT/opensolaris-1 at 030309_103134       -      -          31.0K   static 2009-03-03 10:31 
>    rpool/ROOT/opensolaris-1 at 2009-03-02-04:58:16 -      -          168.70M static 2009-03-01 22:58 
>    rpool/ROOT/opensolaris-1 at install             -      -          127.11M static 2009-03-01 12:55 
>    rpool/ROOT/opensolaris-1 at now                 -      -          30.0K   static 2009-03-03 10:23 
>    rpool/ROOT/opensolaris-1 at w_emacs_smbs_smbskr -      -          31.0K   static 2009-03-03 10:33 
>
> First, as you can see, everthing on Mar 3 shows 30 or 31 K.  That
> cannot be right for a snapshot (can it?)
> What should I expect in a snapshot size wise?
>   

That seems about right.  If you've not diverged your source
filesystems yet (i.e. written to them), the snapshot sizes are
small.

> Further, trying to destroy them fails:
>
>   root # beadm destroy rpool/ROOT/opensolaris-1 at w_emacs_smbs_smbskr
>   The BE name provided is invalid.
>   Please check it and try again.
>
> My attempt looks like others I've seen searching google. But maybe it
> wants a plainer BE name.
>
>   root # beadm destroy opensolaris-1 at w_emacs_smbs_smbskr
>   The BE name provided is invalid.
>   Please check it and try again.
>   

This is the right syntax, though it looks like you're running into a
new bug here, bug 7071.

-ethan

> Nope that wasn't it either.
>
> So is my syntax just wrong or is something going wrong here?
>
> _______________________________________________
> 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