Multiple copies of HDD

Questions about hardware, drivers and peripherals
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
architeuthis

Multiple copies of HDD

Post by architeuthis »

Good morning all.

I have a 4TB HDD that I use for media storage. I disconnect it fairly often and it seems that every 5th or 6th time I reconnect it shows up as a new drive (screenshot). How can I go about trouble shooting this issue? Is it related to a kernel upgrade? It happens at relatively similar intervals to kernel upgrades.

Thanks
Screenshot from 2018-02-09 11-00-36.png
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Mute Ant

Re: Multiple copies of HDD

Post by Mute Ant »

If, for some reason, you don't unmount and safely-remove a volume, the folder under /media/$USER/ doesn't get removed. Next time you connect it, the preferred name is already taken, so it gets a new one.

The mount points are just empty folders, so you can remove them quite safely with... sudo rmdir /media/$USER/*

If the extra folders are appearing all on their own, without you disconnecting the drive, it suggests a wobbly connection that looks like disconnection to Linux.
architeuthis

Re: Multiple copies of HDD

Post by architeuthis »

Worked perfectly. Thank you.
User avatar
catweazel
Level 19
Level 19
Posts: 9763
Joined: Fri Oct 12, 2012 9:44 pm
Location: Australian Antarctic Territory

Re: Multiple copies of HDD

Post by catweazel »

Mute Ant wrote: Fri Feb 09, 2018 4:42 pm sudo rmdir /media/$USER/*
Nice. I didn't know about $USER. It'll save a lot of typing instructions to modify commands with a user name. Thanks for the tip.
"There is, ultimately, only one truth -- cogito, ergo sum -- everything else is an assumption." - Me, my swansong.
Locked

Return to “Hardware Support”