Skip to contentSkip to conversation

device mapper integrated loops - and one more

DISCUSSION roland 1 participant 1 message Nov 22, 2006 Device mapper

lore
Share & tools
lore

roland

author
#0 lore raw

Hi Bryn,

Quoted 1 line

Yes, dm-loop will support as many loop devices as device-mapper can allow.

fine. i assume this is >>256 !? :)

Quoted 3 lines

The changes dm-loop requires in device-mapper core are pretty minor and have already been merged in 2.6.19, so it's just the dm-loop patch itself remaining.

ok, thanks

Quoted 3 lines

This should work fine - there are a couple of known issues with the existing patch, but unless you are using large images (>2G), or have a severely fragmented filesystem you shouldn't run into these.

i have several iso images of dvd-roms on my server which i`d like to mount loopback. they are >2gb, so i think i wait for the fix.

Quoted 3 lines

I'll see if we can get a revised version of the current patch for wider testing in the next couple of weeks - let me know if you would be interested in trying this out.

yes indeed, that would be nice! if it isn´t any additional effort for you, please let me know since i`m not on this list (too much mail, anyway) i can offer testing dm-loop with a very large number (>200) of cd-rom/dvd-images.

roland

Subject:    Re: [dm-devel] Re: device mapper integrated loops - and one more
From:       "Bryn M. Reeves" <breeves () redhat ! com>
Date:       2006-11-21 21:11:37
Message-ID: 45636B89.7080407 () redhat ! com

[Download message RAW]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines · [email protected] wrote:

Hello !

after desparately seeking for a solution to have more than 256 loop devices (for a huge cd-rom server), i have recently come across dm-loop, which looks very promising (to replace loop.c)

can i have more than 256 devices which this?

Hi Roland,

Yes, dm-loop will support as many loop devices as device-mapper can allow.

Quoted 7 lines

our cd-rom server is going to have more than 256 iso-images soon and i need to upgrade to a more recent OS, anyway, so this won`t be a problem that dm-loop is so brand new.

but - any timeline for dm-loop mainline inclusion ?

should i wait for 2.6.19 or 2.6.20 ?

There isn't a fixed timeline. We are currently working to improve the lookup code - the prototype patch uses a linear search which doesn't scale well for large/fragmented image files. I have some tests running at the moment and we hope to have something soon - the results so far are good, it's just a case of selecting between a couple of different methods.

The changes dm-loop requires in device-mapper core are pretty minor and have already been merged in 2.6.19, so it's just the dm-loop patch itself remaining.

Quoted 2 lines

is it already useable with less recent kernels, i.e. can i download dm-loop patch and recent dmsetup tool and use with older kernel ?

This should work fine - there are a couple of known issues with the existing patch, but unless you are using large images (>2G), or have a severely fragmented filesystem you shouldn't run into these.

I'll see if we can get a revised version of the current patch for wider testing in the next couple of weeks - let me know if you would be interested in trying this out.

Thanks,

Bryn.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFFY2uJ6YSQoMYUY94RArTwAJwMmCJbTajxmX6Q/ps545zbgvJJOACg28NP A+F6CtqcHH0fOG9lq2XQw/8=
=CzES
-----END PGP SIGNATURE-----

--
dm-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/dm-devel