LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-11-2009, 09:41 PM   #1
onsorg
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Rep: Reputation: 0
LVM problems, over 1TB of data is gone?


I don't know much about Linux, but I try to learn.

I used LVM and created LVM-partition that included three (3) physical partitions (sda2,sdb1,sdc1). Total space of that LVM partition was over 2 TB. There was no problems with that, I used it several months without any problems. But then I wanted to remove one physical partition (sdc1) from LVM. Even that went ok, there was no errors, system copied all the files from sdc1 to sda2 and sdb1. Problems started when I tried to mount the partition.

After removing sdc1 from LVM (without any problems) I tried to mount my LVM partition (VolGroup00-Storage). But there was error something like:

mount: wrong fs type, bad option, bad superblock.


I tried to run resize2fs /dev/mapper/VolGroup00-Storage, but got error:

Please run 'e2fsck -f /dev/mapper/VolGroup00-Storage' first.


I run e2fsck -f /dev/mapper/VolGroup00-Storage and there was a lot of different kind of errors and it seem to take forever. After four (4) days I have to manually cancel the operation because there was going to be a planned power outage in the building.


After that I tried to continue e2fsck, but there was error:

e2fsck: Group descriptors look bad... trying backup blocks...
e2fsck: The superblock is corrupt when using the backup blocks
e2fsck: going back to original superblock
e2fsck: Device or resource busy while trying to open /dev/mapper/VolGroup00-Storage
Filesystem mounted or opened exclusively by another program?


Now I don't know how to proceed. It is ok to laugh, I know I have done something stupid. Is there any way to save the data?

Thank You.
 
Old 11-11-2009, 11:21 PM   #2
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Rocky 9.2
Posts: 18,359

Rep: Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751Reputation: 2751
Normally you'd want the LVM unmounted when running fsck. Try it from a rescue CD.
With some distros you can use the install media; boot from it, then just enter

linux rescue

at the very first prompt
 
Old 11-12-2009, 11:21 AM   #3
onsorg
LQ Newbie
 
Registered: Nov 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by chrism01 View Post
Normally you'd want the LVM unmounted when running fsck.
LVM partition is unmounted, but for some reason fsck says other.

Quote:
Originally Posted by chrism01 View Post
Try it from a rescue CD.
With some distros you can use the install media; boot from it, then just enter

linux rescue

at the very first prompt
I will google more information about that.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] accidentally overwrote 1TB partition... any way to recover data? :( zuzoa Linux - Newbie 4 09-13-2009 12:59 PM
upgrade system with lvm on software raid-1 data volume w/o losing data BinWondrin Linux - General 1 01-13-2009 03:25 PM
gutsy + mdadm + raid1 => hardy = 1TB of lost (corrupt?) data! LeeSimpson Ubuntu 1 05-21-2008 05:47 AM
gutsy + mdadm + raid1 => hardy = 1TB of lost (corrupt?) data! LeeSimpson Ubuntu 0 05-21-2008 01:55 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:02 AM.

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