Skip to contentSkip to conversation

LVM + reiserfsck

linux-lvm Rajesh Saxena 2 participants 2 messages Feb 24, 2004

lore
Share & tools
lore
#0 lore raw

Hello list I am wondering if someone could help me with a quick question. I am using SUSE 9 + LVM1 + Linux Software RAID and last but not least Reiser filesystem. Recently I had problem with recovery from LVM volumes where /usr/lib is deleted =(

Here is my set up with two 80G drives:

1st 2G parititon on drive 1

                           \
                            = /dev/md0 formatted as Reiser for /      
                           / 

1st 2G partition on drive 2

2nd 2G parititon on drive 1

                           \
                            = /dev/md1 formatted as Reiser for swap    
 
                           / 

2nd 2G partition on drive 2

Last big parititon on drive 1

                             \
                              = /dev/md2 for LVM
                             / 

Last big partition on drive 2

All RAID arrays as RAID1 mirrors and LVM volumes as Reiser. After several test reboots the OS did not boot and complained to run reiserfsck. I did reiserfsck --check for all partitions and only ones which complained was /dev/system/usr. It asks for --rebuild-tree so I did and then rebooted. Now all of /usr/lib was deleted and sshd would not start. My question: what did I do wrong? I ask this question here because lots of people seem to use Reiser and LVM together. Please offer some advice. Thank you!!

RS

______________________________________________________________________
Post your free ad now! http://personals.yahoo.ca

#1 lore raw
Quoted 4 lines · Rajesh Saxena

Hello list I am wondering if someone could help me with a quick question. I am using SUSE 9 + LVM1 + Linux Software RAID and last but not least Reiser filesystem. Recently I had problem with recovery from
LVM volumes where /usr/lib is deleted =(

Not sure.. but if your system is unstable (hard crashes), for whatever reason, SUSE 9 now has a VERY bad habit of eliminating directories that are merely open for READING... ick!!! I've lost several.
My solution, stablize the system. There's something not quite right either with the latest reiserfs patches, the SUSE 9 kernel or the combination of LVM/Reiserfs/kernel in SUSE 9. Btw... this problem DOES NOT exist at all in SUSE 8.2.... you crash that baby as much as you want (practically) and I've always been able to get back the important data.

My guess is that there is a "fix" for reiserfs that shouldn't be there.

With that said... I've seen much the same under ext2/ext3... but it's always been that way with those filesystems. I still like reiserfs overall. Under SUSE it has a good track record... just something not right with SUSE 9.