Openfiler and XenServer Reconnection Issues

Openfiler and XenServer Reconnection Issues

If you are trying to use OpenFiler 2.3 as a storage repository for Citrix XenServer, you may run into a reconnection issue when you reboot OpenFiler.  Namely, you cannot reconnect your iSCSI data storage.
The problem has to do with OpenFiler scanning the volume created by XenServer in the iSCSI Volume Group.

How to fix?  This worked for me:

1. Comment this out in /etc/rc.sysinit:333-337

1 #       if [ -x /sbin/lvm.static ]; then
2 #               if /sbin/lvm.static vgscan –mknodes –ignorelockingfailure > /dev/null 2>&1 ; then
3 #                       action $”Setting up Logical Volume Management:” /sbin/lvm.static #                                vgchange -a y –ignorelockingfailure
4 #               fi
5 #       fi

2. Change in /etc/lvm/lvm.conf:53

1 filter = [ “r|/dev/dm-*|”, “r|/dev/VG_XenStorage*|”, “r|/dev/sr/iscsi|”, “a/.*/” ]

3.  Turn off AOE (ATA over Ethernet)

1 chkconfig aoe off

4. Restart and you should be good to go.

Credit goes to:

https://forums.openfiler.com/viewtopic.php?id=2280

Notes

Leave a Reply

Your email address will not be published. Required fields are marked *