Skip to contentSkip to conversation

RAID-related: SATA disk removal?

DISCUSSION John Rowe 2 participants 4 messages Apr 28, 2006 – Apr 29, 2006 MD RAID

lore
Share & tools
lore

John Rowe

author
#0 lore raw

I am testing a machine with two SATA drives in startech.com removable caddies. Everything including swap is RAID1. (I'm running x86_64 Scientific Linux 4.2, a RedHat enterprise clone.)

Informal tests suggest that pulling out an active disk causes the whole machine to hang up but removing a disk from the RAID arrays and pulling it out gives the message: "nv_sata: Primary device removed" and everything happily keeps running.

Is this a fair description? In practise do people find that following the above allows a failed disk to be replaced without shutting down the machine?

Thanks

John

#1 lore raw

Hi John,
I had to do the same some months ago. It turned out that it didn't worked,
and there was a thread about this here

http://marc.theaimsgroup.com/?l=linux-raid&m=111851721408698&w=2

I will be more than happy to know that it does work for you now with recent kernels, but at that time there was still a lot of work to do.

-- Diego.

Quoted 22 lines · John Rowe

I am testing a machine with two SATA drives in startech.com removable caddies. Everything including swap is RAID1. (I'm running x86_64 Scientific Linux 4.2, a RedHat enterprise clone.)

Informal tests suggest that pulling out an active disk causes the whole machine to hang up but removing a disk from the RAID arrays and pulling it out gives the message: "nv_sata: Primary device removed" and everything happily keeps running.

Is this a fair description? In practise do people find that following the above allows a failed disk to be replaced without shutting down the machine?

Thanks

John

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

author
#2 lore raw

Your error output looks just like what I got on my screen when I just removed the disk. Did you try removing it from the arrays first? Basically warm-swap. Google suggests one or two people have tried it.

John

#3 lore raw

Hi,
No, I didn't. I was trying to test what happened when the cable gets
unplugged (maybe someone moving roughly the server) or the disk turning suddenly into a stone. But I didn't try that, and it looks like an interesting test.

Regards,
-- Diego.

Quoted 11 lines · John Rowe

Your error output looks just like what I got on my screen when I just removed the disk. Did you try removing it from the arrays first? Basically warm-swap. Google suggests one or two people have tried it.

John

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html