Search Device Status in GNU Linux

Thread Tools Search this Thread
Operating Systems Linux Red Hat Search Device Status in GNU Linux
# 1  
Old 09-21-2009
Search Device Status in GNU Linux

I have an old PC with mirrored disk arrays. One of the hot swapable disk drives is bad and needs to be replaced, I know this because the drives' light has turned amber.

This server has Linux installed. I am not familiar with Linux, but I need this servers because it is running Postfix and is a relay host for many of our production Solaris Machines.

Could anyone please guide me on how to see drive status through the command line and pinpoint which hard drive has failed .

#dmesg does not give me a clue and #iostat -en command does not work, or atleast I donot know how to use it.
[root@webserver root]# uname -srvmpio
Linux 2.4.24 #2 SMP Thu Feb 12 13:32:01 EST 2004 i686 i686 i386 GNU/Linux
[myname@webserver]$ df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p1 4127076 900092 3017340 23% /
none 775932 0 775932 0% /dev/shm
/dev/cciss/c0d0p5 6190664 1434904 4441292 25% /usr
/dev/cciss/c0d0p2 28898108 16688772 10741400 61% /var/lib/mysql
/dev/cciss/c0d0p3 28708276 5670832 21579144 21% /var/spool
# 2  
Old 09-21-2009
The fact that the paths are showing up the way they are makes me think it is running on an HP server with onboard RAID controller. Do you have any tools to manage the server from the manufacturer?

Can you reboot the server and check the firmware for the RAID controller? This is a good example of why things should be documented in case a primary contact is unavailable, but it should be fixable.
# 3  
Old 09-22-2009
Unfortunately, I have no documentation, but yes we can schedule an outage and check the firmware for the RAID configuration.
# 4  
Old 09-22-2009
If you have a spare drive, you can probably replace it during the downtime, assuming you are, in fact, using some sort of redundancy on that controller. Then, you can force a rebuild in the firmware.
This User Gave Thanks to mark54g For This Post:
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Search strings from a file in files in a directory recursively; then print the string with a status

Hi All, I hope somebody would be able to help me. I would need to search a string coming from a file, example file.txt: dog cat goat horse fish For every string, I would need to know if there are any files inside a directory(recursively) that contains the string regardless of case.... (9 Replies)
Discussion started by: kokoro
9 Replies

2. Fedora

FreeBSD or GNU/Linux?

Hi, i'm working on micro$oft windows based networking environment's. i want learn other os than micro$oft windows. i tested FreeBSD & Gnu/Linux (Fedora). both are similar. which of following is best choice for me? for networking? and which of them has future (for e.g not discontinued after 2... (3 Replies)
Discussion started by: skynet_boy
3 Replies

3. UNIX and Linux Applications

GNU sed - Search and Replace problem

Hi, The following code loops through every file with an error extension and then loops through all XML files in that directory and replaces the target character @ with / . The problem I have is that if there is more than one occurance of @ in each individual file it doesn't replace it. Any... (2 Replies)
Discussion started by: Fishn
2 Replies

4. Programming

linux device drivers

hi, this is manju .... i want linux device drivers source codes. pls help me (2 Replies)
Discussion started by: miraclemanju
2 Replies

5. UNIX for Dummies Questions & Answers

install linux on GPS device?

hi all, this might be a silly question, but... a few years ago, i bought a Nortech Navigation E-GPS010. this is a car/hand-held GPS unit that, for a while, worked pretty well. in fact, it still works well. the map version on my GPS is dated 2006, so i thought i'd upgrade; however, the crappy... (10 Replies)
Discussion started by: jmd9qs
10 Replies

6. UNIX for Advanced & Expert Users

raw device in Linux

Hello group, Is it possible to use partition on a disk as a raw device? I have a LUN on a SAN which I would like to partition and use those partitions as raw device. If it is feasable, how do I bind them to a device? For example, say sdd has 3 partitions on it, sdd1, sdd2 and sdd3. Can I... (1 Reply)
Discussion started by: bfay
1 Replies

7. UNIX for Dummies Questions & Answers

Need Book for Linux Basics and Linux device driver.

hai friend, I am new to Linux, i need a book for Linux basic and Linux device driver .. plz send the book name and author(Easy to learn and mostly used by programmers) and also send the link if it is available in Net... Thank you. ... (0 Replies)
Discussion started by: sundar.lsr
0 Replies

8. Programming

Linux Device Drivers

Here is a cool book. And the price is right! Linux Device Drivers, 2nd Edition (0 Replies)
Discussion started by: Perderabo
0 Replies

9. UNIX for Dummies Questions & Answers

GNU and Linux: Different or the same?

Sorry for sounding like an incredible n00b, but as I have been lurking and searching on the net, I have come across something that may be common sense to most, but to me is confusing. I constantly see the word GNU when I do searches for Linux, both on this web site and on search engines. I found... (18 Replies)
Discussion started by: Minnesota Red
18 Replies
Login or Register to Ask a Question