Special device UUID=xxxxxxxxxxxxxxxx does not exist (especially with LVM)

UUID partition was mystery to me – according to all documentation available they make life easier instantly and you no longer have to worry about your partition letters. Since I'm using LVM on all servers I manage I already stopped worrying. But since this is preferred method now, I wanted to use it (especially after last time udev created /dev/mapper/vg-lv device, but no /dev/vg/lv device after boot and I realized that after my backups were week old and I had to restore corrupted file :().

But here's the problem with UUIDs and LVM: After you create new LV, vol_id and blkid will show their UUID. But as soon as you want to mount that LV via /etc/fstab, it yields Special device UUID=... does not exist. Today I learned this special command:

sudo partprobe

It updates the /dev/disk/by-uuid directory and your uuid mount works like a charm.

Fréderic
December 3rd, 2008 16:17

Thanks I lot, I was looking for just that!

Mihai
February 7th, 2009 09:37

Cool! For a long time I had this problem with a simple external drive. Nobody new anything.
Thanks!

March 6th, 2009 06:31

Thanks for posting – fixed my problem with a new drive I added on a server I'm building!

Jamie
March 29th, 2010 04:13

Thanks, dude.

Josh
March 25th, 2011 15:45

Perfect! That's exactly what I needed to know.

Matheus
July 23rd, 2012 14:42

Tried and didn't work. But thanks anyway.

August 29th, 2012 20:48

It also didn't work for me, I'm not sure why the disk-by-uuid in Debian isn't updating and maybe it's also because of mdadm?

niknah
October 29th, 2013 10:52

Thanks so much!
My uuid had changed after I did something in fdisk.

*Name
*Mail
Website
Comment