Uwe Bartels wrote:
Hi,
I have problems setting up san volumes in a xen guest.
We are running the xen on opensolaris SunOS node2 5.11 snv_127 i86pc
i386 i86xpv.
The Xen guest itself is Solaris 10: SunOS pgbackup 5.10
Generic_141445-09 i86pc i386 i86pc
In the past we were running an older solaris version with solaris zones
on: SunOS node138 5.10 Generic_139556-08 i86pc i386 i86pc
here new san volumes we automaticly detected and I simply used zpool to
create the zpools.
Now with opensolaris+xen and solaris sol10u8x86 in the xen guest I am
experiencing the following behaviors/problems:
1. i am not able to create zpools on a fresh create volume. i have to
run devfsadm first. this is not too bad and deterministic.
2. i am not able to create a zpool in the xen guest. before i treid this
i run 'devfsadm -c disk'
3. when i create a zpool on another machine with an older solaris 10
release, i am sometimes able to import that pool. but this is not always
the case.
global: r...@node2:~ > echo
60:0A:0B:80:00:29:D6:9A:00:00:14:BF:4B:20:42:C3|tr -d :
600A0B800029D69A000014BF4B2042C3
global: r...@node2:~ > devfsadm -c disk -v
global: r...@node2:~ > file /dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0
/dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0: cannot open: No such
file or directory
global: r...@node2:~ > zpool create pgbackup1b
c0t600A0B800029D69A000014BF4B2042C3d0
global: r...@node2:~ > file
/dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0
/dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0: block special (85/3975)
global: r...@node2:~ > zpool destroy pgbackup1b
global: r...@node2:~ > virsh attach-disk pgbackup
/dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0 hdb
Disk attached successfully
Can you try using p0 to give the entire disk to the guest?
e.g. c0t*d0p0
virsh attach-disk pgbackup /dev/dsk/c0t600A0B800029D69A000014BF4B2042C3d0p0 hdb
Thanks,
MRJ
_______________________________________________
xen-discuss mailing list
xen-discuss@opensolaris.org