There is no such thing as in sync or out of sync if the resource is standalone. It simply is what it is.
Dan From: andreas graeper [mailto:[email protected]] Sent: Friday, June 21, 2013 11:09 AM To: Dan Barker Subject: Re: [DRBD-user] drbdadm verify resource with cron hi, when a drdb-device is standalone + primary, what tells me oss > 0 ? dangerous or is it just a difference to the state when it was connected last time ? thanks andreas 2013/6/21 Dan Barker <[email protected]<mailto:[email protected]>> Roberto: You are not looking for a return code, and the oos counter in /proc/drbd might not go up for hours. What you want is to configure the Out Of Sync handler. Mine (cron to run weekly, one resource per night) says: out-of-sync "/usr/lib/drbd/notify-out-of-sync.sh [email protected]<mailto:[email protected]>"; When I get these email, I can remedy the situation; disconnect/connect to resync, replace a drive if it's bad, whatever. It only sends the email about once per year (not using RAID). Dan in Atlanta From: [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] On Behalf Of Roberto Fastec Sent: Thursday, June 20, 2013 6:56 PM To: [email protected]<mailto:[email protected]> Subject: [DRBD-user] drbdadm verify resource with cron Dear readers I have configured drbd with resource syncer Since everything is running fine, the command #drbdadm verify resource outputs nothing I'm wondering what the output could be if some re-sync is needed, this is meant to use it with cron. Thank you for hinting Roberto _______________________________________________ drbd-user mailing list [email protected]<mailto:[email protected]> http://lists.linbit.com/mailman/listinfo/drbd-user
<<attachment: winmail.dat>>
_______________________________________________ drbd-user mailing list [email protected] http://lists.linbit.com/mailman/listinfo/drbd-user
