UUID

Asked by smurf

My system is Feisty (AMD64).
I have an external usb HD that is normally detected and used from the system. I use this HD for backup and restore partition to defrag some strongly used partition.
Each time I format a partition to backup or restore data, the UUID changes... this means that I have to change fstab and in my /media directory I see that the system multiply the directory used as mount point adding _ (underscore) at the end of the name of the external HD partitions. It is a bit messy...
Why every time I format a partition the UUID changes????? Isn't possible to maintain the original UUID?
Definitely is not very fine this issue...

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Jim Hutchinson
Solved:
Last query:
Last reply:
Revision history for this message
Best Jim Hutchinson (jphutch) said :
#1

Yeah, I don't get the UUID myself. It supposed to solve some problems if you move drives but it seems to cause more problems than it solves. How often do people move the physical drive plug?

Anyway, you can replace the UUID with the name of the partiton- like /dev/sda5 and so on. To found out the names you can open a terminal and type

sudo fdisk -l (that's a small letter L)

From there you can find the name of the drive in question and replace the UUID.

Revision history for this message
smurf (luca-dgh) said :
#2

Thanks Jim Hutchinson, that solved my question.

Revision history for this message
smurf (luca-dgh) said :
#3

Yes Jim, I was looking for this answer. I will replace the UUID with the phisycal name of the devices.
Really I don't move the physical drive plug, never, but often I reformat the external HDD.
Anyway I will switch back to the old method for HD mount.
Thanks a lot.

Revision history for this message
Jim Hutchinson (jphutch) said :
#4

Yeah, I have the same problem. I reformat / repartition more than I move the drive. I don't know if the UUID has other benefits but it seems to mess up more people than it helps. Anyway, glad I could help.