search for: copia_ok

Displaying 1 result from an estimated 1 matches for "copia_ok".

2011 Dec 06
0
script for check drbd at mount ocfs2 at boot in debian
...DO_MIRROR" != "Primary/Primary" ]; then? ? ? ? # Make sure that the rola are Primary/Primary? ? ? ? $LOG "El mirror no esta correcto no podemos arrancar..."? ? ? ? exit 1fi $LOG "El mirror esta Ok, podemos montar $MOUNTPOINT .."mount | grep "$MOUNTPOINT";copia_ok=$?if [ "$copia_ok" == 0 ]; then? ? ? ?$LOG "No montamos $MOUNTPOINT por que ya esta montado"? ? ? ?exit 1else mount $MOUNTPOINT? ? ? ? copia_ok=$?? ? ? ? if [ "$copia_ok" != 0 ]; then? ? ? ? ? ? ? ? $LOG "No se ha podido montar $MOUNTPOINT" ? ? ? exit 1? ? ?...