----- Original Message ----- > > Hi and thanks, Dan! > > > -----Yuan Dan <dyuan@xxxxxxxxxx> skrev: ----- > Till: Johan Kragsterman <johan.kragsterman@xxxxxxxxxx> > Från: Yuan Dan <dyuan@xxxxxxxxxx> > Datum: 2016-08-22 10:43 > Kopia: libvirt-users@xxxxxxxxxx > Ärende: Re: attaching storage pool error > > > ----- Original Message ----- > > Hi! > > > > > > System centos7, system default libvirt version. > > > > I've succeeded to create an npiv storage pool, which I could start without > > problems. Though I couldn't attach it to the vm, it throwed errors when > > trying. I want to boot from it, so I need it working from start. I read one > > of Daniel Berrange's old(2010) blogs about attaching an iScsi pool, and > > draw > > my conclusions from that. Other documentation I haven't found. Someone can > > point me to a more recent documentation of this? > > > > Are there other mailing list in the libvirt/KVM communities that are more > > focused on storage? I'd like to know about these, if so, since I'm a > > storage > > guy, and fiddle around a lot with these things... > > > > There are quite a few things I'd like to know about, that I doubt this list > > cares about, or have knowledge about, like multipath devices/pools, > > virtio-scsi in combination with npiv-storagepool, etc. > > > > So anyone that can point me further....? > > http://libvirt.org/formatstorage.html > https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Virtualization_Deployment_and_Administration_Guide/sect-NPIV_storage.html > > Hope it can help you to get start with it. > > > Unfortunatly I have already gone through these documents, several times as > well, but these are only about the creation of storage pools, not how you > attach them to the guest. If the pool is ready, here are kinds of examples http://libvirt.org/formatdomain.html#elementsDisks you can use it in guest like this: <disk type='volume' device='disk'> <driver name='qemu' type='raw'/> <source pool='iscsi-pool' volume='unit:0:0:1' mode='host'/> <auth username='myuser'> <secret type='iscsi' usage='libvirtiscsi'/> </auth> <target dev='vdb' bus='virtio'/> </disk> > > Do I attach a storage pool as a disk. Like: -drive pool="pool-name", and if > so, how do I do with index numbering, since the pool can hold several LUN's? > Perhaps the code takes care of the indexing, since the LU's got numbers...? > > Or do I have to attach every LU in the pool individually? With their own > index number? > > Rgrds Johan > > > > > > > > Rgrds Johan > > > > > > _______________________________________________ > > libvirt-users mailing list > > libvirt-users@xxxxxxxxxx > > https://www.redhat.com/mailman/listinfo/libvirt-users > > > > > > > > > > _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users