Mount error solution – special device LABEL=/xxx does not exist
- August 17th, 2007
- Posted in Documentation
- Write comment
Appliies Fedora/Redhat/CentOS,etc., but I have just using the OSes mentioned:
I started to run into this with ext3 when changing mount points:
From the /etc/fstab
…
LABEL=/backup /backup ext3 defaults 1 2
…
mount /backup
Error message:
mount: special device LABEL=/backup does not exist
tune2fs -L /backup /dev/cciss/c0d2p1
tune2fs 1.39 (29-May-2006)
mount /backup
To add the label while making the filesystem:
mkfs -t ext3 -L /opt /dev/sda1
use e2label to label your devices
ej:
e2label /dev/[volumeGroupName]/[logicalVolume] /mountpoint
if you need to mount a device /dev/VGDATA/VFDATA-lvy into a directory call /y
• e2label /dev/VGDATA/VGDATA-lvy /y
mkfs.ext3 /dev/VGDATA/VGDATA-lvy
mount /dev/VGDATA/VGDATA-lvy /y