use of label in fstab

Thilo Six T.Six at
Sun Sep 10 14:31:58 UTC 2006

Paul Hide wrote the following on 10.09.2006 16:04:
> I used e2label to label a partition on a sata disk /dev/sda1 with the
> label ublinux edited fstab to contain:
> label=ublinux / ext3 defaults,errors=remount-ro 0 1
> and this booted correctly.
> I made another partition /dev/sda5 and used e2label to label it dyndata,
> formatted it, made the directory /dydtest and then added another line to
> fstab:
> label=ublinux / ext3 defaults,errors=remount-ro 0 1
> label=dyndata /dyntest ext3 defaults,errors=remount-ro 0 1
> On bootup now, the first partition mounts correctly, but the second
> gives the following error message from fsck.ext3: Unable to resolve
> 'label=dyndata'.
> Does anyone have any thoughts.
> Paul Hide

Hi Paul

I use the "Label" thing in fstab, too.
I guess a mispelled LABEL for dyndata on your /dev/sda5.

You can check the label with:
$ sudo tune2fs -l /dev/sda5 | grep name

$ sudo tune2fs -l /dev/sda5 --> will give you the full output of your

and compare it with the one in /etc/fstab.

HTH Thilo

More information about the ubuntu-users mailing list