UUID issue with new hard-drive

I just added a new hard-drive to my system. I created an ext3 partition and used vol_id and blkid to show the UUID. Based on that information, I edited the /etc/fstab file accordingly. When I try the sudo mount -a command, I get

mount: special device /dev/disk/by-uuid/*the uuid of the new partition* does not exist

and the mount fails.
To resolve that, just use

sudo partprobe

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

Share and Enjoy:
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Live
  • StumbleUpon
  • Technorati
  • LinkedIn
  • MySpace
  • Reddit
  • Twitter
  • email

4 Comments to “UUID issue with new hard-drive”

  1. Marc Richter says:

    That doesn’t work in Ubuntu Linux :P

  2. cviorel says:

    It works, trust me. Did you try it?

  3. Henry78 says:

    No, doesn’t work in ubuntu server 8.04. Anybody knows how to get it working?

  4. dmizer says:

    Thank you so much for this. Worked in Ubuntu server 8.04 after I finally got around to partitioning my new hard drive. If it didn’t work, make sure you got the UUID correct by checking the output of blkid.

Leave a comment