Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 759  / 1 Year ago, tue, december 20, 2022, 4:48:10

Just did an upgrade from 20.04 to 22.04 with my external storage disks connected.


The system generated mount-points:



  • 'Computer'/media/'homefolder'/4TB-WD-ElementsS - turned into

  • 'Computer'/media/'homefolder'/4TB-WD-ElementsS1


breaking all my system/application references to /media/'homefolder'/4TB-WD-ElementsS.


Similar renaming occurred for all the other external drives.


Picture:


enter image description here


How do I switch back to "4TB-WD-ElementsS" and remove the new "4TB-WD-ElementsS1" duplicates?


Added: contents of /etc/fstab:


# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda2 during installation
UUID=fa43ba46-1945-4acb-a0b2-c035ba801af5 / ext4 errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
#UUID=0D4A-32DB /boot/efi vfat utf8 0 1
# /home was on /dev/sda3 during installation
UUID=3ebc7a53-18ad-45d7-a6ee-67633d0e8023 /home ext4 defaults 0 2
# swap was on /dev/sda4 during installation
UUID=128161f0-2ec6-4dc6-9913-6e39189efb95 none swap sw 0 0
#UUID=0D4A-32DB /boot/efi vfat defaults 0 1
#UUID=5A0C-6CDC /boot/efi vfat defaults 0 1
UUID=5A0C-6CDC /boot/efi vfat defaults 0 1

"Disks" info on 4TB-WD-ElementsS (external drive):


enter image description here


"Mount point" pane in "Disks":


enter image description here


More From » upgrade

 Answers
5

Background


I think now I understand what happened.


Normally, a new folder is created when an external USB drive is connected to the computer at /media/your_username/. When you want to remove an external drive you should use the Eject button or unmount the drive before you remove it. At that point this folder is deleted by the system. For whatever reason the two external drives were unsafely disconnected during the upgrade. This left two empty folders in the folder:


/media/your_username/

These folders are:


4TB-WD-ElementsS
8 TB Seagate

After the upgrade and possibly after the reboot when the two external drives were recognized again, the system couldn't create those folders as they already existed. So the system added a suffix 1 to the end of those folder names and created new folders.


Note, these folders are not "disk-symlinks." They are called "mount points". They are just plain empty folders and can be treated as such once the external drives are "unmounted."


What to do?



  1. First, safely remove the attached USB drives. The easiest way to do this is to click on the Eject icon. Wait for the the notification to show that it is safe to remove the drive. Waiting for the "Safe to Remove" message is very important for large drives. Once you see this message unplug the drive. Repeat for the other drive.



  2. Delete the offending folders. You will need administrative privileges to do this. Even though it can be done via the File app, it is not straight forward. So I will show you the command-line way:





  • Open a terminal by pressing Ctrl+Alt+T and enter the commands:


    sudo rmdir "/media/your_username/4TB-WD-ElementsS/"




You will be asked to enter your password. When you type the password the cursor will not move and you will not see anything line ********. This is normal. You can delete the other folder similarly



  1. Plug back the USB drives and they should now have the correct mount-points.


Hope this helps


[#304] Wednesday, December 21, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
mentpengu

Total Points: 148
Total Questions: 114
Total Answers: 119

Location: Anguilla
Member since Sun, Aug 7, 2022
2 Years ago
mentpengu questions
Sun, Apr 17, 22, 18:09, 2 Years ago
Fri, Aug 12, 22, 01:35, 2 Years ago
Tue, Jul 26, 22, 14:52, 2 Years ago
Wed, Jun 30, 21, 02:28, 3 Years ago
;