Christopher Juckins

SysAdmin Tips, Tricks and other Software Tools

User Tools

Site Tools


adding_a_second_hard_drive

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
adding_a_second_hard_drive [2023/12/31 16:46] juckinsadding_a_second_hard_drive [2023/12/31 16:46] (current) juckins
Line 19: Line 19:
   * You need to modify the /etc/fstab entry to something like the following   * You need to modify the /etc/fstab entry to something like the following
     * ''UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /disk2                  ext4     defaults        1 1''     * ''UUID=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX /disk2                  ext4     defaults        1 1''
-  * You find the UUID for the new hard disk by going to /dev/disk/by-uuid/ and doing an 'ls -l'+  * You find the UUID for the new hard disk by going to ''/dev/disk/by-uuid/'' and doing ''ls -l''
   * There you will see the UUID pointing to the drive (ex. ../../sda)   * There you will see the UUID pointing to the drive (ex. ../../sda)
-  * Use that information to update the /etc/fstab file +  * Use that information to update ''/etc/fstab'' 
-  * systemctl daemon-reload +  * ''systemctl daemon-reload'' 
-  * mount -a +  * ''mount -a'' 
-  * df -hP+  * ''df -hP''
     * Ensure you see /disk2 mount and you can cd in and touch/remove a test file     * Ensure you see /disk2 mount and you can cd in and touch/remove a test file
   * Reboot to ensure disk mounts correctly   * Reboot to ensure disk mounts correctly
adding_a_second_hard_drive.txt · Last modified: 2023/12/31 16:46 by juckins