Changes between Version 3 and Version 4 of Processing/ssdsetup
- Timestamp:
- Apr 3, 2012, 3:32:22 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Processing/ssdsetup
v3 v4 31 31 32 32 The 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 {{{ 34 34 swapoff -v /dev/mapper/vg0-lv1 35 35 mkswap /dev/sdc1 36 36 swapon -v /dev/sdc1 37 }} 37 }}} 38 38 39 39 You can confirm that a 12GB swap has been created by running //free//. … … 42 42 43 43 To 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 {{{ 45 45 /dev/sdb1 swap swap defaults 0 0 46 46 /dev/sdb2 /tmp ext4 defaults,discard,noatime,rw,nosuid,noexec 0 0 47 }} 47 }}} 48 48 49 49 Your fstab file should be similar to the one below: