1 -Create a logical volume:
#lvcreate -L "xxM" -n "myswap" -C y -n "name"(optiona) /dev/vgXX
where:
-L = size
-n = name of new swap device
-C y = the record will be contiguous.
/dev/vgXX = your vg
2 - Enable the logical volume as swap:
#swapon -f /dev/vgXX/myswap
Creating a swap device
sexta-feira, 30 de dezembro de 2011
Labels: Swap