[Linux-ha-dev] add wait after login to iscsi RA
DAIKI MATSUDA
d.matuda at gmail.com
Tue Jan 15 22:20:46 MST 2008
Hi, All.
I test the iscsi RA on the environment RHEL 5.1 iscsi initiator with
heartbeat and CentOS 5.1 iscsi target. But they sometime do odd
behaviour that not to mount file system. Maybe there is little time to
mount file system after finishing iscsi RA and then Filesystem RA can
not see scsi device on iscsi. So, I add the wait option to iscsi RA
after login to iscsi target.
test log
[root at domu4 ~]# iscsiadm -m discovery -t sendtargets -p 172.17.246.129
&& iscsiadm -m node -T iqn.2008-01.xxx:G01_V00 -p 172.17.246.129 -l
&& fdisk -l
172.17.246.129:3260,1 iqn.2008-01.jxxx:G01_V00
Login session [iface: default, target: iqn.2008-01.xxx:G01_V00,
portal: 172.17.246.129,3260]
Disk /dev/xvda: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 13 104391 83 Linux
/dev/xvda2 14 509 3984120 8e Linux LVM
[root at domu4 ~]# fdisk -l
Disk /dev/xvda: 4194 MB, 4194304000 bytes
255 heads, 63 sectors/track, 509 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/xvda1 * 1 13 104391 83 Linux
/dev/xvda2 14 509 3984120 8e Linux LVM
Disk /dev/sda: 25.8 GB, 25803358208 bytes
64 heads, 32 sectors/track, 24608 cylinders
Units = cylinders of 2048 * 512 = 1048576 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 24608 25198576 83 Linux
Regards
MATSUDA, Daiki
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cib.xml
Type: text/xml
Size: 4753 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080116/81898cfc/cib.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: iscsi.start_wait.patch
Type: text/x-patch
Size: 727 bytes
Desc: not available
Url : http://lists.community.tummy.com/pipermail/linux-ha-dev/attachments/20080116/81898cfc/iscsi.start_wait.bin
More information about the Linux-HA-Dev
mailing list