Fw: Re: pdc metadata not detected on one older drive

James Olson big_spender12 at lycos.com
Fri Apr 21 07:09:05 UTC 2006


 Hi,
I studied the difference in the offset of the Fujitsu drive and I think I have figured out why it's different from the other 2 drives.  The other 2 drives have the same size in sectors in both CHS and LBA addressing modes.  However,the Fujitsu drive has
        CHS current addressable sectors:    6834240
        LBA    user addressable sectors:    6835952
so I think that the Promise controller was using the drives in CHS mode and linux is using the drives in LBA mode.  Thus all of the pdc metadata has the usual 63 sector offset but the difference 1775 - 63 = 1712 which is also the difference between LBA (6835952) minus CHS (6834240) sizes of the drive.  So a better update to dmraid pdc metadata finding would probably involve having it use the sector size in CHS mode to find the metadata, for those older drives where the CHS and LBA sizes might be different from one another.
   -James
----- Original Message -----

From: "James Olson" <big_spender12 at lycos.com>
To: mauelshagen at redhat.com, "ATARAID (eg, Promise Fasttrak, Highpoint 370) related discussions" <ataraid-list at redhat.com>
Subject: Re: pdc metadata not detected on one older drive
Date: Thu, 20 Apr 2006 18:27:33 -0500


   Hi Heinz,
I used dd looked at what was in the last 2048 sectors of my fujitsu drive and determined that 
the promise metadata was on a new offset 1775 sectors from the end of the disk.  I edited pdc.h 
to include the new offset and recompiled and now it works.  Smiles!
    -James

--- pdc.h.orig  2006-02-10 07:01:42.000000000 -0800
+++ pdc.h       2006-04-20 16:13:43.000000000 -0700
@@ -13,7 +13,7 @@

  #include <stdint.h>

-#define PDC_CONFIGOFFSETS      63,255,256,16,399,735
+#define PDC_CONFIGOFFSETS      63,255,256,16,399,735,1775
  #define        PDC_DATAOFFSET 0

  /* Ondisk metadata for Promise Fastrack */

> ----- Original Message -----
> From: "Heinz Mauelshagen" <mauelshagen at redhat.com>
> To: "ATARAID (eg, Promise Fasttrak,  Highpoint 370) related discussions" 
> <ataraid-list at redhat.com>
> Subject: Re: pdc metadata not detected on one older drive
> Date: Wed, 19 Apr 2006 14:00:04 +0200
>
>
> On Wed, Apr 19, 2006 at 02:23:58AM -0500, James Olson wrote:
> >   Hi Heinz,
>
> Hi James,
>
> please use
>
> dmraid -rD ; tar jcvf pdc-James_Olson-raid0.tar.bz2 *.{dat,offset,size}
>
> and send me the tarball.
>
> Regards,
> Heinz
>
>
> > I created a 3 drive stripe on a promise fasttrak pdc20262 controller (they worked on sil 680 
> > before with dmraid) but it isn't finding the metadata on my fujitsu drive.  Can you post the 
> > command for me to send you the pdc metadata on it?
> >   -James
> > dmraid -r
> > /dev/hde: pdc, "pdc_cgcbfeei", stripe, ok, 6346305 sectors, data@ 0
> > /dev/hdg: pdc, "pdc_cgcbfeei", stripe, ok, 6346305 sectors, data@ 0
> >
> > Here are the drive's information from the kernel log:
> >
> > Probing IDE interface ide2...
> > hde: WDC AC23200L, ATA DISK drive
> > hdf: FUJITSU MPA3035ATU, ATA DISK drive
> > ide2 at 0xdc00-0xdc07,0xe002 on irq 11
> > Probing IDE interface ide3...
> > hdg: IBM-DAQA-33240, ATA DISK drive
> >
> > hde: max request size: 128KiB
> > hde: 6346368 sectors (3249 MB) w/256KiB Cache, CHS=6296/16/63, UDMA(33)
> > hde: cache flushes not supported
> >  hde: hde1
> > hdf: max request size: 128KiB
> > hdf: 6835952 sectors (3500 MB), CHS=6781/16/63, UDMA(33)
> >  hdf: hdf1
> > hdg: max request size: 128KiB
> > hdg: 6346368 sectors (3249 MB) w/96KiB Cache, CHS=6296/16/63, DMA
> > hdg: cache flushes not supported
> >  hdg: hdg1
> >
> >
> > -- _______________________________________________
> >
> > Search for businesses by name, location, or phone number.  -Lycos Yellow Pages
> >
> > http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10
> >
> >
> > _______________________________________________
> > Ataraid-list mailing list
> > Ataraid-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/ataraid-list
>
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> Heinz Mauelshagen                                 Red Hat GmbH
> Consulting Development Engineer                   Am Sonnenhang 11
> Storage Development                               56242 Marienrachdorf
>                                                    Germany
> Mauelshagen at RedHat.com                            PHONE +49  171 7803392
>                                                    FAX   +49 2626 924446
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
>
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

>


--
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10


-- 
_______________________________________________

Search for businesses by name, location, or phone number.  -Lycos Yellow Pages

http://r.lycos.com/r/yp_emailfooter/http://yellowpages.lycos.com/default.asp?SRC=lycos10





More information about the Ataraid-list mailing list