UUID and disk add
Brian McKee
brian.mckee at gmail.com
Thu Feb 26 14:05:14 UTC 2009
2009/2/26 Mihamina Rakotomandimby (R12y) <mihamina at lab.vectoris.fr>:
> 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.
So you hot-plugged it? Do you have hot-plug hardware?
Brian
More information about the ubuntu-users
mailing list