Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


LinkBack Search this Thread
Old 08-18-2007, 09:28 AM   #1
LQ Newbie
Registered: Aug 2007
Distribution: Ubuntu 7.04 (Feisty)
Posts: 9

Rep: Reputation: 0
Exclamation Broken LVM hell

First post, so please forgive the newbie ! I'll respond quickly with any additional info required. I've recently converted to ubuntu feisty from M$ thanks to assistance from a good friend of mine. I'm obviously pretty new to Linux but I'm getting increasingly handy with the command line. I've had very little to do with the setup of the box so I may be a bit vague The guy that did has gone on holiday for a fortnight, so I REALLY hope I can fix it before he gets back

We've since built a fileserver from an old PIII box & currently have 6 500Gb SATA HDs, connected via Belkin PCI SATA cards. We set up 2 parallel LVMs (ivor & engine), one backs up to the other overnight via a cron job. Lovely. The system itself is ubuntu feisty 7.04 installed on a 60gb PATA IDE drive.

I wanted to remove one of the HDs & swap it out for a different HD. The plan was to remove the logical volume that contained the HD I wanted to remove, swap the HD, make a new fresh LVM and copy the data back from the intact LVM. After reading the LVM HOWTO I removed the logical volume

umount engine
lvremove /dev/mapper/engine-enginelv

I swapped the HDs and when I restarted the PC, one of them was going 'CLUNK'. This turned out to be the last HD in the ivor LVM.. meaning I now had an empty LVM (engine) and a broken one (ivor). Ah - ha ! I thought, I can rebuild engine using the working drives, fix ivor using a replacement disk & copy the data back - simple. Erm, no.

I've tried remaking the logical volume (engine) but fear I've only managed to get further into a tangle.

Can anyone please help me re-establish the LVMs ? Help gratefully received !! Thanks.
Old 08-18-2007, 11:27 AM   #2
LQ Newbie
Registered: Aug 2007
Distribution: Ubuntu 7.04 (Feisty)
Posts: 9

Original Poster
Rep: Reputation: 0
It's OK

I'm out of my depth & this looks way too hard to fix.

Sometimes you just have to know where to draw the line.
Old 08-18-2007, 01:27 PM   #3
LQ Newbie
Registered: Aug 2007
Distribution: Ubuntu 7.04 (Feisty)
Posts: 9

Original Poster
Rep: Reputation: 0

Well, here are a few links that I hope prove useful for anyone else with the same problem.


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Possible to change non-LVM to LVM? darthfoolish Linux - Software 2 08-01-2008 03:47 AM
LXer: Back Up (And Restore) LVM Partitions With LVM Snapshots LXer Syndicated Linux News 0 04-17-2007 11:16 AM
nu as hell son_oF_jeeves Linux - Newbie 5 12-18-2003 07:09 PM
What the hell?? face_master Linux - General 3 01-28-2003 08:29 AM
Why the hell not... X11 General 8 04-17-2002 11:20 PM

All times are GMT -5. The time now is 06:54 AM.

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 @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration