Mouting disk in fstab per UUID fails: special device does ..
Posted: Sat Sep 25, 2010 7:35 pm
"Special device does not exist".
[Problem]
After installing a new disk, partitioning it and mkfs.whatever it, you edit the /etc/fstab file to automount the disk on reboot per UUID. You get the UUID per command 'blkid', enter the syntax correctly, but only get the error message "Special device ... does not exist".
[Solution]
Basically there is two ways. The Kernel is not aware of the UUID because it was created post-boot, after it's read the partition tables into memory (correct me if iam wrong here), so often a reboot fixed the problem once all of the above config has been done.
The second option is the command 'partprobe', which - according to its manpage, forces the kernel to re-read the partition tables (and thus, blkid's)
Yay!
[Problem]
After installing a new disk, partitioning it and mkfs.whatever it, you edit the /etc/fstab file to automount the disk on reboot per UUID. You get the UUID per command 'blkid', enter the syntax correctly, but only get the error message "Special device ... does not exist".
[Solution]
Basically there is two ways. The Kernel is not aware of the UUID because it was created post-boot, after it's read the partition tables into memory (correct me if iam wrong here), so often a reboot fixed the problem once all of the above config has been done.
The second option is the command 'partprobe', which - according to its manpage, forces the kernel to re-read the partition tables (and thus, blkid's)
Yay!