Linux LVM users
 help / color / mirror / Atom feed
From: Laurentiu Simion <lsimion@rogers.com>
To: linux-lvm@sistina.com
Subject: [linux-lvm] Mounting Reiserfs errors
Date: Sat Mar  9 11:47:02 2002	[thread overview]
Message-ID: <1015696110.3149.10.camel@cr227180-a> (raw)
In-Reply-To: <20020308235001.C12196@golem.blacknet.de>

I am running LVM with ext3 and recently with Reiserfs on Mandrake 8.1
(kernel 2.4.8-26) I had no problems for quite a time with ext3 but when
I have tried to play with Reiserfs I've got into big big trouble.

This is the /proc/lmv/global listing:

------------------------------------------------------------------------
LVM module version LVM 0.9.1_beta7(ish) (20 June 2001)

Total:  2 VGs  3 PVs  5 LVs (4 LVs open 4 times)

Global: 44714 bytes malloced   IOP version: 10   0:09:22 active

VG:  system  [1 PV, 4 LV/4 open]  PE Size: 4096 KB
  Usage [KB/PE]: 9043968 /2208 total  6963200 /1700 used  2080768 /508
free
  PV:  [AA] ide/host0/bus0/target0/lun0/part6  9043968 /2208     6963200
/1700     2080768 /508   
    LVs: [AWDL  ] 1                           409600 /100      1x open
         [AWDL  ] 2                          5201920 /1270     1x open
         [AWDL  ] 3                           716800 /175      1x open
         [AWDL  ] 4                           634880 /155      1x open

VG:  depot  [2 PV, 1 LV/0 open]  PE Size: 4096 KB
  Usage [KB/PE]: 4321280 /1055 total  2097152 /512 used  2224128 /543
free
  PVs: [AA] ide/host0/bus0/target0/lun0/part7  2064384 /504      2064384
/504            0 /0     
       [AA] ide/host0/bus0/target0/lun0/part8  2256896 /551        32768
/8        2224128 /543   
    LV:  [AWDL  ] lvol1                      2097152 /512      close
--------------------------------------------------------------------------

The VG with problems is "depot". Is split on 2 disk partitions and has
one LV using half of the space.
I was able at the beginning to mount /dev/depot/lvol1 as reiserfs but
after a FS resize I've got the following error trying to mount the FS:

# mount -t reiserfs /dev/depot/lvol1 /u0
mount: wrong fs type, bad option, bad superblock on /dev/depot/lvol1,
       or too many mounted file systems

I was running all the possible checks on /dev/depot/lvol1 as per below:

# reiserfsck /dev/depot/lvol1

<-------------reiserfsck, 2002------------->
reiserfsprogs 3.x.1b

Will read-only check consistency of the filesystem on /dev/depot/lvol1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Y
[root@cr227180-a lvm]# reiserfsck /dev/depot/lvol1

<-------------reiserfsck, 2002------------->
reiserfsprogs 3.x.1b

Will read-only check consistency of the filesystem on /dev/depot/lvol1
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --check started at Sat Mar  9 12:44:21 2002
###########
reiserfs_fetch_ondisk_bitmap: bread failed reading bitmap (491520)
Replaying journal..
0 transactions replayed
Checking S+tree..ok                        
Comparing bitmaps..on-disk bitmap does not match to the correct one.
32767 bits differ
on-disk bitmap does not match to the correct one.
Checking Semantic tree...
ok
There were found 1 corruptions which can be fixed with --fix-fixable
###########
reiserfsck finished at Sat Mar  9 12:44:26 2002
###########

I forced a FS repair but it will not repair. It seems there are no major
corruptions on the FS, but I cannot mount.

# reiserfsck /dev/depot/lvol1 --fix-fixable

<-------------reiserfsck, 2002------------->
reiserfsprogs 3.x.1b

Will check consistency of the filesystem on /dev/depot/lvol1
Will fix what can be fixed w/o --rebuild-tree
Will put log info to 'stdout'

Do you want to run this program?[N/Yes] (note need to type Yes):Yes
###########
reiserfsck --fix-fixable started at Sat Mar  9 12:45:34 2002
###########
reiserfs_fetch_ondisk_bitmap: bread failed reading bitmap (491520)
Replaying journal..
0 transactions replayed
Checking S+tree..ok                        
Comparing bitmaps..on-disk bitmap does not match to the correct one.
32767 bits differ
Trying to fix bitmap ..
 bitmaps were not recovered. 
	You can either run rebuild-tree or live with some leaked space
Checking Semantic tree...
ok
No corruptions found
There are on the filesystem:
	Leaves 658
	Internal nodes 6
	Directories 106
	Other files 2335
	Data block pointers 133863 (zero of them 0)
	Safe links 0
###########
reiserfsck finished at Sat Mar  9 12:45:40 2002
###########

I have upgraded the LVM module to 1.0.1.-rc4 in a 2.4.18 Kernel, but
nothing is changed.

Can somebody show me light at the end of the tunnel PLEASE?

Thanks in advance,

Laurentiu

      reply	other threads:[~2002-03-09 11:47 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-04 11:22 [linux-lvm] vgscan errors Kelly Corbin
2002-03-04 17:26 ` Heinz J . Mauelshagen
2002-03-05 14:20   ` Kelly Corbin
2002-03-05 15:34     ` Heinz J . Mauelshagen
2002-03-05 16:49       ` Kelly Corbin
2002-03-05 18:00         ` [linux-lvm] PV-Move fails, now at 127 Pe's Denie Andriessen
2002-03-06  3:56           ` Heinz J . Mauelshagen
2002-03-06  5:02             ` Denie Andriessen
2002-03-06  5:13               ` Heinz J . Mauelshagen
2002-03-06  5:37               ` Heinz J . Mauelshagen
2002-03-06 19:07               ` Denie Andriessen
2002-03-08 14:19                 ` Denie Andriessen
2002-03-06  5:04             ` Denie Andriessen
2002-03-06  9:01             ` Denie Andriessen
2002-03-07 11:17         ` [linux-lvm] vgscan errors Kelly Corbin
2002-03-08  2:47           ` Heinz J . Mauelshagen
2002-03-08  3:12             ` Andreas Dilger
2002-03-08  6:37               ` Heinz J . Mauelshagen
2002-03-08 16:50                 ` Goetz Bock
2002-03-09 11:47                   ` Laurentiu Simion [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1015696110.3149.10.camel@cr227180-a \
    --to=lsimion@rogers.com \
    --cc=linux-lvm@sistina.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox