LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 06-14-2010, 02:42 PM   #1
Fophillips
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Rep: Reputation: 0
Removing a broken disk from lvm2


Hi,

I had a 400GB hard drive fail on me today that was part of an lvm2 logical volume made up of it and 3x1TB hard drives. I did a partial mount of the lv to assess the damage, and it wasn't bad. All the important stuff is either on the other disks or backed up. So, I want to reduce the lv and remove this disk from the vg. But I am not entirely sure how to go about this, could anyone tell me how?
 
Old 06-14-2010, 04:11 PM   #2
smoker
Senior Member
 
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 248Reputation: 248Reputation: 248
You need to move the extents from the physical volume onto the other disks, or a new disk. I've not found a way to "retire" a disk any other way.
Here's a reasonably comprehensive howto.
 
Old 06-14-2010, 05:49 PM   #3
Fophillips
LQ Newbie
 
Registered: Dec 2006
Posts: 7

Original Poster
Rep: Reputation: 0
I don't have them. The disk is broken, I just need to tell lvm2 that it's not coming back and resize the filesystem.
 
  


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
Removing a drive from LVM2 ... tomazN Linux - Software 5 10-14-2009 09:55 AM
Question about LVM2, adding and removing PV lhorace Linux - Newbie 4 09-15-2009 06:54 PM
Removing broken package. ahurd Linux - Newbie 1 09-07-2009 09:02 PM
Need to reformat LVM2 disk. Spearhead40 Ubuntu 1 11-03-2007 01:59 PM
Convert to SW RAID with LVM2 on existing disk atman1974 Linux - General 1 05-15-2006 12:40 AM


All times are GMT -5. The time now is 01:15 AM.

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