I needed to free up some space to be able to create and populate a new
upgrade.  I was caught off guard by the amount of free space required
by "zfs promote".

bash-3.2# uname -a
SunOS indy2 5.11 snv_86 i86pc i386 i86pc

bash-3.2# zfs list
NAME                               USED  AVAIL  REFER  MOUNTPOINT
rpool                             5.49G  1.83G    55K  /rpool
[EMAIL PROTECTED]                     46.5K      -  49.5K  -
rpool/ROOT                        5.39G  1.83G    18K  none
rpool/ROOT/2008.05                2.68G  1.83G  3.38G  legacy
rpool/ROOT/2008.05/opt             814M  1.83G  22.3M  legacy
rpool/ROOT/2008.05/[EMAIL PROTECTED]    43K      -  22.3M  -
rpool/ROOT/2008.05/opt/SUNWspro    739M  1.83G   739M  legacy
rpool/ROOT/2008.05/opt/netbeans   52.9M  1.83G  52.9M  legacy
rpool/ROOT/preview2               2.71G  1.83G  2.71G  /mnt
rpool/ROOT/[EMAIL PROTECTED]     6.13M      -  2.71G  -
rpool/ROOT/preview2/opt             27K  1.83G  22.3M  legacy
rpool/export                      89.8M  1.83G    19K  /export
rpool/export/home                 89.8M  1.83G  89.8M  /export/home

bash-3.2# zfs promote rpool/ROOT/2008.05
cannot promote 'rpool/ROOT/2008.05': out of space

Notice that I have 1.83 GB of free space and the snapshot from which
the clone was created (rpool/ROOT/[EMAIL PROTECTED]) is 2.71 GB.  It
was not until I had more than 2.71 GB of free space that I could
promote rpool/ROOT/2008.05.

This behavior does not seem to be documented.  Is it a bug in the
documentation or zfs?

-- 
Mike Gerdts
http://mgerdts.blogspot.com/
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to