Daniel Payno wrote: > Hi all, > > I have SNV_72 installed on an Toshiba Satellite A200 with the following df > -kh: > > [gritt at bailey]:~> df -kh > Sistema de archivos tama?o usados aprovechar capacidad Montado en > /dev/dsk/c0d0s0 14G 7,6G 6,7G 54% / > /devices 0K 0K 0K 0% /devices > /dev 0K 0K 0K 0% /dev > ctfs 0K 0K 0K 0% /system/contract > proc 0K 0K 0K 0% /proc > mnttab 0K 0K 0K 0% /etc/mnttab > swap 921M 1,0M 920M 1% /etc/svc/volatile > objfs 0K 0K 0K 0% /system/object > sharefs 0K 0K 0K 0% /etc/dfs/sharetab > /usr/lib/libc/libc_hwcap1.so.1 > 14G 7,6G 6,7G 54% /lib/libc.so.1 > fd 0K 0K 0K 0% /dev/fd > swap 920M 84K 920M 1% /tmp > swap 920M 48K 920M 1% /var/run > /dev/dsk/c0d0s4 19G 7,0G 12G 37% /sol10 > /dev/dsk/c0d0s7 48G 29G 18G 62% /export > zpo/zds 5,4G 5,0G 425M 93% /sun > zpo/zona0 1,0G 75M 949M 8% /zona > /dev/dsk/c1t0d0s2 3,3G 3,3G 0K 100% /media/SOL_11_X86 > [gritt at bailey]:~> zfs list > NAME USED AVAIL REFER MOUNTPOINT > zpo 5,08G 22,5G 18K none > zpo at zds 0 - 18K - > zpo/zds 5,00G 425M 5,00G /sun > zpo/zona0 75,3M 949M 75,3M /zona > > > I've booted with the latest SNV_73 and tried to upgrade the system, > but the installer exited with a 'Not enough space to upgrade'. > > My question is, where does it exactly need space for upgrade? Could i > define a mount point inside my zfs pool and copy /var (correct me if > wrong, but that's where the upgrade process needs space right?) to it, > redefining its mountpoint afterwards (always from single user for this > things), o do you recommend me a different aproach, say maybe mounting > some extra space from my zpool under / somewhere so that the upgrade > works? > > Any ideas would be appreciated. BTW, liveupgrade needs a lucreate and > space on disk (not a zfs system) to be able to do it right? So am i > right thinking that's this could not solve my > problem... > > If the 'easiest' way to solve my need is BFU, could you give me a nice > pointer to an easy-peasy howto? > > znx a lot > > PS: the /sol10 slice (s4) y an Sol 10 08/07 independent installation > which i don't want to touch, if avoidable :) /var is where the bfu archive is stored as well as spooled packages. You're obviously talking about SNV in general, meaning ON, JDS, SFW, man, docs, AppServ, and others. Upgrades generally consume half the size of the expanded system plus some slack space. So if your system is using 8gb, you'd need 4GB just for the archives to expand, plus room for backups and archives copied to /var/spool/pkg on top of existing usage of base system, of course this also depends on if the system expands the archives before install or does them one by one, deleting expanded archives as they have been installed. Since ON is upgraded, using ZFS probably is a slight risk, although some may argue it's not. Minimum space for SNV is 8gb with everything installed, as a recommendation that you have 20gb total space. You should be safe with 10gb, and it seems using a zfs pool is the only reasonable option. If you can free 3.3GB it should be fine, if not, migrate it to zfs, but be sure to move things into their place before rebooting. Hopefully you have 1gb ram in your system, because it's the last overflow option once disk space runs out. You'd be safe with 8gb free space if it was a clean install, but it's not.
James
