Suddenly a secondary drive with HFS+ partition changed from read-write to read-only. How can I use the mount command to reverse it in mountain lion?
5 Answers
The answers in this thread did not work for me, but this did:
sudo mount -u -o rw /Volumes/VolName
- 71
-
-
Somewhat strangely, I had to run above command twice for it to work. – Blindfreddy Oct 19 '21 at 07:54
Occassionaly when this happens to me I need to use the disk utility included with OSX to verify and repair the disk. Any attempts to use mount -u -w /Volume/NIKON-S9700 will fail with this error:
$ sudo mount -u -w "/Volumes/NIKON-S9700"
mount_msdos: /dev/disk2s1 on /Volumes/NIKON-S9700: Permission denied
You can tell that the disk is mounted read-only like so:
$ mount
/dev/disk1 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s1 on /Volumes/NIKON-S9700 (msdos, local, nodev, nosuid, read-only, noowners)
NOTE: Notice the "read-only" in the output above for device /dev/disk2s1.
Once I run a repair disk from Disk Utility the drive when mounted shows up like this:
$ mount
/dev/disk1 on / (hfs, local, journaled)
devfs on /dev (devfs, local, nobrowse)
map -hosts on /net (autofs, nosuid, automounted, nobrowse)
map auto_home on /home (autofs, automounted, nobrowse)
/dev/disk2s1 on /Volumes/NIKON-S9700 (msdos, local, nodev, nosuid, noowners)
Incidentally the repair disk button might sometimes show up as grayed out. I typically have to unmount and remount the disk with Disk Utility running in order to get this button to show up as clickable.
screenshot of Disk Utility with mounted SD Card

- 4,798
This happens sometimes when a drives filesystem is corrupted. Run Disk Utility and check the filesystem and drive for errors.
- 121
This was silly, but after a bunch of troubleshooting, for me the problem was that I was dealing with an sd card that had its lock switch turned on. I ejected the disk, toggled the switch, re-inserted it, and it was back to read+write.
- 425
mount_hfs: Invalid argument. – 2rs2ts Jan 03 '16 at 19:20