multipath device question
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi! Let me please start with apology for using the development list to ask rather end-user question. I am looking for help with multipath setup. I have a few servers connected to a ibm storage. Two servers have two qlogic HBAs each. On the first server was created a multipath device out of all 4 scsi devices/paths. On the second server it is possible to assemble the same mp device and attach it without problems (there is the gfs).
However, the third server I would like to connect to the storage has just one HBA. It's only 1U format and I cannot add anything to it. And moreover, the visible storage scsi device order there is different.
As I know the mdadm that I used to create the multipath device writes to the superblock an information about the array, I would like to find out how much the multipath implementation in the kernel depends on this information. Would it be a problem to connect the third server to the storage by assembling the multipath device out of just two scsi devices/paths instead of four and in addition using scsi devices with diferrent minor/major numbers?
As I do really doubt that, is there any way how to connect the third server using the multipath setup?
Thank you very much for your help. I could get the answers by testing, but these are production servers with terrabytes of data and I cannot really stop them now for more then just a few minutes.
Stanislav Polasek
- --
#--#--#--#--#--#--#--#--#--#--
Stanislav Polasek
RHCE #804005251615651 / RHCX
LinWorx s.r.o.
[email protected] / www.linworx.cz
#--#--#--#--#--#--#--#--#--#--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFD7TNJN6fiEWfPEr8RAoMNAJ9rBRXd9bq66Dmo67sYhJLauDo14wCfQwgs liIXlFWR8N1E6l9gJiF8EjQ=
=3t6R
-----END PGP SIGNATURE-----
Quoted 23 lines · Stanislav Polášek
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi! Let me please start with apology for using the development list to ask rather end-user question. I am looking for help with multipath setup. I have a few servers connected to a ibm storage. Two servers have two qlogic HBAs each. On the first server was created a multipath device out of all 4 scsi devices/paths. On the second server it is possible to assemble the same mp device and attach it without problems (there is the gfs).
However, the third server I would like to connect to the storage has just one HBA. It's only 1U format and I cannot add anything to it. And moreover, the visible storage scsi device order there is different.
As I know the mdadm that I used to create the multipath device writes to the superblock an information about the array, I would like to find out how much the multipath implementation in the kernel depends on this information. Would it be a problem to connect the third server to the storage by assembling the multipath device out of just two scsi devices/paths instead of four and in addition using scsi devices with diferrent minor/major numbers?
Quoted 8 lines
As I do really doubt that, is there any way how to connect the third server using the multipath setup?
Thank you very much for your help. I could get the answers by testing, but these are production servers with terrabytes of data and I cannot really stop them now for more then just a few minutes.
Stanislav Polasek
Hello,
DM multipathing is all automatic, it does not write any information to the disk, it is completely nodal specific. If you have different multipathing setup for each node, or nodes that aren't multipathed, dm multipathing will figure everything out by itself. You will have to keep in mind that in order to add a node to an existing two node GFS6.1 cluster you will have to bring the cluster down because of the special two node option. After you have more than two nodes you can add nodes without rebooting the cluster. Thank you,
Josef
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 45 lines · Josef Whiter
Quoted 23 lines · Stanislav Polášek
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi! Let me please start with apology for using the development list to ask rather end-user question. I am looking for help with multipath setup. I have a few servers connected to a ibm storage. Two servers have two qlogic HBAs each. On the first server was created a multipath device out of all 4 scsi devices/paths. On the second server it is possible to assemble the same mp device and attach it without problems (there is the gfs).
However, the third server I would like to connect to the storage has just one HBA. It's only 1U format and I cannot add anything to it. And moreover, the visible storage scsi device order there is different.
As I know the mdadm that I used to create the multipath device writes to the superblock an information about the array, I would like to find out how much the multipath implementation in the kernel depends on this information. Would it be a problem to connect the third server to the storage by assembling the multipath device out of just two scsi devices/paths instead of four and in addition using scsi devices with diferrent minor/major numbers?
Quoted 8 lines
As I do really doubt that, is there any way how to connect the third server using the multipath setup?
Thank you very much for your help. I could get the answers by testing, but these are production servers with terrabytes of data and I cannot really stop them now for more then just a few minutes.
Stanislav Polasek
Hello,
DM multipathing is all automatic, it does not write any information to the disk, it is completely nodal specific. If you have different multipathing setup for each node, or nodes that aren't multipathed, dm multipathing will figure everything out by itself. You will have to keep in mind that in order to add a node to an existing two node GFS6.1 cluster you will have to bring the cluster down because of the special two node option. After you have more than two nodes you can add nodes without rebooting the cluster. Thank you,
Quoted 6 lines
Josef
--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel
Thank you very much for the answer. Would that mean the dm-multipath on one machine would happily coexist with the md-multipath on the other two machines? The setup of first two servers was done by the vendor and they did it the MD way. But, as I suspect, the md-multipath uses the superblocks to store info about the multipath array, so it seems to be dangerous to have different MD configuration on different machines conected to the same target drive.
Thank you again.
st.
- --
#--#--#--#--#--#--#--#--#--#--
Stanislav Polasek
RHCE #804005251615651 / RHCX
LinWorx s.r.o.
[email protected] / www.linworx.cz
#--#--#--#--#--#--#--#--#--#--
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
iD8DBQFD7fnGN6fiEWfPEr8RAsGTAJ0RDoU4B1LvQ0EPIUwKu/Y3oQ7utgCfQsiN UkMXB2dM7ubpJ09MLKTjBJg=
=wPQ7
-----END PGP SIGNATURE-----
Quoted 8 lines
Thank you very much for the answer. Would that mean the dm-multipath on one machine would happily coexist with the md-multipath on the other two machines? The setup of first two servers was done by the vendor and they did it the MD way. But, as I suspect, the md-multipath uses the superblocks to store info about the multipath array, so it seems to be dangerous to have different MD configuration on different machines conected to the same target drive.
MD multipathing is not cluster aware, so you are going to want to rip that out of there and exclusively use dm multipathing. Using md devices on a cluster will lead to file system corruption. Thank you,
Josef