LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   mounting logical partition - special device does not exist (https://www.linuxquestions.org/questions/linux-software-2/mounting-logical-partition-special-device-does-not-exist-805414/)

sprockety1 05-02-2010 03:03 AM

mounting logical partition - special device does not exist
 
Hi,

I have created a logical partition (/dev/sda5) and have formatted it with an ext3 filesystem and given it the label PHOTOS.

# mkfs.ext3 -L PHOTOS /dev/sda5

If I mount it to my /PHOTOS directory manually, it does so correctly. However, when I try to automount, it gives me this message:

# mount -a
mount: special device PHOTOS does not exist

I've entered this line in my fstab file:

PHOTOS /dev/sda5 ext3 defaults 0 0

I'm just not sure what's happening; I've never had trouble mounting a filesystem before. Any ideas about what I'm doint wrong? Oh and it's a RHEL 5 installation.

Thanks,
S

acid_kewpie 05-02-2010 03:19 AM

the entry is illegal, it should be "LABEL=PHOTOS" not just "PHOTOS"

syg00 05-02-2010 03:33 AM

And the mountpoint ?.


All times are GMT -5. The time now is 11:00 PM.