Changes between Version 3 and Version 4 of Processing/ssdsetup


Ignore:
Timestamp:
Apr 3, 2012, 3:32:22 PM (12 years ago)
Author:
jaho
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing/ssdsetup

    v3 v4  
    3131
    3232The firt column will tell you the mount point which should be something like ///dev/mapper/vg0-lv1//. Now, assuming your newly created swap partition is on /dev/sdc1, run:
    33 {{
     33{{{
    3434swapoff -v /dev/mapper/vg0-lv1
    3535mkswap /dev/sdc1
    3636swapon -v /dev/sdc1
    37 }}
     37}}}
    3838
    3939You can confirm that a 12GB swap has been created by running //free//.
     
    4242
    4343To make the permanent changes to the filesystem you have to edit /etc/fstab file. Comment out or delete the line with //swap// in it and the line starting with tmpfs. At the and of the file add the following two lines:
    44 {{
     44{{{
    4545/dev/sdb1    swap    swap    defaults    0 0
    4646/dev/sdb2    /tmp    ext4    defaults,discard,noatime,rw,nosuid,noexec    0 0
    47 }}
     47}}}
    4848
    4949Your fstab file should be similar to the one below: