LinuxQuestions.org
Review your favorite Linux distribution.
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 06-27-2005, 10:19 AM   #1
SteelTitan
LQ Newbie
 
Registered: Jun 2005
Posts: 3

Rep: Reputation: 0
Need Help with LVM and ReiserFS


Alright, I've been having troubles with my LVM. I have 6 hard drives of varying sizes, all IDE, which used to be running on SuSE 9.2 Pro. The volume group is called VG_Storage and the logical volume is called LV_Storage. Everything was working fine, then I decided to load SuSE 9.3 Pro. I used vgexport then shutdown the system. After installing SuSE 9.3 Pro, I used pvscan to display the LVM but for some reason it lost 4 UUIDs out of the 6. I figured out how to restore the UUIDs and after that the LVM was displayed to me properly. The next problem happened when I tried to activate and mount the LVM. There was device called /dev/VG_Storage/LV_Storage to mount, which was what the LV was pointing to. There was only /dev/VG_Storage-LV_Storage which couldn't be mounted. So I reinstalled SuSE figuring it had something to do with not having the UUIDs. Once the install finished, I was able to scan for the LVM, and the device was created properly. Now my big problem is I can't mount the LVM because reiserfs is saying there is no filesystem. I need to get my data back, is there any way to restore the filesystem? I haven't overwritten anything so the files should still be there, the mount command keeps saying can't read superblock. Any help would be greatly appreciated. Below is more information about the errors and my system.

Thanks, Justin.

titanone:~ # pvdisplay
--- Physical volume ---
PV Name /dev/hdd1
VG Name VG_Storage
PV Size 55.91 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 14314
Free PE 0
Allocated PE 14314
PV UUID OHCjkx-iRW4-aXP5-ArOQ-r13s-WGpm-Q5MEOO

--- Physical volume ---
PV Name /dev/hde1
VG Name VG_Storage
PV Size 74.53 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 19079
Free PE 0
Allocated PE 19079
PV UUID ggAxeV-9okD-6tGf-8fyR-ua1Y-2T6w-GS4rJE

--- Physical volume ---
PV Name /dev/hdf1
VG Name VG_Storage
PV Size 55.90 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 14310
Free PE 0
Allocated PE 14310
PV UUID gGoL0n-OpZM-WE0T-u2sg-DJ1K-GMa7-L1Wp5N

--- Physical volume ---
PV Name /dev/hdg1
VG Name VG_Storage
PV Size 189.91 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48618
Free PE 0
Allocated PE 48618
PV UUID Tg7PGD-tB3I-i3jo-Y5Ce-2A6O-5rYq-b1RqQN

--- Physical volume ---
PV Name /dev/hdh1
VG Name VG_Storage
PV Size 189.91 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 48618
Free PE 0
Allocated PE 48618
PV UUID BgOwbD-7atF-NRto-hx8P-dJBH-6Him-wX44yw

--- Physical volume ---
PV Name /dev/hdc1
VG Name VG_Storage
PV Size 111.79 GB / not usable 0
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 28618
Free PE 0
Allocated PE 28618
PV UUID GQARJ4-Epd3-eqhx-Lpra-9ED5-cbF7-KNZ6uR

titanone:~ # vgdisplay
--- Volume group ---
VG Name VG_Storage
System ID
Format lvm2
Metadata Areas 6
Metadata Sequence No 17
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 1
Open LV 0
Max PV 0
Cur PV 6
Act PV 6
VG Size 677.96 GB
PE Size 4.00 MB
Total PE 173557
Alloc PE / Size 173557 / 677.96 GB
Free PE / Size 0 / 0
VG UUID QIQeE6-VEUH-juAd-x61F-MCtA-UzXO-nAegwR

titanone:~ # lvdisplay
--- Logical volume ---
LV Name /dev/VG_Storage/LV_Storage
VG Name VG_Storage
LV UUID Zb6LvF-ULki-Rkvb-IITo-5uPU-a4wX-Lgv4OX
LV Write Access read/write
LV Status available
# open 0
LV Size 677.96 GB
Current LE 173557
Segments 7
Allocation inherit
Read ahead sectors 0
Block device 253:0

# mount /dev/VG_Storage/LVStorage /storage
/dev/VG_Storage/LV_Storage: Inappropriate ioctl for device
mount: /dev/VG_Storage/LV_Storage: can't read superblock

# debugreiserfs /dev/VG_Storage/LV_Storage
debugreiserfs 3.6.18

bread: Cannot read the block (2): (Invalid argument).
reiserfs_open: bread failed reading block 2
bread: Cannot read the block (16): (Invalid argument).
reiserfs_open: bread failed reading block 16

reiserfs_open: the reiserfs superblock cannot be found on /dev/VG_Storage/LV_Storage.

debugreiserfs: can not open reiserfs on "/dev/VG_Storage/LV_Storage": no filesystem found
 
  


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
An odd reiserfs booting problem in a special situation may be about SUSE10's reiserfs ayal Linux - Newbie 7 11-15-2005 07:36 AM
LVM and ReiserFS psmitty Linux - Hardware 3 07-14-2005 05:17 PM
how to get LVM mailnickykav Red Hat 1 03-01-2005 02:22 PM
Can you convert Reiserfs 3 to Reiserfs 4 JSylvia007 Linux - Distributions 1 08-19-2004 03:01 PM
Add ReiserFS package destroys non-ReiserFS partitions smirk Mandriva 0 03-24-2004 07:20 PM

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

All times are GMT -5. The time now is 01:51 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