Ross S. W. Walker
2007-Aug-29 20:38 UTC
[CentOS] RE: Setting up RAID using mdadm on a proliant DL320 G4
> From: centos-bounces at centos.org > [mailto:centos-bounces at centos.org] On Behalf Of > israel.garcia at cimex.com.cu > > Hi, I have a new server HP proliant DL320 G4, with two 160 > GB SATA hdds.. I have installed CentOS 4.5 with mdadm > without any problem, but when I disconnect one disk the > server does not boot or I received a kernel panic when > booting... I have disabled the SATA embeded raid (BIOS) and > nothing.. I've also download the driver from HP site HP > (Embedded SATA RAID Controller Driver Diskette for Red Hat > Enterprise Linux 4 (x86)). and nothing it does not recognize > the driver from HP... does anybody knows how to setup a > software linux RAID on a proliant DL320 G4?It really doesn't have to do with the server manufacturer it is most likely your grub setup that is causing the problem. Can you post a copy of your /etc/fstab, /boot/grub/menu.lst and /boot/grub/device.map? When I setup my OS HD in a RAID1 I followed this recipe: 1) create 2 100MB MD partitions on each drive, create raid1 mirror of them, mount it /boot and make it ext3 fs. 2) create 2 MD partitions on each drive out of the remaining space, create a raid1 mirror of them, make the mirror an LVM PV. 3) create VG named CentOS out of PV 4) create 8GB LV called root, mount it / and make it ext3. 5) create 4GB LV called swap, formatted swap 6) create 16GB LV called home, mount it /home and make it ext3. After install make sure grub is installed on both HDs. device.map: # this device map was generated by anaconda (hd0) /dev/sda (hd1) /dev/sdb # grub-install /dev/sda (if you booted then it is already on sda) # grub-install /dev/sdb menu.lst: default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.18-8.1.8.el5) root (hd0,0) kernel /vmlinuz-2.6.18-8.1.8.el5 ro root=/dev/CentOS/root initrd /initrd-2.6.18-8.1.8.el5.img fstab: /dev/CentOS/root / ext3 defaults 1 1 /dev/md0 /boot ext3 defaults 1 2 /dev/CentOS/home /home ext3 defaults 1 3 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/CentOS/swap swap swap defaults 0 0 Now you can use a labels for /boot, to do so: # e2label /dev/md0 boot Then in fstab, replace the line starting with /dev/md0, with: LABEL=boot /boot ext3 defaults 1 2 -Ross ______________________________________________________________________ This e-mail, and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail, you are hereby notified that any dissemination, distribution or copying of this e-mail, and any attachments thereto, is strictly prohibited. If you have received this e-mail in error, please immediately notify the sender and permanently delete the original and any copy or printout thereof.
israel.garcia at cimex.com.cu
2007-Aug-29 21:12 UTC
[CentOS] Setting up RAID using mdadm on a proliant DL320 G4
Hi, I have a new server HP proliant DL320 G4, with two 160 GB SATA hdds.. I have installed CentOS 4.5 with mdadm without any problem, but when I disconnect one disk the server does not boot or I received a kernel panic when booting... I have disabled the SATA embeded raid (BIOS) and nothing.. I've also download the driver from HP site HP (Embedded SATA RAID Controller Driver Diskette for Red Hat Enterprise Linux 4 (x86)). and nothing it does not recognize the driver from HP... does anybody knows how to setup a software linux RAID on a proliant DL320 G4? thanks in advance regards, Israel -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 2773 bytes Desc: not available URL: <http://lists.centos.org/pipermail/centos/attachments/20070829/f9db0144/attachment.bin>
Alain Spineux
2007-Aug-30 01:27 UTC
[CentOS] Setting up RAID using mdadm on a proliant DL320 G4
mdadm is for software raid. You are speaking about hardware raid : Embedded SATA RAID Controller ! If you have an onboard raid controller, you have first to create a "Volume" using the HP utilities (this is in the bios or when booting on a CD) Then when installing Centos you should see the Volume you have created. If not try using the Driver Diskette. Regards Alain On 8/29/07, israel.garcia at cimex.com.cu <israel.garcia at cimex.com.cu> wrote:> > > Hi, I have a new server HP proliant DL320 G4, with two 160 GB SATA hdds.. > I have installed CentOS 4.5 with mdadm without any problem, but when I > disconnect one disk the server does not boot or I received a kernel panic > when booting... I have disabled the SATA embeded raid (BIOS) and nothing.. > I've also download the driver from HP site HP (Embedded SATA RAID Controller > Driver Diskette for Red Hat Enterprise Linux 4 (x86)). and nothing it does > not recognize the driver from HP... does anybody knows how to setup a > software linux RAID on a proliant DL320 G4? > > thanks in advance > regards, > Israel > > _______________________________________________ > CentOS mailing list > CentOS at centos.org > http://lists.centos.org/mailman/listinfo/centos > > >-- Alain Spineux aspineux gmail com May the sources be with you -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.centos.org/pipermail/centos/attachments/20070830/6426b233/attachment.html>