UUID and disk add
Mihamina Rakotomandimby (R12y)
mihamina at lab.vectoris.fr
Thu Feb 26 09:43:52 UTC 2009
Hi,
I took a hard drive from a windows box, formatted in NTFS and plugged it
into my xUbuntu Intrepid.
I dont know what component autodetects the UUID (udev?), but it has
created a /dev/disk/by-uuid/9050842050840EE2 (which is the UUID of the
NTFS partition)
Then, I made a mkfs.ext3 on it and thus it has changed the UUID.
My UUID is know: 9f04af4c-2e18-4fea-868f-a68991483734
when editing fstab and mounting the partition:
# mount /malalaka
mount: special device
/dev/disk/by-uuid/9f04af4c-2e18-4fea-868f-a68991483734 does not exist
Yes, there was no /dev/disk/by-uuid/9f04af4c-2e18-4fea-868f-a68991483734
And the /dev/disk/by-uuid/9050842050840EE2 was still there.
I had to make a:
# rm /dev/disk/by-uuid/9050842050840EE2
# invoke-rc.d udev restart
to have /dev/disk/by-uuid/9f04af4c-2e18-4fea-868f-a68991483734
Then mounting it was OK.
Bug? Just a side effect of udev automation?
I wont have to plug drives many times, so it's a use case specific
problem. just want to share and know if it's a bug.
--
Chef de projet chez Vectoris
http://www.google.com/search?q=mihamina+rakotomandimby
System: xUbuntu 8.10 with almost all from package install
More information about the ubuntu-users
mailing list