Re: Refreshing Storage Pool

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/10/2014 11:33 AM, Ritchie P. Fraser wrote:
> Hello,
> 
>  
> 
> I am having issues getting KVM / QEMU / libvirt refreshing one of my storage
> pools.
> 
>  
> 
> I have SAN storage volumes connected through multipath iscsi on the host in
> /dev/mapper - All GOOD so far
> 
>  
> 
>                 $ ls -l /dev/mapper
> 
>  
> 
>                 total 0
> 
>                 crw------- 1 root root 10, 236 Feb 20 17:31 control
> 
>                 lrwxrwxrwx 1 root root       8 Mar 10 13:24 mpath-a -> ../dm-5
> 
>                 lrwxrwxrwx 1 root root       8 Mar 10 13:24 mpath-b -> ../dm-4
> 
>                 lrwxrwxrwx 1 root root       8 Mar 10 13:24 mpath-c -> ../dm-2
> 
>                 lrwxrwxrwx 1 root root       8 Mar 10 13:24 mpath-d -> ../dm-11
> 
>  
> 
> I list the storage pools on the KVM / QEMU / visrh host ...
> 
>  
> 
>                 $ virsh pool-list
> 
>  
> 
>                 Name                 State      Autostart
> 
>                 -----------------------------------------
> 
>                 archive              active     yes
> 
>                 multipath_iscsi      active     yes
> 
>  
> 
> ... and then list the volumes in the multipath_iscsi storage pool ...
> 
>  
> 
>                 $ virsh vol-list multipath_iscsi
> 
>                
> 
>                 Name                 Path
> 
>                 -----------------------------------------
> 
>                 dm-5                 /dev/mapper/mpath-a
> 
>                 dm-4                 /dev/mapper/mpath-b
> 
>                 dm-2                 /dev/mapper/mpath-c
> 
>  
> 
> I see thet my NEW SAN volume does not show up in the listed volumes, so I
> refresh the storage pool and re-list ...
> 
>  
> 
>                 $ virsh pool-refresh multipath_iscsi
> 
>                 $ virsh vol-list multipath_iscsi
> 
>                
> 
>                 Name                 Path
> 
>                 -----------------------------------------
> 
>                 dm-5                 /dev/mapper/mpath-a
> 
>                 dm-4                 /dev/mapper/mpath-b
> 
>                 dm-2                 /dev/mapper/mpath-c
> 
>  
> 
> Uh Oh!, No new volume listed in the storage pool
> 
>  
> 
> *Is there anything else I should be doing?*
> 
>  
> 
> The host is seeing the additional multipath iscsi volume so, there is nothing
> wrong with the volume, iscsi, multipath setup… I just can 't get virsh to "add
> it to the storage pool"
> 
>  

Please provide your distro + version, and libvirt version.

If you restart libvirt, does it notice the new storage volume?

- Cole

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list





[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux