NetBSD-Users archive

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

Mounting OpenBSD-format hard disks on 5.0.2?



Hi, I have 2 USB external hard drives that were newfs-ed [no extra options] on an OpenBSD 4.4 system, that have worked fine for me on both OpenBSD and FreeBSD systems. I'm a newcomer to NetBSD, and can't get them mounted. Any ideas?

=======================================================================
...here's fdisk and disklabel output on NetBSD...

# /sbin/fdisk sd0 fdisk: Cannot determine the number of heads
Disk: /dev/rsd0d
NetBSD disklabel disk geometry:
cylinders: 16383, heads: 16, sectors/track: 63 (1008 sectors/cylinder)
total sectors: 234441648

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

Partition table:
0: OpenBSD (sysid 166)
   start 63, size 234436482 (114471 MB, Cyls 0-14592)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
No active partition.
Drive serial number: 3370420344 (0xc8e48878)

# /sbin/fdisk sd1
fdisk: Cannot determine the number of heads
Disk: /dev/rsd1d
NetBSD disklabel disk geometry:
cylinders: 500, heads: 8, sectors/track: 32 (256 sectors/cylinder)
total sectors: 625142448

BIOS disk geometry:
cylinders: 500, heads: 8, sectors/track: 32 (256 sectors/cylinder)
total sectors: 625142448

Partition table:
0: OpenBSD (sysid 166)
   start 63, size 625137282 (305243 MB, Cyls 0/1/32-2441942/6/1)
1: <UNUSED>
2: <UNUSED>
3: <UNUSED>
No active partition.
Drive serial number: 1632064897 (0x61475581)


# /sbin/disklabel sd0
# /dev/rsd0d:
type: SCSI
disk: HTS541612J9SA00
label: fictitious
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 16
sectors/cylinder: 1008
cylinders: 16383
total sectors: 234441648
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: 234441648 0 unused 0 0 # (Cyl. 0 - 232580) e: 234436482 63 unknown # (Cyl. 0*- 232575*)
disklabel: boot block size 0
disklabel: super block size 0

# /sbin/disklabel sd1
# /dev/rsd1d:
type: SCSI
disk: SCSI disk
label: 00BEVT-00ZCT0 flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 38913
total sectors: 625142448
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0           # microseconds
track-to-track seek: 0  # microseconds
drivedata: 0

16 partitions:
#        size    offset     fstype [fsize bsize cpg/sgs]
a: 625142448 0 4.2BSD 0 0 1 # (Cyl. 0 - 38913*) d: 625142448 0 unused 0 0 # (Cyl. 0 - 38913*)

==================================================================
...and here's fdisk and disklabel output for the same drives on OpenBSD...

[rcm@zombie(OpenBSD)]> fdisk sd0c
Disk: sd0c      geometry: 14593/255/63 [234441648 Sectors]
Offset: 0       Signature: 0xAA55
           Starting         Ending         LBA Info:
#: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
0: A6 0 1 1 - 14592 254 63 [ 63: 234436482 ] OpenBSD 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused ~
[rcm@zombie(OpenBSD)]> fdisk sd1c
Disk: sd1c      geometry: 38913/255/63 [625142448 Sectors]
Offset: 0       Signature: 0xAA55
           Starting         Ending         LBA Info:
#: id      C   H   S -      C   H   S [       start:        size ]
-------------------------------------------------------------------------------
0: A6 0 1 1 - 38912 254 63 [ 63: 625137282 ] OpenBSD 1: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 2: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused 3: 00 0 0 0 - 0 0 0 [ 0: 0 ] unused ~
[rcm@zombie(OpenBSD)]> disklabel sd0c
# /dev/rsd0c:
type: SCSI
disk: SCSI disk
label: HTS541612J9SA00
flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 14593
total sectors: 234441648
rpm: 3600
interleave: 1
boundstart: 63
boundend: 234436545
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
 a:        234436482               63  4.2BSD   2048 16384    1
c: 234441648 0 unused ~
[rcm@zombie(OpenBSD)]> disklabel sd1c
# /dev/rsd1c:
type: SCSI
disk: SCSI disk
label: 00BEVT-00ZCT0 flags:
bytes/sector: 512
sectors/track: 63
tracks/cylinder: 255
sectors/cylinder: 16065
cylinders: 38913
total sectors: 625142448
rpm: 3600
interleave: 1
boundstart: 63
boundend: 625137345
drivedata: 0

16 partitions:
#                size           offset  fstype [fsize bsize  cpg]
 a:        625137282               63  4.2BSD   2048 16384    1
c: 625142448 0 unused
--
Ron McDowell
San Antonio TX



Home | Main Index | Thread Index | Old Index