Modifying fstab file on T7400

t35t0r t35t0r at gmail.com
Wed Mar 26 12:19:27 CDT 2008


> But now I need to increase the swap partition size in the first disk.
> How can I modify the swap logical volume from 1.94Gb to 16Gb without
> re-install the operative system?

You can't, you have to create a swap file somewhere on the filesystem
(assuming bash):

dd if=/dev/zero of=/swapFile count=4096 bs=$(((16000000*1024)/4096))
mkswap /swapFile
swapon /swapFile

"cat /proc/swaps" will show that it's enabled. If you want it to come
up on boot add the following to /etc/fstab:

/swapFile swap swap defaults 0 0

Why do you need 16GB of swap anyways?



More information about the Linux-Precision mailing list