On 03/04/2016 12:28 PM, Tim wrote:
Allegedly, on or about 03 March 2016, jd1008 sent:
I have a 4tb hfsplus partition. Mounting and writing to it present no problems. However
- sync command hangs
Educated guess... file system fault? Is there a file system check program for that particular filing system.
Hanging sync sounds like it's not finishing updating the filesystem (the original write seemed to work, because it didn't actually write and complete when you thought it did, it's gone into cache, you're returned to carry on doing other things, and syncing would be the next step in the background (though it would try to do it, some time after the write, before you tried manually syncing).
Though, another thought is - would there be anything else with a grip on the mount point, that's not letting go?
- umount of any hfsplus partion, hangs.
- reboot hangs (it never reboots, forcing me to use the hard reset)
- shutdown now hangs requires hard reset.
- using the gui system -> shutdown -> [shutdown|restart|suspend|hibernate] hang forever, thus also requiring hard reset.
All of those would be failing for the same reason - trying to sync a file system before it shuts down, and it'll wait until the sync finished, or perhaps for a lengthy timeout.
There is /sbin/fsck.hfsplus
but as you know, fsck runs automagically when the system detects insertion into the usb port a storage device, and attempts to mount it, and find it was not shutdown cleanly, and runs the fsck. So, not sure about the "grip" :)
I wonder if I should open a bug at bugzilla.redhat.com and/or at bugzilla.kernel.org.