LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices

Reply
 
LinkBack Search this Thread
Old 10-15-2012, 01:45 AM   #1
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 76

Rep: Reputation: Disabled
trying to add another HDD to ubuntu server using LVM


I added the drive as a physical vol to the vol group and mounted to my /media dir
then i extended my logical vol mounted on /media to greater than the capacity of my first HDD
but then i created a partiion or a file system on my second drive. i can't remember. it gave me an error and told me to reboot. now /media wont mount when i bootup and the sdb harddrive is missiong from physical volumes.
all my movies are probably gone!
i try to shrink my media lv back to the size before i added the 2nd HDD but it says i'll have to recreate the filesystem and it will erase everything.
dude! i screwed up
oh, i put a new partions on the sdb drive and try to add it to physical volumes it gives em this error
Failed to save physical volume :
Couldn't find device with uuid Cu5Wjr-0cAE-LDQU-U5GX-YbxN-rlv7-TzlxHk.
Cannot change VG Server while PVs are missing.
Consider vgreduce --removemissing.
and when i boot it says there is 1 zombie process

Last edited by skinney; 10-15-2012 at 01:52 AM.
 
Old 10-15-2012, 09:21 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Slackware
Posts: 14,880
Blog Entries: 2

Rep: Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807Reputation: 3807
Quote:
Originally Posted by skinney View Post
all my movies are probably gone!
At least now you know the reason for making backups before doing anything system-critical, like partitioning.

Before doing anything further I would recommend to use Photorec to recover and backup your media files to an external medium.
After that just re-create all your physical/logical volumes.
 
Old 10-15-2012, 09:26 AM   #3
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 76

Original Poster
Rep: Reputation: Disabled
yes, lesson learned...
i can't backup my media cux it's on the lv that wont mount
i;ve tried mounting it manualy
didn't work
testdisk says there partition doesn't have a close or end point
probably coz i extended it to the next disk then screwed up that disk
so how do i close the partition?
 
Old 10-16-2012, 02:31 PM   #4
skinney
Member
 
Registered: Oct 2012
Location: oakland,ca
Distribution: Arch, Ubuntu Server 12.04, Slack64-14.1
Posts: 76

Original Poster
Rep: Reputation: Disabled
i gave up
i lost my movies but whatever. there were only a handful i would watch again
i'm looking into how to backup and restore the system
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Replacing HDD in an LVM without any ports left for new HDD, therefor using a USB dock boast Linux - General 0 01-12-2010 09:03 AM
How to add new HDD to LVM fw12 Linux - General 12 08-18-2007 05:31 PM
Configure FTP Server (Add more HDD) georgiozoze Linux - Newbie 2 09-03-2006 07:18 PM
Trying to add a third hard drive (hdd) and get Unable to open /dev/hdd MikeyCarter Linux - Hardware 4 12-26-2005 10:27 PM


All times are GMT -5. The time now is 05:03 AM.

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