Broken raid


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Broken raid
# 1  
Old 08-25-2012
Broken raid

Hello, I have 2 servers with broken raid 1, but each one gives me a different
error, I dont know what is the difference.

Code:
[root@ ~]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sdb1[2](F) sda1[0]
      2102464 blocks [2/1] [U_]

md1 : active raid1 sdb2[2](F) sda2[0]
      264960 blocks [2/1] [U_]

md2 : active raid1 sdb3[2](F) sda3[0]
      730202368 blocks [2/1] [U_]

unused devices: <none>

Code:
[root@ ~]# cat /proc/mdstat
Personalities : [raid1] [raid0] [raid6] [raid5] [raid4] [raid10]
md0 : active raid1 sda1[1]
      2102464 blocks [2/1] [_U]

md1 : active raid1 sda2[1]
      264960 blocks [2/1] [_U]

md2 : active raid1 sda3[1]
      730202368 blocks [2/1] [_U]

unused devices: <none>

# 2  
Old 08-25-2012
In the first case the partitions on sda are working; those on sdb are faulty, so they're not used at the moment, but they're there and so they're ready as available spares (which is not useful with a degraded single-disk raid1).

In the second case the partitions on sda are working, but the other disk is missing.
--
Bye
# 3  
Old 08-25-2012
Thank you for the reply Lem.

so in the first case, where the Letter F appears (F) sda1[0]
I only have to run the commands to rebuild the raid, right ?
# 4  
Old 08-25-2012
Quote:
Originally Posted by MaRiOsGR
Thank you for the reply Lem.

so in the first case, where the Letter F appears (F) sda1[0]
I only have to run the commands to rebuild the raid, right ?
The (F) notation follows the drive which it refers to. So (F) refers to sdb partitions.

Do something like:
Code:
# mdadm /dev/md0 --remove /dev/sdb1
# mdadm /dev/md0 --add /dev/sdb1

to first remove the faulty partition and then add it back to the raid md0.
Then the array will be rebuilded automatically.

Before, please check that sdb is a healthy disk.

You do the same with all your three raids, of course using the right partitions.

BTW: you do have backups, don't you?
--
Bye.
 
Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

RAID Configuration for IBM Serveraid-7k SCSI RAID Controller

Hello, I want to delete a RAID configuration an old server has. Since i haven't the chance to work with the specific raid controller in the past can you please help me how to perform the configuraiton? I downloaded IBM ServeRAID Support CD but i wasn't able to configure the video card so i... (0 Replies)
Discussion started by: @dagio
0 Replies

2. Red Hat

Broken pipe

Hi all, I am trying to run a sleep command and I am receiving a broken pipe when I execute. any help would be greatly appreciated. sleep `< /dev/urandom tr -dc 0-6 | head -c2` (2 Replies)
Discussion started by: gartie
2 Replies

3. Solaris

Software RAID on top of Hardware RAID

Server Model: T5120 with 146G x4 disks. OS: Solaris 10 - installed on c1t0d0. Plan to use software raid (veritas volume mgr) on c1t2d0 disk. After format and label the disk, still not able to detect using vxdiskadm. Question: Should I remove the hardware raid on c1t2d0 first? My... (4 Replies)
Discussion started by: KhawHL
4 Replies

4. AIX

SCSI PCI - X RAID Controller card RAID 5 AIX Disks disappeared

Hello, I have a scsi pci x raid controller card on which I had created a disk array of 3 disks when I type lspv ; I used to see 3 physical disks ( two local disks and one raid 5 disk ) suddenly the raid 5 disk array disappeared ; so the hardware engineer thought the problem was with SCSI... (0 Replies)
Discussion started by: filosophizer
0 Replies

5. Solaris

Creation of Raid 01 and Raid 10

Hello All, I have read enough of texts on Raid 01 and Raid 10 on solaris :wall: . But no-where found a way to create them using SVM. Some one pls tell me how to do or Post some link if that helps. TIA Curious solarister (1 Reply)
Discussion started by: Solarister
1 Replies

6. Solaris

implementing RAID 1 from RAID 5

Dear ALl, I have a RAID 5 volume which is as below d120 r 60GB c1t2d0s5 c1t3d0s5 c1t4d0s5 c1t5d0s5 d7 r 99GB c1t2d0s0 c1t3d0s0 c1t4d0s0 c1t5d0s0 d110 r 99GB c1t2d0s4 c1t3d0s4 c1t4d0s4 c1t5d0s4 d8 r 99GB c1t2d0s1 c1t3d0s1... (2 Replies)
Discussion started by: jegaraman
2 Replies

7. UNIX for Dummies Questions & Answers

RAID software vs hardware RAID

Hi Can someone tell me what are the differences between software and hardware raid ? thx for help. (2 Replies)
Discussion started by: presul
2 Replies

8. UNIX for Advanced & Expert Users

Broken

Ok i am running Linux, or rather was. I can not longer do anything. This was a dns server amoungst other things. It will no longer boot. I have used a startup disk, but how can i recover the OS? I need help and urgently. Please someone thanks (3 Replies)
Discussion started by: ollyparkhouse
3 Replies
Login or Register to Ask a Question