[Ocfs2-users] Fail to mount iscsi volume at boot using o2cb

Adi Kriegisch adi at cg.tuwien.ac.at
Thu Jul 23 02:19:41 PDT 2015


Hi!

> I hope to mount an iscsi volume at boot time by using o2cb cluster stack. But a reboot breaks at the time when kernel
> mounts device in /etc/fstab. Error screenshot is attached. From error message, kernel was waiting for iscsi volume to be available
> until timeout.
> 
> ISCSI volume is common for shared storage disk.  But I don't know why this happened.
> Any hint is appreciated. Thanks!
> 
> The following is what I did:
> Environment: 3 nodes with sle12, an iscsi volume from a remote iscsi server.
> 
> 1. 'blkid /dev/sdb' to get UUID of volume,  add 'UUID=e7274365-4c97-4292-9367-f8be382a2872 /mnt/shared ocfs2 defaults 0 0' 
> to /etc/fstab.
Maybe you need to add the '_netdev' option to /etc/fstab? Like so:
UUID=e7274365-4c97-4292-9367-f8be382a2872 /mnt/shared ocfs2 defaults,_netdev 0 0

This should postpone the mount until later in the boot process.

-- Adi



More information about the Ocfs2-users mailing list