PDA

View Full Version : iSCSI Not Mounting



carnold6
05-Apr-2013, 16:28
SLES11 SP2 and using iscsi initiator to connect and mount a xfs filesystem on a NAS. I configure it using yast and set evrything to automatic/onboot. When i fdisk -l. isee the drive but when running mount -t xfs /dev/sde1 /mnt i get "bad option, superblock or wrong filesystem" and it never mounts. I go into partitoner and make sure fstab options are correct, they are. Fstab has the info to mount on boot and in fact does mount on boot. I can mount the same iscsi drive on another SLES11 SP2 server with no problems. Would any mount errors show in messages log? Or where do i find the logs for mounting a iscsi drive?

jmozdzen
05-Apr-2013, 16:47
Hi carnold6,

> when running mount -t xfs /dev/sde1 /mnt i get "bad option, superblock or wrong filesystem" and it never mounts

what are the corresponding messages in dmesg and /var/log/messages?

> Fstab has the info to mount on boot and in fact does mount on boot
> Would any mount errors show in messages log?

Either there or in /var/log/boot.msg. But I'd say that you needn't check what's going on during boot until you can mount the fs manually.

Regards,
Jens