Friday, May 3, 2024
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 20093  / 3 Years ago, tue, july 20, 2021, 9:52:03

This is a recurring problem and occurs a few times a week.



I have an external hard drive which is hfs+. Every couple of weeks, for no obviuous reason, when I mount it by pluggin it in to my Ubuntu 11.10, it is read only and I can't copy any files into it.



I gksudo nautlius and change the ownership and it magically works in some time. But returns to the read only state soon in a few hours-days without any rhyme or reason.



Right now my fstab doesn't have any entry for my hard drive. What gives? What in the world is going on with Linux/HFS+? This is frustrating. I can't reformat my hard drive because I have almost a terrabyte of data in it and no receptacle to hold it while I reformat it.


More From » external-hdd

 Answers
2

This question was asked and answered over at superuser.com:




You need to turn off the journaling if you want to write to it from
Ubuntu. Ubuntu only has support for writing to non-journaled HFS+
volumes.



On your Mac:




  • Open Disk Utility under Applications -> Utilities

  • Select the volume to disable journaling on.

  • Choose Disable Journaling from the File menu. (On later Mac OS versions you'll have to hold down the option button when you click
    the File menu. Or if you like Apple+J)




Journaling is a feature that helps prevent file-system corruption in case of sudden loss of power or major crash and also helps speed recovery during a filesystem check. Just so you know what you will be disabling. You can use a file-system without journaling, you just might have to wait longer and deal with more problems if your computer crashes or loses power.



Support for read+write access with journalling for HFS+ partitions is still in progress. You can forcibly enable it with recent kernels, but it's still considered unsafe [source].


[#35839] Wednesday, July 21, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
elecerna

Total Points: 140
Total Questions: 121
Total Answers: 107

Location: Northern Ireland
Member since Sun, Nov 21, 2021
3 Years ago
;