KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

Hiya

Im running FreeNas on a KVM guest. I need to add (attach) a virtual drive.

I run:
qemu-img create -f qcow2 morespace.img 10G

virsh:
attach-disk freenas /space/morespace.img vdb

I restart the FreeNas guest, but the spare drive is not shown on 'gpart list or 
show'

To make extra sure, I did the same steps for a Debian guest. The attached drive 
is available.

So I can only assume this is a FreeBSD issue.

Anyone know how to attach a drive to a FreeBsD KVM guest?

Kind Regards
Brent Clark
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: KVM attach drive to FreeBSD guest

2012-07-17 Thread Brent Clark

On 17/07/2012 13:58, Brent Clark wrote:

virsh:
attach-disk freenas /space/morespace.img vdb


Hiya

After much googling, I found the following on libvirt mailinglist 
(http://www.redhat.com/archives/libvir-list/2009-November/msg00796.html)

So the command is

virsh: attach-disk freenas /space/morespace.img sdb (as opposed to vdb)

HTH

Regards
Brent Clark


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org