LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 09-17-2006, 06:33 AM   #1
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Rep: Reputation: 15
LVM Disk Failure


Hi All,

I have 3 120GB harddisks that are all part of an LVM group. One harddisk has physically failed (Can't even see it in fdisk -l) and now my entire logical volume is un-mountable.

# mount /share
mount: special device /dev/mapper/Vol1-share does not exist

I'm not sure about how to recover this... Obviously I've lost some data (There was over 240GB in use) but is it possible to save the rest of the volume?

I can't even remove the damaged PV as lvm see's it as "unknown device":

l# lvm pvscan
Couldn't find device with uuid 'VDIXIB-QE60-PrqH-4YqO-aXud-6XfA-7922zu'.
Couldn't find device with uuid 'VDIXIB-QE60-PrqH-4YqO-aXud-6XfA-7922zu'.
PV /dev/hda4 VG Vol1 lvm2 [106.79 GB / 0 free]
PV /dev/hdb1 VG Vol1 lvm2 [111.75 GB / 0 free]
PV unknown device VG Vol1 lvm2 [114.49 GB / 0 free]
Total: 3 [333.04 GB] / in use: 3 [333.04 GB] / in no VG: 0 [0 ]

Any advice on how I can recover this?

Thanks, Nick
 
Old 09-17-2006, 07:36 AM   #2
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
what happens when you do "pvmove /dev/hdx"?
 
Old 09-17-2006, 12:28 PM   #3
R4z0r
Member
 
Registered: Jan 2002
Distribution: CentOS 3.1
Posts: 119

Original Poster
Rep: Reputation: 15
Hi, it just can't see the disk

# pvmove /dev/hdd1
Physical volume /dev/hdd1 not found
pvmove: Move extents from one physical volume to another
 
Old 09-19-2006, 02:32 PM   #4
Samoth
Member
 
Registered: Apr 2005
Distribution: Exherbo
Posts: 474
Blog Entries: 1

Rep: Reputation: 32
Then I would make sure that the device file name has not been changed, and all the cables are in firmly.
 
  


Reply


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
Two LVM VolGroup's, same name, one is system disk - what to do? ffingers Linux - Hardware 11 05-12-2010 02:59 PM
Add Disk to LVM Help!! gfem Fedora 2 02-07-2006 04:02 PM
LVM - recovering data after a disk failure. bogaurd Linux - Software 2 12-19-2005 11:34 AM
Boot Disk Failure, Insert System Disk and Press Enter!! novkhan Linux - Hardware 1 12-15-2005 07:39 PM
Suspend to Disk (Possible with LVM?) dino9832 Linux - Laptop and Netbook 1 10-05-2004 09:16 AM


All times are GMT -5. The time now is 03:48 PM.

Main Menu
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