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

Mounting FAT32 120GB partition



Hello,

I'm having problems mounting and external Maxtor HHD. Here are all the
juicy details (sorry for the long email).


I have a Maxtor 3000LE 120GB USB2.0 (USB 1.1 backward compatible) external
drive. When attached to a Windows box and with PartionMagic 7, the disk
appears as 1 big 117GB FAT32 (code 0x0C) partition.

I try to attach the disk to a Compaq Pentium running OpenBSD 2.9.
The drive is recognized during the boot sequence, as shown here by 'dmesg' :

   umass0 at uhub0 port 1 configuration 2 interface 0
   umass0: Maxtor Maxtor USB Drive, rev 2.00/3.01, addr 2
   umass0: using SCSI over BBB-P
   scsibus1 at umass0: 2 targets
   sd0 at scsibus1 targ 1 lun 0: <Maxtor 4, G120J6, GAK8> SCSI0 0/direct fixed
   sd0: could not mode sense (4/5); using fictitious geometry
   sd0: 117246MB, 117246 cyl, 64 head, 32 sec, 512 bytes/sec, 240121728 sec total
   sd0: could not mode sense (4/5); using fictitious geometry


Here is the output from 'disklabel' :

   # disklabel sd0
   # /dev/rsd0c:
   type: SCSI
   disk: SCSI disk
   label: G120J6         
   flags:
   bytes/sector: 512
   sectors/track: 32
   tracks/cylinder: 64
   sectors/cylinder: 2048
   cylinders: 117246
   total sectors: 240121728
   rpm: 3600
   interleave: 1
   trackskew: 0
   cylinderskew: 0
   headswitch: 0           # microseconds
   track-to-track seek: 0  # microseconds
   drivedata: 0 

   3 partitions:
   #        size   offset    fstype   [fsize bsize   cpg]
   c: 240121728        0    unused        0     0        # (Cyl.    0 - 117246*)


So far, so good ... almost ... Size seems to be recognized .... but
fstype is unknown :-( But here is the output from 'fdisk' :

   fdisk: sysctl: Device not configured
   Disk: sd0       geometry: 117246/64/32 [240121728 sectors]
   Offset: 0       Signatures: 0xDFBF,0x0
            Starting        Ending
    #: id  cyl  hd sec -   cyl  hd sec [     start -       size]
   -------------------------------------------------------------------------
    0: 00    0   0   1 - -367232   0   0 [         0 - -752091136] unused      
    1: 00   27  61  32 - -367204  -2  -1 [     57279 - -752091136] unused      
    2: 00   27  61  32 -    27  61  31 [     57279 -          0] unused      
    3: 00   32   0   1 - -326112   0   0 [     65536 - -667942912] unused      

I'm really confused by that output : id's are 00, negative offsets .... :-(
Furthermore, if I use 'fdisk -e' and then 'print' I get the following output:

   fdisk: sysctl: Device not configured
   Only LBA values are valid in ending cylinder for partition #3.
   Enter 'help' for information
   fdisk: 1> print
   Disk: sd0       geometry: 117246/64/32 [240121728 sectors]
   Offset: 0       Signatures: 0x0,0x3
            Starting        Ending
    #: id  cyl  hd sec -   cyl  hd sec [     start -       size]
   -------------------------------------------------------------------------
    0: BF -329088   0   1 - -678308  -2  -1 [-673972224 - -715202625] <Unknown ID>
    1: 00    0   0   1 -     0   0   0 [         0 -          0] unused      
    2: BF   96   0   1 -   127  63  32 [    196608 -      65536] <Unknown ID>
    3: BF   96   0   1 -   127  63  32 [    196608 -      65536] <Unknown ID>

Notice how id's are 'BF' and the cyl/hd/sec values are different.


Now, when I try to mount that drive, I get the following error :
# mount -t msdos /dev/rsd0c /tmp/Maxtor
mount_msdos: /dev/rsd0c on /tmp/Maxtor: Block device required


I also noticed that pretty much all operations ('disklabel', 'fdisk',
'mount') generate the following output in the log:

   sd0: could not mode sense (4/5); using fictitious geometry
   sd0(umass0:1:0): Check Condition on opcode 0x8
      SENSE KEY: Illegal Request
      ASC/ASCQ: Invalid Command Operation Code


Let me know if you need any further details to help me solve this problem.

Sincerely,


--
/Doc - 3rd Millennium, Inc. - Life Science Technologies - 617 441 3030
Never forget : 2+2=5 for extremely large values of 2.



Visit your host, monkey.org