Sometimes you have to add additional swap space when the current swap space is not sufficient.
With help to following steps you can add the swap space in UFS of Solaris 10
Following techniques are recommended to add additional swap space in UFS file system.
Creating a swap file by using the mkfile command.
Activating the swap file by using the swap command.
Adding an entry for the swap file in the /etc/vfstab file so that the swap file is activated automatically when the system is booted.
Check out the swap space using the below command.
Using mkfile command create swap file.
Activate the swap file using swap -a
Make entry in /etc/vfstab file so that the swap space will stay permanent on the system even after reboot.
Check the swap space is added properly using swap -l command.
With help to following steps you can add the swap space in UFS of Solaris 10
Following techniques are recommended to add additional swap space in UFS file system.
Creating a swap file by using the mkfile command.
Activating the swap file by using the swap command.
Adding an entry for the swap file in the /etc/vfstab file so that the swap file is activated automatically when the system is booted.
Check out the swap space using the below command.
# /usr/sbin/swap -l
swapfile dev swaplo blocks free /dev/md/dsk/d20 85,20 16 20972720 20972720Create the directory for the swap file, here we are having /files for the swap space
# mkdir /files
Using mkfile command create swap file.
# mkfile 100m /files/swapfile
Activate the swap file using swap -a
# swap -a /files/swapfile
Make entry in /etc/vfstab file so that the swap space will stay permanent on the system even after reboot.
# vi /etc/vfstab (An entry is added for the swap file): /files/swapfile - - swap - no -
Check the swap space is added properly using swap -l command.
# swap -l swapfile dev swaplo blocks free /dev/md/dsk/d20 85,20 16 20972720 20972720 /files/swapfile - 16 204784 204784
Note - If a swap file does not get activated, make sure that the following service is running:
# svcs nfs/client
STATE STIME FMRI enabled 14:14:34 svc:/network/nfs/client:default
lapecXtemp-deMurfreesboro Chris Swindle https://wakelet.com/wake/eDkxyrJs_fZrIINh5GfaP
ReplyDeletenoliryma
UdeconVnec-de Nikki Marie download
ReplyDeletelink
https://colab.research.google.com/drive/1H9jAT2NMhn6dcuD8BQp_gaRp94h51QTZ
click here
clinlatabmarg
soltoKsali Carol Collins This is there
ReplyDeletethere
tadartestda