Changes between Version 7 and Version 8 of ssd


Ignore:
Timestamp:
Sep 26, 2016, 2:42:47 PM (8 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ssd

    v7 v8  
    169169}}}
    170170
     171CAREFUL! Don't assume the new device is sdb. The examples below are based on the device appearing as sdb, but if it appears differently, you can create some bad news with these commands.
     172
    171173Create a single partition:
    172174
     
    200202}}}
    201203
    202 Create a `fstrim` cron job (TBD on jacobs, needs puppet change).
    203 
    204204==== Replacing MySQL partition ====
    205205
     
    218218}}}
    219219
    220 Edit /etc/fstab, change the line for mounting /var/lib/mysql to match /dev/sdb1 instead of the existing logical volume.
     220Edit /etc/fstab, change the line for mounting `/var/lib/mysql`. It currently starts something like `/dev/mapper/vg_jacobs0-var+lib+mysql.` Assuming your ssd card appeared as /dev/sdb, find the UUID of the partition with `blkid /dev/sdb1` and then replace with `UUID=?` (replace the question mark with the actuall UUID number)..
    221221
    222222Mount the old logical volume on /mnt: