You are (or SVM is) probably reusing old data stored at the beginning of
the volume, and here this happens to be a valid disk label for a 100MB disk.
So try to remove that disk label:

  # dd if=/dev/zero of=/dev/rdsk/c0d2s2 count=1

  Or same command from the control domain with of=your SVM volume

alex.


Octave Orgeron wrote:
> I have a system running with update 4 and the 127127-11 KU patch. I've 
> created both SVM and ZFS volumes and turned them into vdsdevs with no 
> options. So they should be presented as whole disks. However, this is what 
> I'm seeing in the guest domain:
> 
> # format
> Searching for disks...done
> 
> 
> AVAILABLE DISK SELECTIONS:
>        0. c0d0 <DGC-RAID5-0219 cyl 32766 alt 2 hd 64 sec 10>
>           /virtual-devices at 100/channel-devices at 200/disk at 0
>        1. c0d1 <DGC-RAID5-0219 cyl 32766 alt 2 hd 64 sec 10>
>           /virtual-devices at 100/channel-devices at 200/disk at 1
>        2. c0d2 <SUN-DiskImage-100MB cyl 339 alt 2 hd 1 sec 600>
>           /virtual-devices at 100/channel-devices at 200/disk at 2
>        3. c0d3 <SUN-DiskImage-20GB cyl 4367 alt 2 hd 1 sec 9600>
>           /virtual-devices at 100/channel-devices at 200/disk at 3
> Specify disk (enter its number): ^D
> 
> The c0d2 is a 6GB SVM soft partition, so the label is totally wrong. I've 
> tried this with different sized SVM volumes, no go. However, c0d3, which is a 
> ZFS 20G volume has the correct label. Is there an issue with SVM volumes and 
> VDS? I also noticed that if I don't use a SVM soft parition, it doesn't work 
> at all.. I end up seeing one of the underline disks in the meta device, not 
> the volume. Any ideas? Are there any recommended patches other than the 
> 127127-11 for u4?
> 
> Thanks again!
> 
> Octave
> --
> This message was posted from opensolaris.org
> _______________________________________________
> ldoms-discuss mailing list
> ldoms-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/ldoms-discuss

Reply via email to