Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


Closed Thread
  Search this Thread
Old 08-29-2008, 11:46 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 5

Rep: Reputation: 0
Question replacing dead hdd in software raid and lvm.

i'm using debian etch.

i just installed debian etch having 4hdds (1tb each). I've tried using LVM only mixing all of my hdds without knowing the consequences.. when my 1hdd died, all my data was lost. Now, i thought of something that can help me maintaining my server. and i found this. Software RAID5 and LVM with the Etch Installer (

Now, my problem is. again, my 1 hdd hdd died again.. i thought i just have to replace it and it will work again.. but i was really wrong. i've already attached my new hdd with the same brand and same size.. how can i make it work using mdadm? i've already partitioned it using fdisk with the same partition as the other hdds.. when i try detailing my md0 and md1 the hdd that died was marked as removed. how can i replace that? or should i say how can i put my new partitions in that said "removed"? does it mean i just lost my files again?

and the hdd that died is the sdb1 and sdb2 (which is my 2nd hdd).. and what i dont understand is my 4th hdd (which is sdd1 and sdd2) automatically being removed in both md0 and md1.. and it says in startup that "failure to assemble arrays in raid5". i think i just have to add the sdd1 in md0 and sdd2 in md1.. how can i make it start again? and how can i migrate my sdb1 in md0 and sdb2 in md1? and how can i make it start? because my md0 is my boot.. and what's inside my md1 was my /var /tmp /swp and /home.. and the device mapper says that my "volumegroup" was not found. i think my LVM is being affected by those devices that is being removed.
Old 08-30-2008, 05:29 AM   #2
Registered: May 2001
Posts: 29,361
Blog Entries: 55

Rep: Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547Reputation: 3547
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread should be closed because it is a duplicate of

Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID with LVM and EVMS empty after dead disk IanGrant Linux - Hardware 3 06-15-2007 06:13 PM
software raid 5 + LVM and other raid questions slackman Slackware 5 05-09-2007 03:58 PM
software raid 5 + LVM slackman Slackware 1 05-07-2007 10:27 AM
Replacing dead drive in degraded RAID-5. Cronjob Linux - Hardware 1 02-23-2006 12:02 AM
Replacing a drive in /boot, software RAID-1 + GRUB tobiasly Linux - Hardware 1 12-21-2005 01:08 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:53 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration