全部,
root@solaris:~# df -k
Filesystem 1024-blocks Used Available Capacity Mounted on
rpool/ROOT/s11.3qa_example_backup
511967232 5085980 495960478 2% /
/devices 0 0 0 0% /devices
/dev 0 0 0 0% /dev
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 996508 1668 994840 1% /system/volatile
objfs 0 0 0 0% /system/object
sharefs 0 0 0 0% /etc/dfs/sharetab
/usr/lib/libc/libc_hwcap2.so.1
501046458 5085980 495960478 2% /lib/libc.so.1
fd 0 0 0 0% /dev/fd
rpool/ROOT/s11.3qa_example_backup/var
511967232 294082 495960478 1% /var
swap 1125976 131136 994840 12% /tmp
rpool/VARSHARE 511967232 52 495960478 1% /var/share
rpool/export 511967232 32 495960478 1% /export
rpool/export/home 511967232 32 495960478 1% /export/home
rpool/export/home/igor
511967232 201698 495960478 1% /export/home/igor
rpool 511967232 4978 495960478 1% /rpool
rpool/VARSHARE/zones 511967232 31 495960478 1% /system/zones
rpool/VARSHARE/pkg 511967232 32 495960478 1% /var/share/pkg
rpool/VARSHARE/pkg/repositories
511967232 31 495960478 1% /var/share/pkg/repositories
/dev/dsk/c3t1d0s2 55748 55748 0 100% /media/VBOXADDITIONS_4.3.38_106717
/export/home/igor 496162176 201698 495960478 1% /home/igor
root@solaris:~# zfs list -r rpool
NAME USED AVAIL REFER MOUNTPOINT
rpool 15.3G 473G 4.86M /rpool
rpool/ROOT 13.0G 473G 31K legacy
rpool/ROOT/s11.3qa_example_backup 87.9M 473G 4.85G /
rpool/ROOT/s11.3qa_example_backup/var 41.9M 473G 287M /var
rpool/ROOT/solaris 106M 473G 3.21G /
rpool/ROOT/solaris-1 12.9M 473G 3.26G /
rpool/ROOT/solaris-1/var 5.50M 473G 365M /var
rpool/ROOT/solaris-2 12.7G 473G 6.71G /
rpool/ROOT/solaris-2-backup-1 52.9M 473G 4.83G /
rpool/ROOT/solaris-2-backup-1/var 1K 473G 1.38G /var
rpool/ROOT/solaris-2/var 2.78G 473G 767M /var
rpool/ROOT/solaris/var 75.9M 473G 271M /var
rpool/VARSHARE 146K 473G 52.5K /var/share
rpool/VARSHARE/pkg 63K 473G 32K /var/share/pkg
rpool/VARSHARE/pkg/repositories 31K 473G 31K /var/share/pkg/repositories
rpool/VARSHARE/zones 31K 473G 31K /system/zones
rpool/dump 1.03G 473G 1.00G -
rpool/export 200M 473G 32K /export
rpool/export/home 200M 473G 32K /export/home
rpool/export/home/igor 200M 473G 200M /export/home/igor
rpool/swap 1.03G 473G 1.00G -
根据要求我需要 2G 临时磁盘空间和 1G 用于安装的产品。我还需要8G交换空间。
现在IIUC,我有400G的交换空间,但我认为我在临时空间上有点偏离。现在要求说我需要 4G RAM,我将在虚拟机设置上增加它。
那么有人可以帮我解决硬盘空间问题吗?如何在该虚拟机上进行安装?
谢谢。
PS:显然我错了,我只有 1G 的交换空间:
igor@solaris:~$ swap -lh
swapfile dev swaplo blocks free
/dev/zvol/dsk/rpool/swap 195,1 4K 1.0G 1.0G
所以,现在有2个问题:
- 如何增加交换空间以满足需求?
- 如何增加临时空间以满足要求?
蒂亚!