Firstly, I apologise for the length of this post but, I'm trying to provide
as much info. as possible.

I have two (almost) identical drives, on different controllers, in a server
appliance. I would like to set them up as several RAID 1 partitions. The
only difference in the drives is that one has a 1024kB cache and the other a
512kB cache.

My first problem is that when I try to fdisk the second drive, I end up with
inconsistent results (see following);

*******************************************dmesg output:

ALI15X3: IDE controller on PCI bus 00 dev 78
ALI15X3: 100% native mode on irq 14
ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdc:DMA, hdd:DMA
hda: ST320413A, ATA DISK drive
hdc: ST320413A, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
ALI15X3: Ultra DMA enabled
hda: ST320413A, 19092MB w/1024kB Cache, CHS=38792/16/63, (U)DMA
ALI15X3: Ultra DMA enabled
hdc: ST320413A, 19092MB w/512kB Cache, CHS=38792/16/63, (U)DMA
md driver 0.90.0 MAX_MD_DEVS=256, MAX_REAL=12
translucent personality registered
linear personality registered
raid0 personality registered
raid1 personality registered
raid5 personality registered
raid5: measuring checksumming speed
raid5: MMX detected, trying high-speed MMX checksum routines
pII_mmx : 972.312 MB/sec
p5_mmx : 931.926 MB/sec
8regs : 656.082 MB/sec
32regs : 414.909 MB/sec
using fastest function: pII_mmx (972.312 MB/sec)

*******************************************and later:

md.c: sizeof(mdp_super_t) = 4096
Partition check:
hda: hda1 hda2 < hda5 hda6 > hda3 hda4
hdc: unknown partition table
autodetecting RAID arrays
autorun ...
... autorun DONE.

*******************************************output of fdisk /dev/hda :

Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 1 1524 768095+ 83 Linux
/dev/hda2 1525 1846 162288 5 Extended
/dev/hda3 1847 2253 205128 83 Linux
/dev/hda4 2254 38792 18415656 83 Linux
/dev/hda5 1525 1585 30743+ 83 Linux
/dev/hda6 1586 1846 131543+ 82 Linux swap

*******************************************and in expert mode :

Disk /dev/hda: 16 heads, 63 sectors, 38792 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 0 2 0 15 63 1023 1 1536191 83
2 00 15 63 1023 15 63 1023 1536192 324576 05
3 00 15 63 1023 15 63 1023 1860768 410256 83
4 00 15 63 1023 15 63 1023 2271024 36831312 83
5 00 15 63 1023 15 63 1023 1 61487 83
6 00 15 63 1023 15 63 1023 1 263087 82

*******************************************output of fdisk /dev/hdc :

Disk /dev/hdc: 16 heads, 63 sectors, 38792 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 1 1524 768064+ 83 Linux
/dev/hdc2 1525 1846 162288 5 Extended
/dev/hdc3 1847 2253 205128 83 Linux
/dev/hdc4 2254 38792 18415656 83 Linux
/dev/hdc5 1525 1585 30712+ 83 Linux
/dev/hdc6 1586 1846 131512+ 82 Linux swap

*******************************************and in expert mode :

Disk /dev/hdc: 16 heads, 63 sectors, 38792 cylinders
Nr AF Hd Sec Cyl Hd Sec Cyl Start Size ID
1 00 1 1 0 15 63 1023 63 1536129 83
2 00 15 63 1023 15 63 1023 1536192 324576 05
3 00 15 63 1023 15 63 1023 1860768 410256 83
4 00 15 63 1023 15 63 1023 2271024 36831312 83
5 00 15 63 1023 15 63 1023 63 61425 83
6 00 15 63 1023 15 63 1023 63 263025 82

******************************************* NOTE the discrepencies in the Hd
and Sec values for the first partition.

My questions are two;

1: How can I get the partition tables identical?

2: Once this is achieved, can I then set up RAID 1 ala the Software-RAID
HOWTO? Or is there a better way?

All input cheerfully and gratefully accepted :-)

Once again, my apologies for the length of the post.

Brad Hubbard
Congo Systems
12 Northgate Drive,
Thomastown, Victoria, Australia 3074
Email: [EMAIL PROTECTED]
Ph: +61-3-94645981
Fax: +61-3-94645982
Mob: +61-419107559

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to [EMAIL PROTECTED]

Reply via email to