Re: Assign external esata drive to KVM

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



On 10/20/2012 09:39 AM, Kanwar Ranbir Sandhu wrote:
> I added the entire drive as a second storage disk to the KVM. I used the
> disk's label (/dev/disk/by-label/backups) so that I wouldn't have to
> worry about the device name changing down the road.  When I booted up
> the KVM and listed the disks, I only saw "/dev/vdb". I was also
> expecting to see "/dev/vdb1".

Disks don't have labels, partitions do.  You don't see a partition in 
the KVM guest because the guest is trying to read a partition table from 
inside the partition that you're exporting.

Instead, use one of the IDs in /dev/disk/by-id.  You should see an ID 
that indicates the disk's model and serial number, which is usable for 
your purpose.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux