Which action must you perform to add additional swap space?

During the setup of additional swap space on an ext2 filessystem, you encounter an error as
shown below: # dd if = /dev/zero/ of = /u01/swapable bs=1M count=512 5120 records in
5120 records out # msswap –f –L swapable /u01/swapfile Setting up swapspace version 1,
size = 524284 KiB LABEL=Swapafile, UUID=b3e240f3-64f0-4727-a3c0-5cb7ecb8247e #
grep swap /etc/fstab LABEL=swapdisk swap swap defaults 0 0 LABEL=swapfile swap swap
defaults 0 0 # swapon – a Swapon: cannot find the device for LABEL=swapfile Which action
must you perform to add additional swap space?

During the setup of additional swap space on an ext2 filessystem, you encounter an error as
shown below: # dd if = /dev/zero/ of = /u01/swapable bs=1M count=512 5120 records in
5120 records out # msswap –f –L swapable /u01/swapfile Setting up swapspace version 1,
size = 524284 KiB LABEL=Swapafile, UUID=b3e240f3-64f0-4727-a3c0-5cb7ecb8247e #
grep swap /etc/fstab LABEL=swapdisk swap swap defaults 0 0 LABEL=swapfile swap swap
defaults 0 0 # swapon – a Swapon: cannot find the device for LABEL=swapfile Which action
must you perform to add additional swap space?

A.
Create a symbolic link /dev/swapfile that points to u01/swapfile.

B.
Reinitialize /u01/swapfile by issuing mkswap –L swapfile /u01/swapfile.

C.
Re-create the swapfile on an ext3 or ext4 filesystem.

D.
Change LABEL=swapfile to /u01/swapfile in the appropriate /etc/fstab entery.

E.
None, because adding filesystem based swap space is not supported.



Leave a Reply 0

Your email address will not be published. Required fields are marked *