Is there a default method in OpenWRT to check if any USB storage is mounted and available for writing. I would like to write to USB Storage if is present or show an error message in Luci interface warning the users.
afaik no, the only thing is hotplug events when the USB/Sata/whatever is inserted or removed, so you probably just have to create a dummy file in the USB and check if the file exists, or do it in the mount folder on the main storage as explained in that old doc.