The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > Linux
Google UNIX.COM


Linux RedHat, Ubuntu, SUSE, Fedora, Debian, Mandriva, Slackware, Gentoo linux, PCLinuxOS. All Linux questions here!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Sun - RAID kingdbag UNIX for Dummies Questions & Answers 6 12-06-2007 09:21 AM
Raid With Suse Linux Vaughan Filesystems, Disks and Memory 0 10-21-2006 06:35 PM
RAID 1 + 0 with LVM aribault SUN Solaris 7 12-22-2005 07:00 AM
regarding raid h1timmboy UNIX for Dummies Questions & Answers 1 12-21-2005 12:08 PM
Raid 0 goldfelda SUN Solaris 1 01-30-2002 06:14 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Oct 2004
Posts: 69
RAID on Red Hat Linux 7.2

Hi all

I have an old Compaq DL380 (G1) server with 4 hard disks. It is running Red Hat Linux 7.2

One of the disks died. I didn't build the box myself. How would I determine if software RAID was configured? I had a look a /etc/fstab, but it's only referring to ida/c0d0

The /var/log/messages file is logging "non fatal" errors on ida/c0d0.

Thanks
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 01-29-2007
Registered User
 

Join Date: Jul 2005
Location: Amsterdam
Posts: 97
Quote:
Originally Posted by soliberus
Hi all

I have an old Compaq DL380 (G1) server with 4 hard disks. It is running Red Hat Linux 7.2

One of the disks died. I didn't build the box myself. How would I determine if software RAID was configured? I had a look a /etc/fstab, but it's only referring to ida/c0d0

The /var/log/messages file is logging "non fatal" errors on ida/c0d0.

Thanks

Check if software raid is setup. Have a look in the Red-Hat Documentation on how you should setup this.
Reply With Quote
  #3 (permalink)  
Old 01-30-2007
Registered User
 

Join Date: Oct 2004
Posts: 69
Thanks for that. However, the documentation you referred me to only contains the "graphical configuration" instructions for RAID and it's "during installation" and not "after installation" instructions.
Reply With Quote
  #4 (permalink)  
Old 01-30-2007
Registered User
 

Join Date: Feb 2005
Location: Broomfield, CO
Posts: 395
I'm using software RAID (mirroring) on my Linux box. If I run df, I see this:

Code:
$ df -k
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/md0               5036160    111016   4669320   3% /
df: `/proc/bus/usb': Permission denied
/dev/hda9              1296568     37360   1193344   4% /boot
/dev/md1              18136968   1455148  16681820   9% /home
/dev/md2              40313848  12277432  25988540  33% /usr
/dev/md3              10072680    764916   8796100   9% /var
And my vstab output looks like this:

Code:
none /dev/pts devpts mode=0620 0 0
/dev/md1 /home ext3 defaults 1 2
/dev/hdb /mnt/cdrom auto user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
/dev/scd0 /mnt/cdrom2 auto user,iocharset=iso8859-1,codepage=850,noauto,ro,exec 0 0
none /proc proc defaults 0 0
/dev/md2 /usr ext3 defaults 1 2
/dev/md3 /var ext3 defaults 1 2
/dev/hda5 swap swap defaults 0 0
/dev/hdc5 swap swap defaults 0 0
The /dev/mdn are the "Metadevices".

It's been a while since I set mine up but from your fstab output, I'd say you were not running a software RAID.

Carl
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08:23 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0