FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.

» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Device-mapper Development

LinkBack Thread Tools
Old 03-20-2011, 03:19 PM
"Eli Malul"
Default the mirror log is NOT kept on disk

I tried a small test where I suspended and resumed a mirrored device without IO going on.
My expectation was that the mirror set will not get re-synced but unfortunately it did.
According the documentation the mirror log is kept on disk when creating a mirror logical device with 'disk' log type as an input parameter.
I looked at the code and I didn't see where the sync_bits are being written to the disk or read from the disk but only the number of regions is being saved.
How should a mirror device survive reboots/crashes without syncing the entire mirror set?
BTW – another problem is that after reboot the created logical device disappears, is there an easy way to keep it persistent or should I create at each boot?
dm-devel mailing list

Thread Tools

All times are GMT. The time now is 07:52 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org