This just happened on Solaris 10U7, but I thought it might be of interest to 
somebody if it isn't a known issue...

(sorry locale was still de)

$ uname -a
SunOS azalin 5.10 Generic_139555-08 sun4u sparc SUNW,Sun-Blade-2500
$ zfs list azalin/swap
azalin/swap                   5,08G  18,8G    16K  -
r...@azalin:/mypool/sun$ zfs set volsize=3G azalin/swap
r...@azalin:/mypool/sun$ zfs list azalin/swap
azalin/swap                      3G  18,8G    16K  -
r...@azalin:/mypool/sun$ swap -l
Auslagerungsdatei  Gerät  swaplo Blöcke   frei
/dev/zvol/dsk/azalin/swap 272,1      16 10649584 10649584
# Issue 1: we still have a size of 5G

$ swap -d /dev/zvol/dsk/azalin/swap
$ swap -a /dev/zvol/dsk/azalin/swap
/dev/zvol/dsk/azalin/swap wird derzeit für Live Upgrade - verwendet. Siehe 
hierzu ludelete(1M).

# Issue 2: readding of the swapvolume was rejected due to it being used by 
another live-upgrade boot environment

Either resizing of swap volumes should be reject if the volume is used as a 
swap device, or swap size should be resized automatically. Additionally, why is 
adding a swap volume rejected if it is used by another boot environment? This 
volume can be shared if a boot environment is cloned from an existing one, so 
it should be possible to add it to another boot environment, too...

I haven't verified if this issue still persists in opensolaris.

- Thomas
-- 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to