> I checked lshal output, this is what I get:
...
> volume.partition.start = 286099946496   (0x429ce2bc00)  (uint64)

Hmm, that should be the number of the first sector of the fdisk
partition.  But the number looks bogus, unless this is a 
drive with a capacity of >133TB.    :-)

> volume.partition.scheme = 'mbr'  (string)

It's using an fdisk label...

> volume.size = 0  (0x0)  (uint64)
> volume.block_size = 512  (0x200)  (int)
> volume.partition.number = 2  (0x2)  (int)

Here we have the wrong fdisk partition 2, too.

> block.solaris.slice = 'p0:2'  (string)
> block.solaris.raw_device = '/dev/rdsk/c1t0d0p0:2'  (string)
> block.device = '/dev/dsk/c1t0d0p0:2'  (string)

> Indeed, as you suspected, it shows block.solaris.slice as p0:2.
> 
> Any idea on how to correct this?

Not yet.  The code that probes for storage devices and filesystem
volumes is hald's probe-storage.c / probe-volume.c:

http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/probing/storage/probe-storage.c#main
http://src.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/hal/probing/volume/probe-volume.c#main


What information can be found in the disk's fdisk partition table?

Check with:

   fdisk -R -W - /dev/rdsk/c1t0d0p0
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to