tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

disklabel and solaris vtoc



Hi!

I have OpenSolaris with zfs on a secondary disk.

fdisk wd1:

Disk: /dev/rwd1d
NetBSD disklabel disk geometry:
cylinders: 484521, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 488397168

BIOS disk geometry:
cylinders: 1023, heads: 255, sectors/track: 63 (16065 sectors/cylinder)
total sectors: 488397168

Partition table:
0: Solaris boot partition (sysid 191)
    start 16065, size 488376000 (238465 MB, Cyls 1-30400), Active
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
First active partition: 0
Drive serial number: 1007341469 (0x3c0acf9d)


disklabel wd1:

# /dev/rwd1d:
type: ESDI
disk: WDC WD2500BEVS-6
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 484521
total sectors: 488397168
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

5 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
 d: 488397168         0     unused      0     0        # (Cyl.      0 -
484520)
 e: 488376000     16065    unknown                     # (Cyl.     15*-
484515*)
disklabel: boot block size 0
disklabel: super block size 0


fdisk recognizes the solaris boot partition.
disklabel does not know solaris vtoc and hence doesn't recognize the zfs
file system.

It would be cool if netbsd supports solaris vtoc as you could boot
solaris and netbsd from the same zpool someday then :)

Christoph



Home | Main Index | Thread Index | Old Index