linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] Remount a LVM Vol after a system crash
@ 2001-10-16 16:19 Christoph Berger
  2001-10-16 21:40 ` Heinz J . Mauelshagen
  0 siblings, 1 reply; 17+ messages in thread
From: Christoph Berger @ 2001-10-16 16:19 UTC (permalink / raw)
  To: linux-lvm

[-- Attachment #1: Type: text/plain, Size: 2760 bytes --]

Hello,
A few days ago my system crashes and i’ve used LVM v 0.8 with one volume
group(server), two physical volumes(hda6, hdb6) and one logical
volume(dev/server/ftp)
Now i’ve installed Suse 7.2 with LVM v 0.9 Beta7, but i can’t mount the
logical volume.
The error message is:
# mount /dev/server/ftp /mnt
mount: wrong fs type, bad option, bad superblock on /dev/server/ftp,
       or too many mounted file systems
 
I get the following outputs from my system:
 
# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "server"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume
group
 
# pvscan
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- ACTIVE   PV "/dev/hda6" of VG "server" [37.78 GB / 0 free]
pvscan -- ACTIVE   PV "/dev/hdb5" of VG "server" [41.92 GB / 0 free]
pvscan -- total: 2 [79.71 GB] / in use: 2 [79.71 GB] / in no VG: 0 [0]
 
# pvdisplay /dev/hda6
--- Physical volume ---
PV Name               /dev/hda6
VG Name               server
PV Size               37.78 GB / NOT usable 3.75 MB [LVM: 267 KB]
PV#                   1
PV Status             available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       4096
Total PE              9671
Free PE               0
Allocated PE          9671
PV UUID               /dev/h-da6
 
# pvdisplay /dev/hdb5
--- Physical volume ---
PV Name               /dev/hdb5
VG Name               server
PV Size               41.93 GB / NOT usable 3.45 MB [LVM: 271 KB]
PV#                   2
PV Status             available
Allocatable           yes (but full)
Cur LV                1
PE Size (KByte)       4096
Total PE              10732
Free PE               0
Allocated PE          10732
PV UUID               /dev/h-db5
 
# vgchange -ay
vgchange -- volume group "server" already active
 
# lvchange -ay /dev/server/ftp
lvchange -- logical volume "/dev/server/ftp" is already active
lvchange -- availability of logical volume "/dev/server/ftp" doesn't
have to be changed
lvchange -- logical volume "/dev/server/ftp" didn't have to be changed
 
 
I’ve tried to follow the instructions of the mailing list article, i’ve
found at http://www.geocrawler.com/archives/3/3500/2001/4/0/5655568/
But it doesn’t work, After vgchange –ay I get an error message, too,
like
 
vgcfgrestore -- ERROR: different structure size stored in
"/etc/lvmconf/export.conf"
than expected in file vg_cfgrestore.c [line 
> 120]
> vgcfgrestore -- ERROR "vg_cfgrestore(): read" restoring volume group
"export"
 
I hope you can help me,
Thanks 
Christoph 

[-- Attachment #2: Type: text/html, Size: 18652 bytes --]

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [linux-lvm] read_intr errors
@ 2001-10-17 20:21 Karl
  2001-10-17 21:20 ` Erick Calder
  0 siblings, 1 reply; 17+ messages in thread
From: Karl @ 2001-10-17 20:21 UTC (permalink / raw)
  To: linux-lvm

Have you tried mke2fs with the -c option in LVM and on the drive without
LVM?  I'm seeing a lot of errors on a SCSI disk that has no hardware
problems unless it is in LVM.

