Linux LVM users
 help / color / mirror / Atom feed
* [linux-lvm] LVM 1: Snapshot causes seg fault of lvdisplay and crashes system
@ 2004-02-14  1:05 Ken Fuchs
  2004-02-16  4:29 ` Heinz Mauelshagen
  0 siblings, 1 reply; 2+ messages in thread
From: Ken Fuchs @ 2004-02-14  1:05 UTC (permalink / raw)
  To: linux-lvm

I did the following to create a snapshot of an active filesystem to try
to make a consistent copy of it:

# lvcreate --extents 30 --snapshot --name home2snap /dev/sys/home2gb
...
lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/sys/home\
2snap"
lvcreate -- doing automatic backup of "sys"
lvcreate -- logical volume "/dev/sys/home2snap" successfully created

# lvdisplay /dev/sys/home2gb
--- Logical volume ---
LV Name                /dev/sys/home2gb
VG Name                sys
LV Write Access        read/write
LV snapshot status     source of
                       /dev/sys/home2snap [active]
Segmentation fault
# lvdisplay /dev/sys/home2gb
--- Logical volume ---
LV Name                /dev/sys/home2gb
VG Name                sys
LV Write Access        read/write
LV snapshot status     source of
                       /dev/sys/home2snap [active]
Segmentation fault
ecstasy:/#

<At this point I lost my remote connection to the machine and presume it
crashed; it probably didn't reboot, since subsequent attempts to
reconnect via ssh failed and ping failed as well.>

The kernel is probably 1.0.3 (Debian SPARC sun4u 2.4.21 up) and the lvm
tools are 1.0.8.

Any suggestions for avoiding these seg faults and the system crash?

Sincerely,

Ken Fuchs <kfuchs@winternet.com>

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

* Re: [linux-lvm] LVM 1: Snapshot causes seg fault of lvdisplay and crashes system
  2004-02-14  1:05 [linux-lvm] LVM 1: Snapshot causes seg fault of lvdisplay and crashes system Ken Fuchs
@ 2004-02-16  4:29 ` Heinz Mauelshagen
  0 siblings, 0 replies; 2+ messages in thread
From: Heinz Mauelshagen @ 2004-02-16  4:29 UTC (permalink / raw)
  To: linux-lvm

On Sat, Feb 14, 2004 at 12:15:37AM -0600, Ken Fuchs wrote:
> I did the following to create a snapshot of an active filesystem to try
> to make a consistent copy of it:
> 
> # lvcreate --extents 30 --snapshot --name home2snap /dev/sys/home2gb
> ...
> lvcreate -- INFO: using default snapshot chunk size of 64 KB for "/dev/sys/home\
> 2snap"
> lvcreate -- doing automatic backup of "sys"
> lvcreate -- logical volume "/dev/sys/home2snap" successfully created
> 
> # lvdisplay /dev/sys/home2gb
> --- Logical volume ---
> LV Name                /dev/sys/home2gb
> VG Name                sys
> LV Write Access        read/write
> LV snapshot status     source of
>                        /dev/sys/home2snap [active]
> Segmentation fault
> # lvdisplay /dev/sys/home2gb
> --- Logical volume ---
> LV Name                /dev/sys/home2gb
> VG Name                sys
> LV Write Access        read/write
> LV snapshot status     source of
>                        /dev/sys/home2snap [active]
> Segmentation fault
> ecstasy:/#
> 
> <At this point I lost my remote connection to the machine and presume it
> crashed; it probably didn't reboot, since subsequent attempts to
> reconnect via ssh failed and ping failed as well.>
> 
> The kernel is probably 1.0.3 (Debian SPARC sun4u 2.4.21 up) and the lvm
> tools are 1.0.8.
> 
> Any suggestions for avoiding these seg faults and the system crash?

Upgrade to an actual driver LVM version. You hit a list bug IRT snapshots.

> 
> Sincerely,
> 
> Ken Fuchs <kfuchs@winternet.com>
> 
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

-- 

Regards,
Heinz    -- The LVM Guy --

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

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

Heinz Mauelshagen                                 Red Hat, Inc.
Consulting Development Engineer                   Am Sonnenhang 11
                                                  56242 Marienrachdorf
                                                  Germany
Mauelshagen@RedHat.com                            +49 2626 141200
                                                       FAX 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

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

end of thread, other threads:[~2004-02-16  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-14  1:05 [linux-lvm] LVM 1: Snapshot causes seg fault of lvdisplay and crashes system Ken Fuchs
2004-02-16  4:29 ` Heinz Mauelshagen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox