linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] LVM problems
@ 2005-12-07  1:47 Kelly Harding
  2005-12-07  2:06 ` Kelly Harding
  2005-12-07 22:13 ` Alasdair G Kergon
  0 siblings, 2 replies; 18+ messages in thread
From: Kelly Harding @ 2005-12-07  1:47 UTC (permalink / raw)
  To: linux-lvm

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

Hi,

I've just brought my Debian Linux box back up after a power failure and 
now my LVM set up seems to be non-functional.

I'm not very clued up on LVM tbh, but it has worked so far fine for ages.

I get the following error if I try  to run 'vgchange -a y 3diskvolume:

device-mapper ioctl cmd 11 failed: Invalid argument
   _deps: task run failed for (254:0)
   Failed to add device (254:0) to dtree
   1 logical volume(s) in volume group "3diskvolume" now active

It obviously won't mount after that as mount tells me it can't find the 
superblock etc.

any ideas? is one of the discs dead?

Thanks,

Kelly

[-- Attachment #2: kelly.harding.vcf --]
[-- Type: text/x-vcard, Size: 149 bytes --]

begin:vcard
fn:Miss Kelly Harding
n:Harding;Kelly
adr:;;;;;;UK
email;internet:kelly.harding@ntlworld.com
x-mozilla-html:FALSE
version:2.1
end:vcard


^ permalink raw reply	[flat|nested] 18+ messages in thread
* [linux-lvm]LVM Problems
@ 2004-02-08 17:50 David Rohrer
  0 siblings, 0 replies; 18+ messages in thread
From: David Rohrer @ 2004-02-08 17:50 UTC (permalink / raw)
  To: linux-lvm

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

I had set up a Red Hat 9.0 Box with no xwindows on it just mainly the basic install.
The /boot, / , and swap are all on HDA....then on HDG and HDH I set up a LVM during the install.

After I filled the drives in the LVM with data I tried to add to more drives to it they were HDC and HDD.
 I'm not the best at this, so I was reading how on the interent...I first tried to just do vgextend and it would error, so i done a pvcreate for each drive and then done a vgextend then I rebooted, I never did a change. so now when it boots it errors out trying to mount the volume and I would have to go into maintenance and edit the fstab and comment out the volume so it will boot

This is what I get when I do a pvscan:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdg1"  is associated to unknown VG "Volume00" (run vgscan)
pvscan -- inactive PV "/dev/hdh1"  is associated to unknown VG "Volume00" (run vgscan)
pvscan -- total: 2 [38.03 GB] / in use: 2 [38.03 GB] / in no VG: 0 [0]

And this is what I get from a vgscan:
pvscan -- reading all physical volumes (this may take a while...)
pvscan -- inactive PV "/dev/hdg1"  is associated to unknown VG "Volume00" (run vgscan)
pvscan -- inactive PV "/dev/hdh1"  is associated to unknown VG "Volume00" (run vgscan)
pvscan -- total: 2 [38.03 GB] / in use: 2 [38.03 GB] / in no VG: 0 [0]


I can send you a vgscan -d if you like but it is quite long, I have data on the volume and would like to fix it, is there a way to fallback to how it was before I tried to add the other 2 hard drives? And if so how do I add the new ones properly?

Thank You
Dio
There are 3 types of people in the world
Those who can count
and thos who can't

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: [linux-lvm] LVM problems
@ 2001-06-19 22:42 Gonyou, Austin
  0 siblings, 0 replies; 18+ messages in thread
From: Gonyou, Austin @ 2001-06-19 22:42 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Ahhh..that explains a lot. My sincere apologies. I was not aware that it was
fixed in CVS. I'd never seen anyone be referenced to that. Thanks for info.

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: AJ Lewis [mailto:lewis@sistina.com]
> Sent: Tuesday, June 19, 2001 4:19 PM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] LVM problems
> 
> 
> On Tue, Jun 19, 2001 at 02:28:05PM -0500, Gonyou, Austin wrote:
> > Why in the hell is this NOT in the source tree by default. 
> This has really
> > got be boggled. I've seen tons of others have this proble, 
> I've had this
> > problem, and still it doesn't seem to get itself into the 
> tree. Is this
> > because it is a temporary problem or something?
> 
> It *is* in the source tree by default.  It is in the CVS.  It 
> is not in
> LVM 0.9.1 Beta7 because LVM 0.9.1 Beta7 was released before 
> linux 2.4.4,
> which is when the problem surfaced.  We have not had a 
> release since then,
> so it is not in the latest release.
> 
> You can now grab the patch and apply it to beta7, which fixes 
> the problem,
> or you can use the CVS repository.  I really don't know what 
> else you expect
> us to do.
> 
> Regards,
> -- 
> AJ Lewis
> Sistina Software Inc.                  Voice:  612-638-0500
> 1313 5th St SE, Suite 111              Fax:    612-638-0500
> Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
> http://www.sistina.com
> 
> Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 
> 1261 0029 2648
> Get my key at: http://www.sistina.com/~lewis/gpgkey
>  (Unfortunately, the PKS-type keyservers do not work with 
> multiple sub-keys)
> 
> -----Begin Obligatory Humorous 
> Quote----------------------------------------
> geep!
> -----End Obligatory Humorous 
> Quote------------------------------------------
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread
* RE: [linux-lvm] LVM problems
@ 2001-06-19 19:28 Gonyou, Austin
  2001-06-19 21:19 ` AJ Lewis
  0 siblings, 1 reply; 18+ messages in thread
From: Gonyou, Austin @ 2001-06-19 19:28 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Why in the hell is this NOT in the source tree by default. This has really
got be boggled. I've seen tons of others have this proble, I've had this
problem, and still it doesn't seem to get itself into the tree. Is this
because it is a temporary problem or something?

-- 
Austin Gonyou
Systems Architect, CCNA
Coremetrics, Inc.
Phone: 512-796-9023
email: austin@coremetrics.com 

> -----Original Message-----
> From: AJ Lewis [mailto:lewis@sistina.com]
> Sent: Tuesday, June 19, 2001 2:24 PM
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] LVM problems
> 
> 
> On Tue, Jun 19, 2001 at 11:27:11AM -0600, Andreas Dilger wrote:
> > I could have sworn this problem was fixed already, but 
> maybe only in CVS?
> > Time for a new patch release I guess.  As someone else 
> already mentioned,
> > simply change get_hardblocksize to get_hardsect_size() in lvm.c.
> 
> I dropped a patch on the FTP site:
> ftp://ftp.sistina.com/pub/LVM/0.9.1_beta/lvm_0.9.1_beta7-get_h
> ardblocksize.patch
> 
> apply this to your LVM source tree and regenerate the kernel patch.
> 
> Regards,
> -- 
> AJ Lewis
> Sistina Software Inc.                  Voice:  612-638-0500
> 1313 5th St SE, Suite 111              Fax:    612-638-0500
> Minneapolis, MN 55414                  E-Mail: lewis@sistina.com
> http://www.sistina.com
> 
> Current GPG fingerprint = 3B5F 6011 5216 76A5 2F6B  52A0 941E 
> 1261 0029 2648
> Get my key at: http://www.sistina.com/~lewis/gpgkey
>  (Unfortunately, the PKS-type keyservers do not work with 
> multiple sub-keys)
> 
> -----Begin Obligatory Humorous 
> Quote----------------------------------------
> A)bort, R)etry, I)nfluence with large hammer.
> -----End Obligatory Humorous 
> Quote------------------------------------------
> 

^ permalink raw reply	[flat|nested] 18+ messages in thread
* [linux-lvm] LVM problems
@ 2001-06-19 12:12 Tobias Hahn
  2001-06-19 12:14 ` Ilya Martynov
  2001-06-19 17:27 ` Andreas Dilger
  0 siblings, 2 replies; 18+ messages in thread
From: Tobias Hahn @ 2001-06-19 12:12 UTC (permalink / raw)
  To: linux-LVM-Bug, linux-LVM

Hi!

I have serious trouble trying to get LVM to work again since I upgraded my lvm-tools to 0.9beta6. I cannot access my vg (and needless to say, almost all of my system is on that vg :-( ). The problem is that the kernel complains about an unsupported ioctl. I looked up this problem in lvm-related mailinglists and figured out that this is a version mismatch between kernel lvm and user lvm. At that point I was using kernel 2.4.3. According to the mailing list, the problem should be fixed in kernel 2.4.4. However, kernel 2.4.5 (downloaded from ftp.kernel.org) still contains 0.9beta2. So I downloaded the lvm-source from ftp.sistina.com (both beta6 and beta7) and tried to patch kernel 2.4.5 following the instructions in PATCHES/README. The patched kernel, however, does not link any longer.

All I'm asking for is a way to get my data back - either by telling me how lvm can be convinced to run or by just getting that stuff off lvm and removing lvm from my system. It would be very nice if someone could at least acknowledge receipt of this problem report, my last mail seems to have vanished out in the void.

Thanx everyone for reading this mail!

Regards, Tobias Hahn

ld -m elf_i386 -T /tmp/linux/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
        --start-group \
        arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/isdn/isdn.a drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/pci/driver.o drivers/video/video.o drivers/md/mddev.o \
        net/network.o \
        /tmp/linux/arch/i386/lib/lib.a /tmp/linux/lib/lib.a /tmp/linux/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/md/mddev.o: In function `__update_hardblocksize':
