Re: UUID and disk add
Thu, 26 Feb 2009 10:34:25 -0500
Mihamina Rakotomandimby (R12y) wrote:
> 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
Or, the usual way:
$> sudo /etc/init.d/udev restart
I think you did the right think by restarting udev. The reformatting of
the partition changed its UUID and a udev was required to make the
relevant changes in /dev/disk/by-uuid/<NEW UUID>
Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.
ubuntu-users mailing list
Modify settings or unsubscribe at: