Sunday, May 18, 2008

UUID and Fstab and Reiserfs (or lack therof) in CentOS

About a month ago, I forgot to blog on the Ubuntu wiki page UsingUIID which shows you how to get the UUID of a filesystem which is now necessary for fstab (has been since at least Edgy).

In short, use the vol_id command:

root@gx620:~# vol_id /dev/sda2
ID_FS_USAGE=filesystem
ID_FS_TYPE=reiserfs
ID_FS_VERSION=3.6
ID_FS_UUID=15987a57-dd66-4276-8645-931291ef7fc4
ID_FS_UUID_ENC=15987a57-dd66-4276-8645-931291ef7fc4
ID_FS_LABEL=
ID_FS_LABEL_ENC=
ID_FS_LABEL_SAFE=


And given all the Debian pain (yes, code and operational diversity is good--and not blindly following the results of automated tools!), I actually put CentOS 5 on my main server at home until I realized that reiserfs (which I've used for quite some time for some irrational reason) is only available with CentOS Plus. Screw that. Ubuntu 8.04 LTS it is.

No comments: