Skip to contentSkip to conversation

[linux-lvm] [Bug#189650: lvcreate segfaults (possibly after renames)]

linux-lvm Patrick Caulfield 2 participants 2 messages Apr 20, 2003 – Apr 22, 2003

lore
Share & tools
lore
#0 lore raw
Signature · 3 lines
-- 

patrick

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: lvm10
Version: 1:1.0.7-3

I have been methodically going through my system converting each filesystem to reiserfs. This entails the following sort of sequence for /dev/vg/foo

lvcreate -L <size> -n newfoo vg
mkreiserfs /dev/vg/newfoo
mount /dev/vg/newfoo /mnt
rsync -aHxq /where foo mounted/ /mnt
umount /mnt
umount /where foo mounted
edit fstab to change filesystem type to reiserfs
lvremove /dev/vg/roo
lvrename vg newroo roo
mount /where foo mounted

After a while (varies, but could be when I start to reuse the PEs? ) the initial lvcreate seems to get to a stage where it segfaults repeatedly until I deactivate and reactivate the vg (vgchange -a n vg ; vgchange -a y vg).

I have done this on my (only) two systems at home (each with two vg and between 2 and 5 lv on each vg). One is running sid, the other sarge.
- --
Alan Chandler
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oQQYuFHxcV2FFoIRAv/cAJ9AMwENJGSSewVbfyr9XvVkHRtsrwCfbLmM jLMyGxR7uWB1mJP+Mo4IpO0=
=cU9e
-----END PGP SIGNATURE-----

#1 lore raw

Looks like the kernel doesn't have recent patches and that the devfs entry isn't updated properly on lvrename.
Marcelo has those patches and they hopefully show up in 2.4.21 so that there's no need to patch the kernel any longer.

Make sure that the kernel gets patched following README/INSTALL instructions contained in the 1.0.7 source tarball.

Regards,
Heinz -- The LVM Guy --

Quoted 106 lines · Patrick Caulfield
Signature · 103 lines
-- 

patrick


X-Mail-Format-Warning: Bad RFC2822 header formatting in >From patrick  Sat Apr 19 09:51:19 2003
Return-path: <[email protected]>
Envelope-to: patrick@localhost
Delivery-date: Sat, 19 Apr 2003 09:51:19 +0100
Received: from localhost.pjc.net ([127.0.0.1] helo=localhost)
	by arthur.pjc.net with esmtp (Exim 3.36 #1 (Debian))
	id 196o47-0000ff-00
	for <patrick@localhost>; Sat, 19 Apr 2003 09:51:19 +0100
Received: from mail.cix.co.uk
	by localhost with POP3 (fetchmail-5.9.11)
	for patrick@localhost (single-drop); Sat, 19 Apr 2003 09:51:19 +0100 (BST)
Received: from master.debian.org (master.debian.org [65.125.64.135])
	by sulphur.cix.co.uk (8.11.3/CIX/8.11.3) with ESMTP id h3J8jpM26061
	for <[email protected]>; Sat, 19 Apr 2003 09:45:51 +0100 (BST)
X-Envelope-From: [email protected]
Received: from debbugs by master.debian.org with local (Exim 3.12 1 (Debian))
	id 196nXv-00067Z-00; Sat, 19 Apr 2003 03:18:03 -0500
X-Loop: [email protected]
Subject: Bug#189650: lvcreate segfaults (possibly after renames)
Reply-To: Alan Chandler <[email protected]>, [email protected]
Resent-From: Alan Chandler <[email protected]>
Resent-To: [email protected]
Resent-CC: Patrick Caulfield <[email protected]>,
   [email protected]
Resent-Date: Sat, 19 Apr 2003 08:18:01 GMT
Resent-Message-ID: <[email protected]>
X-Debian-PR-Message: report 189650
X-Debian-PR-Package: lvm10
X-Debian-PR-Keywords: 
Received: via spool by [email protected] id=B.105073973922472
          (code B ref -1); Sat, 19 Apr 2003 08:18:01 GMT
Received: (at submit) by bugs.debian.org; 19 Apr 2003 08:08:59 +0000
Received: from pcow053o.blueyonder.co.uk (blueyonder.co.uk) [195.188.53.96] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 196nP9-0005qA-00; Sat, 19 Apr 2003 03:08:59 -0500
Received: from home.chandlerfamily.org.uk ([82.43.75.142]) by blueyonder.co.uk  with Microsoft SMTPSVC(5.5.1877.757.75);
	 Sat, 19 Apr 2003 09:11:30 +0100
Received: from kanger.home ([10.0.10.1] ident=alan)
	by home.chandlerfamily.org.uk with esmtp (Exim 3.36 #1 (Debian))
	id 196nP6-0000iz-00
	for <[email protected]>; Sat, 19 Apr 2003 09:08:56 +0100
From: Alan Chandler <[email protected]>
To: [email protected]
Date: Sat, 19 Apr 2003 09:08:52 +0100
User-Agent: KMail/1.5.1
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-Description: clearsigned data
Content-Disposition: inline
Message-Id: <[email protected]>
Delivered-To: [email protected]
Resent-Sender: Debian BTS <[email protected]>
X-Envelope-To: [email protected]
X-Spam-Status: No, hits=-18.7 required=5.0
	tests=DEBIAN_BTS_BUG,PGP_SIGNATURE,RESENT_TO,USER_AGENT_KMAIL,
	      X_LOOP
	autolearn=ham version=2.53
X-Spam-Level: 
X-Spam-Checker-Version: SpamAssassin 2.53 (1.174.2.15-2003-03-30-exp)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: lvm10
Version: 1:1.0.7-3

I have been methodically going through my system converting each filesystem to 
reiserfs.  This entails the following sort of sequence for /dev/vg/foo

lvcreate -L <size> -n newfoo vg
mkreiserfs /dev/vg/newfoo
mount /dev/vg/newfoo /mnt
rsync -aHxq /where foo mounted/ /mnt
umount /mnt
umount /where foo mounted
edit fstab to change filesystem type to reiserfs
lvremove /dev/vg/roo
lvrename vg newroo roo
mount /where foo mounted

After a while (varies, but could be when I start to reuse the PEs? ) the 
initial lvcreate seems to get to a stage where it segfaults repeatedly until 
I deactivate and reactivate the vg (vgchange -a n vg ; vgchange -a y vg).

I have done this on my (only) two systems at home (each with two vg and 
between 2 and 5 lv on each vg).  One is running sid, the other sarge.
- -- 
Alan Chandler
[email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+oQQYuFHxcV2FFoIRAv/cAJ9AMwENJGSSewVbfyr9XvVkHRtsrwCfbLmM
jLMyGxR7uWB1mJP+Mo4IpO0=
=cU9e
-----END PGP SIGNATURE-----

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-