From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: CaT <cat@zip.com.au>
Cc: dm-devel@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: 2.6.16.20/dm: can't create more then one snapshot of an lv
Date: Tue, 20 Jun 2006 12:02:09 +0200 [thread overview]
Message-ID: <20060620100209.GA4566@redhat.com> (raw)
In-Reply-To: <20060620005405.GY2059@zip.com.au>
How many snapshots active at once ?
I guess this is a kcopyd scalability issue which needs addressing.
Regards,
Heinz -- The LVM Guy --
On Tue, Jun 20, 2006 at 10:54:05AM +1000, CaT wrote:
> On Mon, Jun 19, 2006 at 12:00:40PM +1000, CaT wrote:
> > I am attempting to create multiple snapshots of an lv ontop of a raid-5
> > software raid device and ext3+dir_index and resize_inode for the fs.
> > The kernel is a pure 64bit compile with Debian Sarge amd64 running on
> > top of it. The kernel is monolithic and I'm using lvm2 2.01.03-5 with
> > devmapper 1.01.
> >
> > This works under 2.6.15.7. Under 2.6.16.20 I get this:
>
> 2.6.17 also fails.
>
> More info: The failing kernels can deal with multiple pre-created
> snapshots but the moment I try to create one it freezes as below. Mounting
> another snapshotted volume at the time this is frozen freezes mount.
>
> After reboot the snapshot it froze on making is available to the system
> (though the reboot fails on shutdown as it cannot unmount anything).
>
> > # lvcreate --snapshot --size 50G --name snap-13 --permission r --verbose /dev/backups/main
> > Setting chunksize to 16 sectors.
> > Finding volume group "backups"
> > Creating logical volume snap-13
> > Archiving volume group "backups" metadata.
> > Creating volume group backup "/etc/lvm/backup/backups"
> > Found volume group "backups"
> > Loading backups-snap--13
> > Zeroing start of logical volume "snap-13"
> > Found volume group "backups"
> > Removing backups-snap--13
> > Found volume group "backups"
> > Found volume group "backups"
> > Found volume group "backups"
> > Loading backups-main-real
> > Loading backups-snap--12-cow
> > Loading backups-snap--12
> > *freeze*
>
> --
> "To the extent that we overreact, we proffer the terrorists the
> greatest tribute."
> - High Court Judge Michael Kirby
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Storage Development 56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com PHONE +49 171 7803392
FAX +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
WARNING: multiple messages have this Message-ID (diff)
From: Heinz Mauelshagen <mauelshagen@redhat.com>
To: CaT <cat@zip.com.au>
Cc: linux-kernel@vger.kernel.org, dm-devel@redhat.com
Subject: Re: 2.6.16.20/dm: can't create more then one snapshot of an lv
Date: Tue, 20 Jun 2006 12:02:09 +0200 [thread overview]
Message-ID: <20060620100209.GA4566@redhat.com> (raw)
In-Reply-To: <20060620005405.GY2059@zip.com.au>
How many snapshots active at once ?
I guess this is a kcopyd scalability issue which needs addressing.
Regards,
Heinz -- The LVM Guy --
On Tue, Jun 20, 2006 at 10:54:05AM +1000, CaT wrote:
> On Mon, Jun 19, 2006 at 12:00:40PM +1000, CaT wrote:
> > I am attempting to create multiple snapshots of an lv ontop of a raid-5
> > software raid device and ext3+dir_index and resize_inode for the fs.
> > The kernel is a pure 64bit compile with Debian Sarge amd64 running on
> > top of it. The kernel is monolithic and I'm using lvm2 2.01.03-5 with
> > devmapper 1.01.
> >
> > This works under 2.6.15.7. Under 2.6.16.20 I get this:
>
> 2.6.17 also fails.
>
> More info: The failing kernels can deal with multiple pre-created
> snapshots but the moment I try to create one it freezes as below. Mounting
> another snapshotted volume at the time this is frozen freezes mount.
>
> After reboot the snapshot it froze on making is available to the system
> (though the reboot fails on shutdown as it cannot unmount anything).
>
> > # lvcreate --snapshot --size 50G --name snap-13 --permission r --verbose /dev/backups/main
> > Setting chunksize to 16 sectors.
> > Finding volume group "backups"
> > Creating logical volume snap-13
> > Archiving volume group "backups" metadata.
> > Creating volume group backup "/etc/lvm/backup/backups"
> > Found volume group "backups"
> > Loading backups-snap--13
> > Zeroing start of logical volume "snap-13"
> > Found volume group "backups"
> > Removing backups-snap--13
> > Found volume group "backups"
> > Found volume group "backups"
> > Found volume group "backups"
> > Loading backups-main-real
> > Loading backups-snap--12-cow
> > Loading backups-snap--12
> > *freeze*
>
> --
> "To the extent that we overreact, we proffer the terrorists the
> greatest tribute."
> - High Court Judge Michael Kirby
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Heinz Mauelshagen Red Hat GmbH
Consulting Development Engineer Am Sonnenhang 11
Storage Development 56242 Marienrachdorf
Germany
Mauelshagen@RedHat.com PHONE +49 171 7803392
FAX +49 2626 924446
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
next prev parent reply other threads:[~2006-06-20 10:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-19 2:00 2.6.16.20/dm: can't create more then one snapshot of an lv CaT
2006-06-20 0:54 ` CaT
2006-06-20 10:02 ` Heinz Mauelshagen [this message]
2006-06-20 10:02 ` Heinz Mauelshagen
2006-06-20 11:46 ` CaT
2006-06-20 11:55 ` Heinz Mauelshagen
2006-06-20 11:55 ` Heinz Mauelshagen
2006-06-20 12:17 ` CaT
2006-06-20 14:20 ` Alasdair G Kergon
2006-06-20 14:20 ` Alasdair G Kergon
2006-06-27 2:55 ` CaT
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=20060620100209.GA4566@redhat.com \
--to=mauelshagen@redhat.com \
--cc=cat@zip.com.au \
--cc=dm-devel@redhat.com \
--cc=linux-kernel@vger.kernel.org \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.