|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-users] XEN, FreeBSD domU, 3TB hard drive seen as 746GB
Hello,
I am running Debian stable as dom0 and FreeBSD 9.0 as domU. The machine does
not have VT-x, so it's running in paravirtualization.
This is the virtual machine configuration file:
name = "freebsd"
kernel = "/boot/kfreebsd-9.0-2-xen.gz"
extra = "vfs.root.mountfrom=ufs:/dev/ad0p2"
memory = 128
vif=[ 'bridge=xenbr0' ]
disk = [
"file:/var/xen/freebsd.img,hda,w",
"phy:/dev/sdb,sda,r"
]
I'm trying to "attach" an internal 3TB drive (/dev/sdb), but FreeBSD recognizes
it as 764436MB. This is what appears during the boot (FreeBSD shows it for
every hard drive, but in this case it reports the wrong size):
xbd1: 764436MB <Virtual Block Device> at device/vbd/2048 on
xenbusb_front0
xbd1: attaching as da0
It then complains that the GPT is corrupt, probably because it's only seeing
part of the drive:
GEOM: da0: corrupt or invalid GPT detected.
GEOM: da0: GPT rejected -- may not be recoverable.
Do you have any idea about how to fix it?
Thanks.
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxx
http://lists.xen.org/xen-users
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |