LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Need Help with LVM and ReiserFS (https://www.linuxquestions.org/questions/linux-general-1/need-help-with-lvm-and-reiserfs-337643/)

SteelTitan 06-27-2005 10:19 AM

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


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