Install Config Wiki

All about installing, configuring and troubleshooting

User Tools

Site Tools


auto_mount_external_drive_at_startup_ubuntu_server_22_04

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
auto_mount_external_drive_at_startup_ubuntu_server_22_04 [2023/07/19 19:21] wikiadminauto_mount_external_drive_at_startup_ubuntu_server_22_04 [2023/07/19 19:50] (current) wikiadmin
Line 1: Line 1:
 ====== Auto Mount External Drive at Startup in Ubuntu Server 22.04 ====== ====== Auto Mount External Drive at Startup in Ubuntu Server 22.04 ======
 +
 +**I AM NOT TAKING ANY CHANCES OF MOUNTING ANYTHING. THERE IS A 2TB HARDWARE RAID-1 MIRROR THAT IS MOUNTED, AND I DON'T WANT THE 4TB USB SSD DRIVE TO CONFLICT WITH THAT WHEN THE SYSTEM REBOOTS. IT APPEARS THAT UBUNTU IS SWITCHING THE MOUNTS OF THE /SDA AND THE /SDB AFTER A REBOOT.**
 +
 +However, I will keep the documentation below until such time as I figure out how to do this without any conflicts, and amend the entire process accordingly.
  
 See: [[https://developerinsider.co/auto-mount-drive-in-ubuntu-server-22-04-at-startup/]] See: [[https://developerinsider.co/auto-mount-drive-in-ubuntu-server-22-04-at-startup/]]
Line 260: Line 264:
  
 It does not specify that this USB SSD Drive is exFat, but I know it to exFat by connecting it to a Windows system and looking at its format.   It does not specify that this USB SSD Drive is exFat, but I know it to exFat by connecting it to a Windows system and looking at its format.  
 +
 +I believe that we need to mount /dev/sda2 which is the 4TB (3.8TB) external USB SSD drive.  And it appears that the Disk Identifier is: 
 +
 +<code>
 +AB3F7F29-78F9-46D2-90C7-B2FC88C5E922
 +</code>
 +
 +**BEWARE THERE ARE MIXED READINGS NOW!
 +
 +LOOK AT THIS BELOW AND COMPARE
 +**
 +<code>
 +lsblk -o NAME,FSTYPE,UUID,MOUNTPOINTS
 +</code>
 +
 +Results:
 +
 +<code>
 +NAME                      FSTYPE      UUID                                   MOUNTPOINTS
 +loop0                     squashfs                                           /snap/lxd/24322
 +loop1                     squashfs                                           /snap/snapd/19457
 +loop2                     squashfs                                           /snap/snapd/19361
 +loop3                     squashfs                                           /snap/core20/1950
 +loop4                     squashfs                                           /snap/core20/1974
 +sda
 +├─sda1
 +└─sda2
 +sdb
 +├─sdb1
 +├─sdb2                    ext4        94e62aba-77a5-45db-a9ba-ca358fa589df   /boot
 +└─sdb3                    LVM2_member hXjBKC-htj8-a0Zn-El2e-C3Jk-Y24f-e3S0bN
 +  └─ubuntu--vg-ubuntu--lv ext4        0d6b481f-ec40-4951-b6d7-76ba4cde2dfb   /
 +sr0
 +
 +</code>
 +
 +**I AM NOT TAKING ANY CHANCES OF MOUNTING ANYTHING.  THERE IS A 2TB HARDWARE RAID-1 MIRROR THAT IS MOUNTED, AND I DON'T WANT THE 4TB USB SSD DRIVE TO CONFLICT WITH THAT WHEN THE SYSTEM REBOOTS.  IT APPEARS THAT UBUNTU IS SWITCHING THE MOUNTS OF THE /SDA AND THE /SDB AFTER A REBOOT.
 +**
  
auto_mount_external_drive_at_startup_ubuntu_server_22_04.1689794510.txt.gz · Last modified: 2023/07/19 19:21 by wikiadmin