[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [dm-devel] [PATCH] block: restore multiple bd_link_disk_holder() support
- From: "Jun'ichi Nomura" <j-nomura ce jp nec com>
- To: Milan Broz <mbroz redhat com>, Tejun Heo <tj kernel org>
- Cc: Jens Axboe <axboe kernel dk>, Valdis Kletnieks vt edu, linux-kernel vger kernel org, linux-raid vger kernel org, device-mapper development <dm-devel redhat com>, Alexander Viro <viro zeniv linux org uk>, linux-fsdevel vger kernel org, Alasdair G Kergon <agk redhat com>
- Subject: Re: [dm-devel] [PATCH] block: restore multiple bd_link_disk_holder() support
- Date: Fri, 14 Jan 2011 16:31:57 +0900
Hi,
On 01/14/11 03:42, Milan Broz wrote:
>> Milan, Jun, can you guys please verify this works correctly for the
>> multi holder dm case? Thank you.
>
> Hi,
>
> unfortunately not. And the problem is much worse,
> it breaks lvm resize operation completely.
For quick testing, try this:
("/dev/sdf" can be other block device.
"testA" and "testB" can be other dm names which aren't used in
your machine.)
# echo "0 10 linear /dev/sdf 0" | dmsetup create testA
# echo "0 10 linear /dev/sdf 10" | dmsetup create testB
(at this point, /dev/sdf has multiple holders)
# echo "0 20 linear /dev/sdf 10" | dmsetup load testB
(at this point, /dev/mapper/testB has 2 claims on /dev/sdf)
# dmsetup resume testB
(/dev/mapper/testB has 1 claim on /dev/sdf)
# dmsetup remove testA
# dmsetup remove testB
Thanks,
--
Jun'ichi Nomura, NEC Corporation
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]