Promise 20378

Heinz Mauelshagen mauelshagen at redhat.com
Mon Jan 31 11:07:18 UTC 2005


On Mon, Jan 31, 2005 at 12:16:00AM +0100, Beatrix Kiddo wrote:
> >Hrm, are you using dmraid and can provide further info ?
> >
> >"dmraid -V", "dmraid -r", "dmraid -ccc -s" are a good start to
> >see, if this is a principle issue or a known RAID set grouping logic 
> >flaw.
> 
> 
> Here's what I got:
> 
> # dmraid -V
> dmraid version:                 1.0.0-rc5f (2004.11.24)
> dmraid library version: 1.0.0-rc5f (2004.11.24)
> device-mapper version:  4.3.0
> 
> # dmraid -r
> /dev/hdc: pdc, "pdc_eccbhghhbh", striped, ok, 312581632 sectors, data@ 0

So only 1 out of 3 drives discovered.
And this is the one which doesn't need Promise metadata on it at all.

The other 2 the OS fails to access so far should have Promise metadata though.

> 
> # dmraid -ccc -s
> pdc_eccbhghhbh:312581632:128:striped:ok:0:1:0
> /dev/hdc:pdc:pdc_eccbhghhbh:striped:ok:312581632:0

Interesting:
a flaw in dmraid status settings it seems. That shouldn't say "ok",
unless your metadata raid.total_disks member contains 1 (see "dmraid -n"),
which is not to be expected :(

BTW: in case you want to get rid of the Promise metadata on hdc,
     run "dmraid -rE". Send the output (*.dat and *.offset files
     created in working directory) to me, please.

> 
> 
> 
> This is my hdc:
> 
> Disk /dev/hdc: 160.0 GB, 160041885696 bytes
> 255 heads, 63 sectors/track, 19457 cylinders
> Units = cylinders of 16065 * 512 = 8225280 bytes
> 
>  Device Boot      Start         End      Blocks   Id  System
> /dev/hdc1               1       17994   144536773+   c  W95 FAT32 (LBA)
> /dev/hdc2           17995       19457    11751547+   f  W95 Ext'd (LBA)
> /dev/hdc5           17995       19269    10241406   83  Linux
> /dev/hdc6           19270       19457     1510078+  82  Linux swap / 
> Solaris
> 
> 
> It is connect to the onboard standard IDE controller provided on my 
> board, according to
> the user's manual it's a via chip.
> 
> I've got two 120 gb drives connected to the onboard promise 20378 chip, 
> but they aren't
> recognized*. hde,hdf,hdg,hdh are not existent. modprobe sata_promise and 
> sata_via didn't
> work.

Hrm, sata_promise is the correct SATA driver for this chip but
I'ld expect /dev/sd namespace for it.

Please check the kernel log.

First you need to get access to the 2 drives on Linux, then we can
check if there's Promise metadata (presumaby you've set thme up using
the Promise BIOS) on them.

> 
> I'm using kernel 2.6.10.
> 
> Thanks for your help!
> 
> Achim
> *
> 
> 
> _______________________________________________
> Ataraid-list mailing list
> Ataraid-list at redhat.com
> https://www.redhat.com/mailman/listinfo/ataraid-list

-- 

Regards,
Heinz    -- The LVM Guy --

*** Software bugs are stupid.
    Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen                                 Red Hat GmbH
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen at RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-




More information about the Ataraid-list mailing list