For example, this is the first line of my /etc/fstab
:
UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a / ext4 errors=remount-ro 0 1
And here's the output of df -h
command (reporting free disk space):
honey@bunny:~$ df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/vda ext4 30832636 4884200 24359188 17% /
none tmpfs 4 0 4 0% /sys/fs/cgroup
udev devtmpfs 498172 12 498160 1% /dev
tmpfs tmpfs 101796 320 101476 1% /run
none tmpfs 5120 0 5120 0% /run/lock
none tmpfs 508972 0 508972 0% /run/shm
none tmpfs 102400 0 102400 0% /run/user
From the two is it okay to deduce that
UUID=050e1e34-39e6-4072-a03e-ae0bf90ba13a
represents/dev/vda
given that the first column infstab
is<file system>
?So, would it be okay if I modified
/etc/fstab
to this?/dev/vda / ext4 errors=remount-ro 0 1
EDIT: If yes (to above question), why does the
sudo blkid
command show a different UUID for/dev/vda
?$ sudo blkid /dev/vda: LABEL="DOROOT" UUID="6f469437-4935-44c5-8ac6-53eb54a9af26" TYPE="ext4"
What am I missing here?
Answer: I'd conclude (3) to be a bug in the cloud of my host. So yes, the UUID reported by
blkid
(orls -l /dev/disk/by-uuid
) should be the same as the one used in/etc/fstab
.
sudo blkid
command.sudo blkid
command outputs a different UUID for/dev/vda
. This adds to my confusion. :) (Updated question.)lrwxrwxrwx 1 root root 9 Jun 18 11:04 6f469437-4935-44c5-8ac6-53eb54a9af26 -> ../../vda
. As for your other question, I'll contact the web host about that.