Linux LVM users
 help / color / mirror / Atom feed
From: Tracy R Reed <treed@ultraviolet.org>
To: linux-lvm@msede.com
Subject: [linux-lvm] hangs when mounting snapshot
Date: Wed, 20 Sep 2000 22:50:21 -0700	[thread overview]
Message-ID: <20000920225021.H6334@ultraviolet.org> (raw)

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

             reply	other threads:[~2000-09-21  5:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-09-21  5:50 Tracy R Reed [this message]
2000-09-21 13:18 ` [linux-lvm] hangs when mounting snapshot David Ayton
2000-09-25 21:24 ` Tracy R Reed
2000-09-26  1:46   ` Andreas Dilger
2000-09-26  7:46     ` Tracy R Reed
2000-09-27 20:51       ` Andreas Dilger
2000-09-26  8:01     ` Tracy R Reed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20000920225021.H6334@ultraviolet.org \
    --to=treed@ultraviolet.org \
    --cc=linux-lvm@msede.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox