Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Write an article for LinuxForums Today! Win Great Prizes!
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Installation > removing-unmonting LVM

Forgot Password?
 Installation   Need help or have questions about installing Linux, including dual booting with other distros or Windows? put them here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 11-12-2004   #1 (permalink)
Just Joined!
 
Join Date: Nov 2004
Posts: 3
removing-unmonting LVM

Hello all

I browsed the forum for some info on LVM but didn't have any luck :/

The proplem is that i removed a Volume group in LVM but now i can't mount my drives back normal as i don't see anything in the mounted partition.

most likely some setting are left over, i changesd the info in fstab but didn't have any luck either.

what i did was removing first the logical volumes then deleted the volume group. didn't unmount the phycal partitions before and perhaps this might have given some errors ...

Now my question are, first of all can i recover my data ? or remounting the all thing by changing the config files in some way: lvmtab i think

and if not, how could i still reconver my data or mounting back the drives as normal ones without formatting them ?

hope it was clear enough,
Jazzy is offline  



Reply With Quote
Old 11-12-2004   #2 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
I can't really say that I understand what you're trying to do.

Were you using a couple of partitions in a volume group, and now you're trying to mount them individually? In that case, of course it won't work -- you need a filesystem to mount something, not just raw LVM data. If that was what you were trying to do, I can't say that I understand what you were expecting to see in the directory where you tried to mount them.
Dolda2000 is offline   Reply With Quote
Old 11-12-2004   #3 (permalink)
Just Joined!
 
Join Date: Nov 2004
Posts: 3
what i wanted to do was to remove LVM from my machine. This was the main goal. ofcourse it ihknk i did something wronf when removing it :/

This was the setup of LVM :

3 HDD in the machine:
first with 4 partitions and the others two without any.

The 4th partition on the first HDD + 3rd HDD formed the 1st logical partition
The second HDD on it's own was the 2nd logical partition

i first removed the 2 logical groups, then deleted the volume group without first removing the physical partititions. ( perhaps this wasn't a good idea )

The partitions used for LVM were (and are stil now) as u say of type LVM and mounted as reiser.

it was a foolish move i admit but now i'm afraid for my data :/ the one the second HDD isn't so important, but the first logical partition was the one with my data :/

Could i eventually recreate the table without inizialing it or formatting to mount it ? perhaps i could then move the info to the second HDD

i hope this was a bit more clear response i hope
Jazzy is offline   Reply With Quote
Old 11-12-2004   #4 (permalink)
Linux Guru
 
Join Date: Oct 2001
Location: Täby, Sweden
Posts: 7,578
I wouldn't be so sure that that's possible. I'm not sure if logical volume creation is a deterministic procedure, so I don't know what would happen if you were to try and do it again. But if there is something that should work, it would be if you try to recreate the volume group and logical volumes again, using the exact same steps you did when you created them the first time. If that doesn't help, I cannot help you further at this moment -- I don't know enough about LVM's on-disk physical representation.
Dolda2000 is offline   Reply With Quote
Old 11-12-2004   #5 (permalink)
Just Joined!
 
Join Date: Nov 2004
Posts: 3
thx Dolda

I would like to leave this option as the last one so that i don't have to touch the HDD so much anymore and really risking of loosing the data.

Thx tho for the fast reply tho
Jazzy is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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

Free Magazines
A Newbie's Getting Started Guide to Linux
Learn the basics of the Linux operating systems. Get to know what it is all about, and familiarize yourself with the practical side. Basically, if you're a complete Linux newbie and looking for a quick and easy guide to get you started this is it.
subscribe
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 10:05 PM.






© 2000 - - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.1