Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 11-12-2004, 12:23 PM   #1
Registered: Oct 2003
Location: Brussels
Distribution: Slackware-current
Posts: 42

Rep: Reputation: 15
unmounting-removing LVM partition

Hi all

I have a little problem with LVM i 've searched the forums but there are not so many threads about LVM

The main problem i have is the following :

I had a LVM partition mounted all working fine, unfourtenatly i had to remove the partitions because of a split up of the HDD in the computers wich i neded somewhere else.

anyway, i deleted the partitions logical and volume group but i can't mount them anymore as normal partitions. The mount point still exists but i doesn't show anything in it ofcourse

i went in my fstab trying to change the partition properties from LVM to normal reiser but that didn't work either to mout it back.

it says wrong fs type or bad blockon device .... when trying to mount

now the fact is, i just wanted to unmount the LVM and get my data back. perhaps, almost certainly i didn't do some steps right.
My main concern is ofcourse is tha data still there ? could i recover it somehow ?
i dind't do any snapshot :/

if this is that case what to do ? i thought about Helix Linux if i'm not mistaken it's a forensic distro so perhaps i could get the data back from there, i hope.

if anyone could help or give any idea that would be nice.

cu around
Old 11-12-2004, 03:13 PM   #2
LQ Guru
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,314

Rep: Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538Reputation: 538
"it says wrong fs type or bad blockon device .... when trying to mount"

Did you include the file system type on the mount command? For example:

mount -t reiser /dev/hda3

Steve Stites
Old 11-12-2004, 03:41 PM   #3
Registered: Oct 2003
Location: Brussels
Distribution: Slackware-current
Posts: 42

Original Poster
Rep: Reputation: 15
i tried that before but unfourtenatly it doesn't work that's what gave me that error. I tried again now tho and i get an error saying that my fstab is omitted. I did change something there idd, perhaps it is wrong.

those are the lines related to LVM

/dev/LVM/Data /storage reiserfs suid,dev,exec 0 0
/dev/hdb1 /mystuff reiserfs defaults 1 1

I had 3 physical volumes for 2 logical volumes.
the set up was

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

The 4th partition on the first HDD + 3rd HDD formed the first logical partition ( LVM/Data in fstab )
The second HDD on it's own was the second logical partition ( hdb1 in fstab )

I changed the second line in fstab to try and mount that drive alone since there was not so much stuff on it that i had to keep. the first logical is the one i'm afraid of loosing :/

All the partitions used by LVM were of type LVM and mounted from LVM as reiser.

Last edited by jazzyjazz; 11-12-2004 at 03:44 PM.


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
Problem with unmounting vfat partition Vitalka Fedora 7 11-10-2005 08:43 PM
Any LVM Gurus Here? (help removing a PV from a VG) sancho Linux - General 3 08-14-2005 11:33 AM
Unmounting supermounted partition. duffboygrim Linux - General 1 01-26-2004 11:01 AM
Help with unmounting root partition rlong411 Linux - Newbie 1 12-17-2003 12:26 PM
Mounting / unmounting of partition URGENT mauritzv Linux - Newbie 1 02-12-2002 10:38 PM > Forums > Linux Forums > Linux - Software

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