0
votes
2answers
2k views

Create swap partition after install

I already have parititon contain data under lvm enviroment with centos 5.8 output of fdisk -l root@server [~]# fdisk -l Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, ...
1
vote
1answer
190 views

Turn on Swap after resize /

I resized with lvresize the swap from 4 to 2G and can't turn it on. swapon /dev/VolGroup/lv_swap swapon: /dev/VolGroup/lv_swap: swapon failed: Invalid argument lvdisplay /dev/VolGroup/lv_swap ...
2
votes
2answers
876 views

Does swap need to be on a contiguous LVM logical volume

I am setting up a machine to run a number of virtual machines. I am using a single HDD with a boot partition and an LVM partition. I read on the Arch wiki that logcial volumes which will be used for ...