LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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, 02: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, 11: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, 05:56 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,989

Rep: Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217Reputation: 2217
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, 01: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, 06: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, 07:23 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,087

Rep: Reputation: 407Reputation: 407Reputation: 407Reputation: 407Reputation: 407
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


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
Recover deleted LVM? your_shadow03 Linux - Newbie 1 02-26-2010 07:43 AM
Accidently deleted the linux partition(root partition) how to recover it? sanues Linux - Newbie 7 11-30-2009 02:55 PM
Deleted linux partition, how to boot Windows partition? mysak Linux - General 3 12-14-2005 05:22 PM
Deleted ntfs partition - added linux partition in its place - corrupt! eklhad Linux From Scratch 2 06-28-2005 02: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 05:53 PM

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

All times are GMT -5. The time now is 03:47 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration