<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><div><br><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">HI again!</font></div><div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br></font></div><div><font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2">I do have another question as well. See in the end.</font></div><br><font color="#990099">-----libvirt-users-bounces@redhat.com skrev: -----</font><div class="iNotesHistory" style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">Till: libvirt-users@redhat.com<br>Från: Johan Kragsterman <johan.kragsterman@capvert.se><br>Sänt av: libvirt-users-bounces@redhat.com<br>Datum: 2016-06-12 08:30<br>Ärende: [libvirt-users] vhba and storage pool creation<br><br><div><font face="Courier New,Courier,monospace" size="3">Hi!<br><br><br>Got a couple of storage questions here.<br><br>I'm a storage guy, running a new project, and just started with libvirt, but have been using qemu/kvm on other platforms before, as well as oVirt.<br><br>So, my questions here:<br><br>I started with creating a vhba, and that went fine, I could see it on the storage side logging in to the target with its wwn.<br><br>My next step would be to make it persistent, and then its this storage pool creation I've seen.<br><br>Though some things are not clear to me. This is what the xml file looks like in the documentation:<br><br><br><pool type='scsi'><br>      <name>poolvhba0</name><br>      <source><br>        <adapter type='fc_host' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/><br>      </source><br>      <target><br>        <path>/dev/disk/by-path</path><br>        <permissions><br>          <mode>0700</mode><br>          <owner>0</owner><br>          <group>0</group><br>        </permissions><br>      </target><br>    </pool><br><br><br><br>So there are a few of these things that are unclear to me:<br><br>* It seems like I should NOT configure a vhba in advance, but this is the process that will configure the vhba for me?<br>* It also seems like the wwnn and wwpn set here are the ones that the vhba will use, not the parent hba?<br>* There is an option of setting the parent here as well, which I will need for some resons, but it is unclear to me whether the wwnn and wwpn's are from the parent or the vhba? Looks like this in documentation:<br><br><source><br>      <adapter type='fc_host' parent='scsi_host5' wwnn='20000000c9831b4b' wwpn='10000000c9831b4b'/><br>    </source><br><br>* So, are these wwpn and wwnn's from parent or vhba?<br>* Lastly, the path: In the xml file it says /dev/disk/by-path...but I have no path...? Since I have not yet configured the vhba, I can not have a path? I can not map a lun to the vhba before I have a vhba...<br>Or should I create a non persistent vhba, map a lun to it, and then source that path, use the wwpn and wwnn from that vhba in the scsi pool creation???<br><br>That would make sense, but also be a bit complicated to use...<br><br><br><br><br>The other question regards multipath. These luns are provided by an Fc SAN, so they're of coarse multipath luns. How do I set the /dev/disk/by-path for these?</font></div><div><font face="Courier New,Courier,monospace" size="3">I've seen there are multipath pools, but these doesn't seem to be the right way to go...?<br><br><br><br><br>Best regards from/Med vänliga hälsningar från<br><br>Johan Kragsterman<br><br>Capvert<br><br><br>_______________________________________________<br>libvirt-users mailing list<br>libvirt-users@redhat.com<br><a href="https://www.redhat.com/mailman/listinfo/libvirt-users">https://www.redhat.com/mailman/listinfo/libvirt-users</a><br><br></font></div></johan.kragsterman@capvert.se></div></div><div></div></font>