Hi,
I have a file system that is present on some servers but not others /dev/sdb, what is the best way to automatically format this disk if is is currently not formatted and then mount it to /data. If the device does not exist then which should not attempt to format it or mount it and if the device exists and is already formatted then we should just mount it?
Thanks
Mark