LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Closed Thread
 
Search this Thread
Old 08-29-2008, 11:53 AM   #1
engkeboy
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 (http://dev.jerryweb.org/raid/).

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-31-2008, 02:20 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,004
Blog Entries: 11

Rep: Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903Reputation: 903
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 is being closed because it is a duplicate.

http://www.linuxquestions.org/questi...d-lvm.-666311/
 
  


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
replacing dead hdd in software raid and lvm. engkeboy Linux - Server 1 08-30-2008 05:29 AM
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
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


All times are GMT -5. The time now is 09:26 PM.

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