Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Device-mapper Development (http://www.linux-archive.org/device-mapper-development/)
-   -   difference in running multipathd in console versus cron (http://www.linux-archive.org/device-mapper-development/504595-difference-running-multipathd-console-versus-cron.html)

Bart Coninckx 03-23-2011 09:27 AM

difference in running multipathd in console versus cron
 
Hi all,

I've written backup scripts where for a snapshot LV on a iSCSI target
dynamically an iSCSI LUN and according multipath devices are created. To
properly clean them up and create them, multipathd is restarted quite a fiew
times in the script.
When doing this manually this works very well, and you see the multipath
devices being created and disappear again.
Running the same from cron, leads to a lot times where the devices are not
cleaned up, preventing them to be created again for the second run, which then
fails.
I seem to have messages like "backup_DomU: map in use".

This is in SLES11SP1 with multipath-tools-0.4.8-40.25.1.

What could I do to get this running properly from cron as well?

Thank you,



B.

--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel


All times are GMT. The time now is 12:18 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.