I have a CentOS 5 machine with an external 500G USB disk, formatted with JFS.
How do I get this to mount automatically at boot time?
If I add to /etc/fstab:
/dev/sdb1 /var/video jfs defaults 1 2
fsck.jfs complains at boot time:
Error: Cannot open device /dev/sdb1
Usage: fsck.jfs ...
...
Give root password for maintenance ...
If I log in with the root password, /dev/sdb1 is present, and I can run
fsck.jfs -f /dev/sdb1
without problems. After ctrl-D it reboots, and gives the above error again.
I have to log in as root, remount,rw / and remove the /dev/sdb1 line from /etc/fstab to get it to boot.
The problem is not related to JFS; it occurs with an external ext3 file system as well.
How do I mount /dev/sdb1 automatically at boot?
Mogens