Hi Team,
I am restoring my server from backup but while doing restoration in single user mode (cdrom -s) it showing an error like "swap space limit exceeded". As i have checked and my OS is having 15G swap space but while booting it to single user mode it showing on 6G memory. Any procedure to increase the swap size?
# tar xf /dev/rmt/0cn
WARNING: /tmp: File system full, swap space limit exceeded
tar: ./usr/sunvts/lib/sparcv9/libmtsk.so.1: HELP - extract write error
#
fork failed - too many processes
# #
Command output in Single user mode when rebooted from DVD:
#swap –l ---- The output of this command was not taken.
# df -kh
Filesystem size used avail capacity Mounted on
/ramdisk-root:a 212M 187M 3.6M 99% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 6.9G 344K 6.9G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
swap 6.9G 592K 6.9G 1% /tmp
/tmp/dev 6.9G 592K 6.9G 1% /dev
fd 0K 0K 0K 0% /dev/fd
/devices/pci@7c0/pci@0/pci@1/pci@0/ide@8/sd@0,0:f
3.9G 3.9G 0K 100% /cdrom
df: cannot statvfs /platform/sun4v/lib/libc_psr.so.1: Operation not applicable
df: cannot statvfs /platform/sun4v/lib/sparcv9/libc_psr.so.1: Operation not applicable
swap 6.9G 8K 6.9G 1% /tmp/root/var/run
#
Command output in normal mode:
bash-3.2# swap -l
swapfile dev swaplo blocks free
/dev/md/dsk/d31 85,31 16 33540080 33540080
bash-3.2#
bash-3.2#
bash-3.2# df -ah
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d30 119G 10G 107G 9% /
/devices 0K 0K 0K 0% /devices
ctfs 0K 0K 0K 0% /system/contract
proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% /etc/mnttab
swap 16G 1.7M 16G 1% /etc/svc/volatile
objfs 0K 0K 0K 0% /system/object
sharefs 0K 0K 0K 0% /etc/dfs/sharetab
/platform/SUNW,Netra-T2000/lib/libc_psr/libc_psr_hwcap1.so.1
119G 10G 107G 9% /platform/sun4v/lib/libc_psr.so.1
/platform/SUNW,Netra-T2000/lib/sparcv9/libc_psr/libc_psr_hwcap1.so.1
119G 10G 107G 9% /platform/sun4v/lib/sparcv9/libc_psr.so.1
fd 0K 0K 0K 0% /dev/fd
swap 16G 119M 16G 1% /tmp
swap 16G 64K 16G 1% /var/run
-hosts 0K 0K 0K 0% /net
auto_home 0K 0K 0K 0% /home
bash-3.2#
thanks in advance!!!