linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Patrick Honing <Patrick.Honing@han.nl>
To: linux-lvm@redhat.com
Subject: [linux-lvm] Trouble creating snapshot device
Date: Mon, 29 May 2006 16:55:20 +0200	[thread overview]
Message-ID: <1148914520.6979.12.camel@earth.han.nl> (raw)

Hello,

We are in trouble creating snapshot devices on fedora-core 4... Kernel
version: 2.6.16-1.2111_FC4smp. We have created new RPM's using the
development SRPMS (device-mapper-1.02.07-1.0 & lvm2-2.02.06-1.2.1). The
same trouble occurs with stock device-mapper & lvm2 RPM's!

Sometimes the snapshot device is created succesfully but most times is
fails... The script:

ophelia.han.nl:~# lvs
  LV      VG   Attr   LSize   Origin Snap%  Move Log Copy%
  cache   vg   -wi-ao   1.00G
  home    vg   -wi-ao 500.00M
  log     vg   -wi-ao 500.00M
  postfix vg   -wi-ao  10.00G
  tmp     vg   -wi-ao 100.00M
  usr     vg   -wi-ao 800.00M
  var     vg   -wi-ao 200.00M
ophelia.han.nl:~# lvcreate -s -n test -L 100M /dev/vg/postfix
  LV vg/test in use: not deactivating
  Couldn't deactivate new snapshot.
ophelia.han.nl:~# lvs
  LV      VG   Attr   LSize   Origin Snap%  Move Log Copy%
  cache   vg   -wi-ao   1.00G
  home    vg   -wi-ao 500.00M
  log     vg   -wi-ao 500.00M
  postfix vg   -wi-ao  10.00G
  test    vg   -wi-a- 100.00M
  tmp     vg   -wi-ao 100.00M
  usr     vg   -wi-ao 800.00M
  var     vg   -wi-ao 200.00M
ophelia.han.nl:~# mount /dev/vg/test /1
mount: you must specify the filesystem type
ophelia.han.nl:~# lvremove /dev/vg/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ophelia.han.nl:~# lvcreate -s -n test -L 100M /dev/vg/postfix
  Logical volume "test" created
ophelia.han.nl:~# mount /dev/vg/test /1
ophelia.han.nl:~# ls /1
active  bounce  corrupt  defer  deferred  flush  hold  incoming  lost
+found  maildrop  pid  private  public  saved  trace
ophelia.han.nl:~# umount /1
ophelia.han.nl:~# lvremove /dev/vg/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ophelia.han.nl:~# lvcreate -s -n test -L 100M /dev/vg/postfix
  LV vg/test in use: not deactivating
  Couldn't deactivate new snapshot.
ophelia.han.nl:~# mount /dev/vg/test /1
mount: you must specify the filesystem type
ophelia.han.nl:~# lvremove /dev/vg/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed
ophelia.han.nl:~# lvcreate -s -n test -L 100M /dev/vg/postfix
  LV vg/test in use: not deactivating
  Couldn't deactivate new snapshot.
ophelia.han.nl:~# lvremove /dev/vg/test
Do you really want to remove active logical volume "test"? [y/n]: y
  Logical volume "test" successfully removed

Anyone any idea?


Kind regards,

Patrick

----------------------------------------------------------------------
| Patrick Honing (Patrick.Honing@han.nl)
| ICT Developer
| Intelligent Network & Middleware Services (INMS)
| Service Bedrijf SU ICT
| Hogeschool van Arnhem en Nijmegen (http://www.han.nl)
| Tel.: +31-26-3691522 Fax: +31-26-3691510

                 reply	other threads:[~2006-05-29 14:55 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=1148914520.6979.12.camel@earth.han.nl \
    --to=patrick.honing@han.nl \
    --cc=linux-lvm@redhat.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;
as well as URLs for NNTP newsgroup(s).