ubuntu-users@lists.ubuntu.com
[Top] [All Lists]

Re: UUID and disk add

Subject: Re: UUID and disk add
From: Brian McKee
Date: Thu, 26 Feb 2009 09:05:14 -0500
2009/2/26 Mihamina Rakotomandimby (R12y) <mihamina@xxxxxxxxxxxxxxx>:
> 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

-- 
ubuntu-users mailing list
ubuntu-users@xxxxxxxxxxxxxxxx
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

<Prev in Thread] Current Thread [Next in Thread>