Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Remount nfs storage
# Remount nfs storage
ls /storage > /dev/null
if [ "$?" -ne "0" ]; then
echo "Error listing /storage" 1>&2
umount /storage
mount /storage
echo "Storage remounted" 1>&2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment