Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Installation - Getting started with Red Hat Linux
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
Configuring RAID 10 with RedHat ES 4 (64 bit)

Configuring RAID 10 with RedHat ES 4 (64 bit)

2005-05-18       - By Andy Mountford

 Back
Reply:     1     2     3  

Hi,

I am trying to configure an array of 12 disks in a RAID 10
configuration. All 12 disks are identical 146Gb drives.

First off, on each disk I created a single partition which spanned the
whole disk with a system id of 0xFD. After writing the partition
table, a print confirmed all looked good.

Secondly, I used mdadm to create 6 RAID 1 pairs. (mirrored).

mdadm --create /dev/md0 --level=1 -n 2 /dev/sda /dev/sdb
mdadm --create /dev/md1 --level=1 -n 2 /dev/sdc /dev/sdd
mdadm --create /dev/md2 --level=1 -n 2 /dev/sde /dev/sdf
mdadm --create /dev/md3 --level=1 -n 2 /dev/sdg /dev/sdh
mdadm --create /dev/md4 --level=1 -n 2 /dev/sdi /dev/sdj
mdadm --create /dev/md5 --level=1 -n 2 /dev/sdk /dev/sdl

cat /proc/mdstat showed the devices syncing. Once this had completed I
created a final meta device which striped the RAID1 meta devices. e.g.

mdadm --create /dev/md6 --level 0 -n 6 /dev/md0 dev/md1 dev/md2
dev/md3 dev/md4 dev/md5

I could then create a filesystem on the new array and mount it - all
looked good. However, 2 things concerned me:

1. After creating the RAID array, the partition table for all the
disks involved was empty and an fdisk returned:

"Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)"

What's going on here?

2. How can I get the array to come up after a reboot? What needs to be
done? Do I need an rc script that runs mdadm?

Thanks,

Andy

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@(protected)?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

Earn $52 per hosting referral at Lunarpages.