drivers/md/mddev.o(.text+0x7e01): undefined reference to `get_hardblocksize'
drivers/md/mddev.o(.text+0x7e3d): undefined reference to `get_hardblocksize'
make: *** [vmlinux] Error 1

______________________________________________________________________________
Ferienklick.de - Jede Menge Urlaub auf einen Blick!
Hier geht's zu Ihrem Traumstrand: http://ferienklick.de/?PP=2-0-100-105-1

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

end of thread, other threads:[~2005-12-07 22:13 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-07  1:47 [linux-lvm] LVM problems Kelly Harding
2005-12-07  2:06 ` Kelly Harding
2005-12-07  8:06   ` Anil Kumar Sharma
2005-12-07 22:13 ` Alasdair G Kergon
  -- strict thread matches above, loose matches on Subject: below --
2004-02-08 17:50 [linux-lvm]LVM Problems David Rohrer
2001-06-19 22:42 [linux-lvm] LVM problems Gonyou, Austin
2001-06-19 19:28 Gonyou, Austin
2001-06-19 21:19 ` AJ Lewis
2001-06-20  1:11   ` Ed Tomlinson
2001-06-20 13:50     ` Heinz J. Mauelshagen
2001-06-21  0:58       ` Paul Jakma
2001-06-21  9:05         ` Heinz J. Mauelshagen
2001-06-20  1:15   ` Paul Jakma
2001-06-21  8:58     ` Heinz J. Mauelshagen
2001-06-19 12:12 Tobias Hahn
2001-06-19 12:14 ` Ilya Martynov
2001-06-19 17:27 ` Andreas Dilger
2001-06-19 19:24   ` AJ Lewis

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).