LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-16-2022, 03:47 AM   #1
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 628

Rep: Reputation: 174Reputation: 174
Problem With A Backup Drive Designation


{note: had a stroke in 2011, am brain damaged with really bad short term memory loss}

My original backup drive {yes, I backup most of my system, using rsync, every day}. It is an external hard drive, and it is mounted as:
/media/kevin/{a number designation}

I had some error messages, and after examining it it was mounted as:
/media/kevin/{a number designation}1

Yes, it appended the number 1 to the original designation.

I changed the script to my rsync thread, and everything is, yet again, working as usual.

Question: Why did this happen?

OK, it is a relatively little problem and easy to fix, but it bugs the {heck} out of me.

Anyone have any idea?

Thank you for reading my question, and have yourself a great day!
 
Old 07-16-2022, 04:30 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by kevinbenko View Post
Question: Why did this happen?
No idea.
Quote:
Anyone have any idea?
Use label instead of UUID - less likely to cause confusion unless you use dd to backup the partition.
 
Old 07-16-2022, 10:02 AM   #3
computersavvy
Senior Member
 
Registered: Aug 2016
Posts: 3,345

Rep: Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484Reputation: 1484
Quote:
Originally Posted by kevinbenko View Post
Question: Why did this happen?
I have seem similar when a device is auto-mounted then disconnected and immediately reconnected before udev has had time to remove the first definition.

Quote:
Anyone have any idea?
If you use either UUID or LABEL and make the mount with either an explicit udev rule or an fstab entry without relying on the auto-mount feature this type of error will not occur.
My backup drive is mounted by fstab with this line
Code:
UUID=c28972d1-7ccb-488b-92b8-a1fab9e31552 /mnt/Backup  ext4  defaults,nofail   1 1
The 'nofail' option makes it so when disconnected it does not prevent a boot. The UUID is the uuid of the partition being mounted.
 
1 members found this post helpful.
Old 07-17-2022, 07:49 AM   #4
kevinbenko
Member
 
Registered: Jun 2005
Location: Fargo, North Dakota
Distribution: Debian Stable {Probably forever}
Posts: 628

Original Poster
Rep: Reputation: 174Reputation: 174
Yeah... I did that once. In general I only power-on my backup drive once a day when I do backups, probably because I don't completely trust external drives, but I did forget to turn it off a few times before I did a reboot. My bad...
And I guess that is why it behaved that way.

Thank you.

I will call this [SOLVED]

Yet again, thank you all for your valuable help {a stroke is a b{bad-word}h}.
Have a fantastic day!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] WD USB drive recognized in lsusb but no drive designation given SicnarfSteele Linux - Hardware 16 10-20-2017 02:09 PM
GRUB drive designation /dev/sda1 -> hd(1,0)?? ChootarLaal Ubuntu 13 03-01-2008 08:56 AM
Floppy Drive Letter Designation OldBob Linux - Laptop and Netbook 8 10-13-2004 12:48 AM
Designation question - ethernet card satimis Linux - Hardware 2 09-10-2003 10:19 AM
Stupid question about *.PPC designation... swampbilly Linux - Newbie 2 01-29-2003 06:37 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration