NetBSD-Users archive

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

Re: mounting trouble



On Mon, Jan 21, 2013 at 12:50:22PM -0800, George Georgalis wrote:
> Hi -
> 
> I'm trying to mount this partition and having some issues.
> 
> mount_ffs gives me incorrect super block. I think this is ffs2 made
> with netbsd-5.
> 
> the below data comes from attaching the SATA drive to usb 2.0
> interface on netbsd 6.0,  Any ideas?
> 
> -George
> 
>  root@:/root disklabel sd0
> # /dev/rsd0d:
> type: ATAPI
> disk: 01FALS-00J7B
> label: fictitious
> flags:
> bytes/sector: 512
> sectors/track: 32
> tracks/cylinder: 64
> sectors/cylinder: 2048
> cylinders: 953869
> total sectors: 1953525165


Shouldn't this be 1953525168?


> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0           # microseconds
> track-to-track seek: 0  # microseconds
> drivedata: 0
> 
> 4 partitions:
> #        size    offset     fstype [fsize bsize cpg/sgs]
>  a: 1953525165         0     4.2BSD      0     0     0  # (Cyl.      0
> - 953869*)
>  d: 1953525165         0     unused      0     0        # (Cyl.      0
> - 953869*)
> disklabel: boot block size 0
> disklabel: super block size 0
> 
>  root@:/root file -s /dev/sd0a
> /dev/sd0a: x86 boot sector; partition 1: ID=0xa9, starthead 1,
> startsector 63, 1953525105 sectors, code offset 0xc0

This exceeds the size of the device, but seems correct for a typical 1TB
drive.  Is your USB bridge chip doing Bad Things?

        Jonathan Kollasch


Home | Main Index | Thread Index | Old Index