On Wed, Oct 17, 2001 at 02:27:21AM -0700, Erick Calder e@arix.com XXXXXXXXXXXXXXXXXXXX wrote:
> hi everyone, I've read a number of dialogues on the archives concerning the
> errors below which I'm getting but have not found any answers:
> 
> I'm running RedHat 7.0 (2.4.9 kernel + LVM 1.0.1rc1) on a little PIII box
> and I'm using the ide controllers built into the motherboard (drivers built
> into the kernel - not modules).  I have CONFIG_IDEDISK_MULTI_MODE set to y
> in the .config for the kernel.  The drive is an IBM-DTLA-307030 (as reported
> by /proc/ide) and is brand new.
> 
> here are the errors:
> 
> Oct 17 02:00:34 beowulf kernel: hdc: read_intr: error=0x04 {
> DriveStatusError }
> Oct 17 02:00:34 beowulf kernel: hdc: read_intr: status=0x59 { DriveReady
> SeekComplete DataRequest Error }
> Oct 17 02:00:34 beowulf kernel: hdc: read_intr: error=0x04 {
> DriveStatusError }
> Oct 17 02:00:34 beowulf kernel: ide1: reset: success
> 
> I've been moving data in and out of the drive and everything seems ok but I
> get lots of the above errors which leaves me with a queasy feeling...
> anyone know what the deal is with this?
> 
> 1k thx - e
> 
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html

-- 
Karl Hakimian
XXXXXXXXXXXXXXXX

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [linux-lvm] read_intr errors
@ 2001-10-17 22:27 Karl
  0 siblings, 0 replies; 17+ messages in thread
From: Karl @ 2001-10-17 22:27 UTC (permalink / raw)
  To: linux-lvm

On Wed, Oct 17, 2001 at 02:20:23PM -0700, Erick Calder e@arix.com XXXXXXXXXXXXXXXXXXXX wrote:
> I haven't tried that but if I unmount the filesystem and check it:
> 
> # umount /dev/LVM/mp3z
> # fsck /dev/LVM/mp3z
> 
> it comes up clean....  is that not an equivalent test?

Not sure. I don't think fsck checks every block. The errors I saw certainly
were consistant in location on the LVM, but there were no corrisponding errors
on the hardware. You can try the following

cat /dev/vg.../lvol/... >/dev/null # where vg and lvol are appropriate for your file system.

cat /dev/hd... # were hd is your physical device. If you get errors on one and
# not the other, you too will be an example of the problem we are talking about.

-- 
Karl Hakimian

^ permalink raw reply	[flat|nested] 17+ messages in thread
* Re: [linux-lvm] read_intr errors
@ 2001-10-24 11:36 Karl
  0 siblings, 0 replies; 17+ messages in thread
From: Karl @ 2001-10-24 11:36 UTC (permalink / raw)
  To: linux-lvm

> Well that looks OK
>  
> > as you can see, no errors.  Now, having said that, I've come to realise that
> > the errors I get happen when accessing my tape drive (which is scsi) - at
> > least I think that's what's happening... weird.  do you then think this is
> > related to the problems others have had? and if so, was there a fix?
> 
> The thread about SCSI errors just stopped so I don't know what happened there.
> There was some thought that maybe LVM was trying to access beyond the end of the
> disk so you could check to see if the LV is using all the space on /dev/hdc and
> back it off a little so see if that helps. It may also be worth upgrading to
> LVM 1.0.1rc4.

I have not had a chance to try the last suggestion of seeing if I have
problems on an MD device. There has not yet been a solution to the SCSI based
problems.

-- 
Karl Hakimian
XXXXXXXXXXXXXXXX

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2001-10-30  2:55 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16 16:19 [linux-lvm] Remount a LVM Vol after a system crash Christoph Berger
2001-10-16 21:40 ` Heinz J . Mauelshagen
2001-10-17  9:27   ` [linux-lvm] read_intr errors Erick Calder
2001-10-17 14:29     ` Patrick Caulfield
2001-10-17 20:08       ` Erick Calder
2001-10-18  7:42         ` Patrick Caulfield
2001-10-23 23:19           ` Erick Calder
2001-10-24  4:25             ` Patrick Caulfield
2001-10-26  2:13               ` Erick Calder
2001-10-26  3:29                 ` Patrick Caulfield
2001-10-26 16:16                   ` Erick Calder
2001-10-30  2:55                     ` Patrick Caulfield
  -- strict thread matches above, loose matches on Subject: below --
2001-10-17 20:21 Karl
2001-10-17 21:20 ` Erick Calder
2001-10-18  0:09   ` Wolfgang Weisselberg
2001-10-17 22:27 Karl
2001-10-24 11:36 Karl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).