I am running Oracle Linux 7 (CentOS / RedHat based distro) in a VirtualBox VM on a Mac with OS X 10.10. I have a Synology Diskstation serving as an iscsi target.
I have successfully connected to the Synology, partitioned the disk and created a filesystem. It is refernced as
/dev/sdb
and the partition is /dev/sdb1
. Now, what I would like to do is create a mount point so I can easily access it:
mount /dev/sdb1 /mnt/www
That command works. But obviously, it isn't persistent across a reboot. No worries...into /etc/fstab
we go.
First, I got the UUID of the partition to ensure I am always using the correct device:
blkid /dev/sdb1
Result:
/dev/sdb1: UUID="723eb295-8fe0-409f-a75f-a26eede8904f" TYPE="ext3"
Now, I inserted the following line into my /etc/fstab
UUID=723eb295-8fe0-409f-a75f-a26eede8904f /mnt/www ext3 defaults 0 0
Upon reboot, the system crashes and goes into maintenance mode. If I remove the line I inserted, all works again. However, I am following the instructions verbatim from Oracle-Base
I know I am missing something..can anyone point me in the right direction?
Asked by Allan
(1090 rep)
Apr 8, 2015, 08:09 PM
Last activity: Dec 14, 2021, 04:47 PM
Last activity: Dec 14, 2021, 04:47 PM