Re: [CentOS] Assign external esata drive to KVM

2012-10-26 Thread Kanwar Ranbir Sandhu
On Sun, 2012-10-21 at 17:32 -0700, Gordon Messmer wrote: 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. Doh! I should have known that. Instead, use

Re: [CentOS] Assign external esata drive to KVM

2012-10-21 Thread Giorgio Bersano
2012/10/20 Kanwar Ranbir Sandhu m3fr...@thesandhufamily.ca Hello Everyone, I have a CentOS 6.3 host running a few KVMs. One of them is a CentOS 6.3 KVM that I want to use for making backups with BackupPC. What I'm having a problem with is assigning the KVM an external drive. I used to

Re: [CentOS] Assign external esata drive to KVM

2012-10-21 Thread Gordon Messmer
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,

[CentOS] Assign external esata drive to KVM

2012-10-20 Thread Kanwar Ranbir Sandhu
Hello Everyone, I have a CentOS 6.3 host running a few KVMs. One of them is a CentOS 6.3 KVM that I want to use for making backups with BackupPC. What I'm having a problem with is assigning the KVM an external drive. I used to run BackupPC on an Ubuntu box. The backups went to an external

Re: [CentOS] Assign external esata drive to KVM

2012-10-20 Thread Banyan He
You can try sfdisk or use the other utility to see if the tag is able to recognized. The problem here you have is the partition table is corrupted as you can find your hardware path but no partition can be found. Or, you can use fdisk to reformat the disk again, this would work as well. There