From mboxrd@z Thu Jan 1 00:00:00 1970 Date: Mon, 25 Sep 2000 14:24:31 -0700 From: Tracy R Reed Subject: Re: [linux-lvm] hangs when mounting snapshot Message-ID: <20000925142431.A8244@ultraviolet.org> References: <20000920225021.H6334@ultraviolet.org> Mime-Version: 1.0 In-Reply-To: <20000920225021.H6334@ultraviolet.org>; from treed@ultraviolet.org on Wed, Sep 20, 2000 at 10:50:21PM -0700 Sender: owner-linux-lvm Errors-To: owner-linux-lvm List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-lvm@msede.com Hello again. I upgraded to util-linux-2.10o which includes the latest version of mount and it is still hanging when mounting snapshots. It segfaults first, then hangs on the next attempt. Is there anything else I need to upgrade to get this working? On Wed, Sep 20, 2000 at 10:50:21PM -0700, Tracy R Reed wrote: > Over the past few weeks I have been playing around with LVM with great success. > However, I have been experimenting with snapshots recently and run into a > problem. I have tried this with reiserfs and ext2 as the filesystem (not that > it should matter to LVM but I mention it because mount is involved) and get > identical results. > > I am using kernel 2.4.0-test6 and lvm_0.8final. > > I created a snapshot like so: > > # lvcreate --size 16m --snapshot --name snap /dev/test_vg/test_lv > lvcreate -- WARNING: all snapshots will be disabled if more than 16 MB are changed > lvcreate -- INFO: using default snapshot chunk size of 64 KB > lvcreate -- doing automatic backup of "test_vg" > lvcreate -- logical volume "/dev/test_vg/snap" successfully created > > Everything looks cool: > > # lvscan > lvscan -- ACTIVE "/dev/another_test_vg/another_test_lv" [300 MB] > lvscan -- ACTIVE "/dev/test_vg/test_lv" [63.91 GB] striped[2] > lvscan -- ACTIVE "/dev/test_vg/snap" [63.91 GB] striped[2] > lvscan -- 3 logical volumes with 128.12 GB total in 2 volume groups > lvscan -- 3 active logical volumes > > Then I try to mount it with: > > # mount /dev/test_vg/snap /snap1 > Segmentation fault > > Then I try: > > # mount /dev/test_vg/snap /snap1 > > which hangs the mount command. The rest of the system is ok but not even kill > -9 can get rid of that mount command. The system won't reboot properly because > it hangs when trying to unmount filesystems and I have to hit the switch. > > Any ideas? Do I need to update my version of mount to support snapshots or > something? > > -- > Tracy Reed http://www.ultraviolet.org > -- Tracy Reed http://www.ultraviolet.org