OpenSolaris

Printable Version Enter a New Search
Bug ID 6502219
Synopsis If SMI label exists, hal does not probe logical disks
State 3-Accepted (Yes, that is a problem)
Category:Subcategory utility:hal
Keywords SMI | hal | label | mount | usb
Responsible Engineer Artem Kachitchkin
Reported Against snv_53
Duplicate Of
Introduced In solaris_nevada
Commit to Fix
Fixed In
Release Fixed
Related Bugs
Submit Date 8-December-2006
Last Update Date 14-June-2007
Description
I have an external usb disk formatted as:

             Total disk size is 57231 cylinders
             Cylinder size is 2048 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1                 Ext Win95         1  28615    28615     50
          2                 Solaris2       28616  57230    28615     50 

Partition 1 has a fat-32 filesystem.
Partition 2 has an SMI label and slice 0 is a zfs pool.

# fstyp /dev/dsk/c4t0d0p1
pcfs
# fstyp /dev/dsk/c4t0d0s0
zfs 

If I insert this disk into my notebook running b53, I get the notice about not being able to mount the zfs pool (which I expect), but it does not notice the fat-32 partition, let alone mount it:

# rmmount -l
/dev/dsk/c4t0d0s0    rmdisk,rmdisk0,usb

Artem has discovered that if we place the zfs pool directly onto the p2 partition instead of an SMI label, everything works as expected:

# fstyp /dev/dsk/c2t0d0p1
pcfs
# fstyp /dev/dsk/c2t0d0p2
zfs
# rmmount -l
/dev/dsk/c2t0d0p0:1  rmdisk,rmdisk0,NONAME,/media/NONAME
/dev/dsk/c2t0d0s2    rmdisk,rmdisk0,lacie_p2

At this point he requested this bug be filed.
Work Around
Mount the partition manually.
Comments
N/A