LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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


Reply
  Search this Thread
Old 08-23-2010, 01:05 PM   #1
Brynn
Member
 
Registered: Jul 2006
Location: Grimsby UK
Distribution: ubuntu 7.04
Posts: 61

Rep: Reputation: 15
Deleted an LVM partition


I was dicking around today and I deleted an LVM partition, is there anyway I can restore the partition and add it back to my volume group or is it game over? any help is always appreciated.
Brynn
 
Old 08-23-2010, 10:32 PM   #2
alpha01
Member
 
Registered: Jul 2008
Location: Orange County
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 75

Rep: Reputation: 19
You have to be more detailed with your question. You won't be helped here simply by saying that you broke something and you need someone to fix it.

My question to you is how did you "deleted" LVM partition?
Are you sure you deleted the LVM portion and not an Volume Group?

You can find out if your system still has an LVM in tact by running the following command:
Code:
pvscan
If you simply moved the Logical Volume from the active Volume Group, than you might be able to restore it, otherwise your completely out of luck.

http://tldp.org/HOWTO/LVM-HOWTO/
 
Old 08-24-2010, 04:56 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
If you merely deleted the partition, use fdisk to redefine it - in exactly the same place.
Else use testdisk to go do the grunt work for you.

Need I mention my sigline ?.
 
1 members found this post helpful.
Old 08-25-2010, 12:18 PM   #4
Brynn
Member
 
Registered: Jul 2006
Location: Grimsby UK
Distribution: ubuntu 7.04
Posts: 61

Original Poster
Rep: Reputation: 15
It was just the partition I deleted with fdisk, funnily or not so funnily I was trying to make some room so that i could back up my laptop onto it. I used testdisk to recreate the partition and everythings fixed now, thanks, thats hugely appreaciated.

I know my first post was rather short and lacking in info, but at the time I was just thinking 'Oh shit!'. Simply saying the more info was needed or how have you deleted it would have been enough, comments like '..You won't be helped here simply by saying that you broke something and you need someone to fix it.' just makes you sound like a condescending twat, I read allot of posts from windows users saying that the linux community is like this and in all the years I've read this forum it's the first time I've actually seen it. This forum is here to help people, so help them, don't patronize them or they'll not come back
 
Old 08-31-2010, 05:49 PM   #5
alpha01
Member
 
Registered: Jul 2008
Location: Orange County
Distribution: Ubuntu/Debian, CentOS, RHEL, FreeBSD, OS X
Posts: 75

Rep: Reputation: 19
I was just trying to give you a suggestion on how to ask for help. If I'm not mistaken, at the time of my reply the thread had over 50 views and yet no one had hesitated to replied to your post.

If you simply would have provided more information, people of responded much faster.
 
Old 08-31-2010, 06:23 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
This forum is here to help people, so help them, don't patronize them or they'll not come back
Nobody is patronising you, the information in your first post was insufficient for me to be able to help you. So I moved on, because I am tired of asking for more information and then being abused.

As alpha01 said "If you simply would have provided more information, people of responded much faster."

That's very true. And he waited until your thread had 50 views, with no answers, and then suggested that you should supply more information. In my opinion, he was trying to be helpful, as am I now.

Please try to keep these forums civil, by not calling people who are trying to help you "a condescending twat". This only demeans yourself.
 
  


Reply



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
Recover deleted LVM? your_shadow03 Linux - Newbie 1 02-26-2010 06:43 AM
Accidently deleted the linux partition(root partition) how to recover it? sanues Linux - Newbie 7 11-30-2009 01:55 PM
Deleted linux partition, how to boot Windows partition? mysak Linux - General 3 12-14-2005 04:22 PM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 01:31 AM
deleted linux partition adn the boot loader was deleted also,now i have only gnu grub boris199 Linux - Laptop and Netbook 2 01-29-2005 04:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:34 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
Open Source Consulting | Domain Registration