My setup: MacBook Pro dual-booting in Snow Leopard (10.6.5) and Maverick (10.10). hfsprogs is version 332.25-8.
I've created a partition to share files between OS X and Ubuntu, formatted as HFS+. As I've started to use this partition, I've noticed a variety of troubling problems. I've been able to reproduce the following:
1) Deleting a directory causes a segfault, system freeze, and irreparable partition
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restore a particular large directory from a Time Machine backup to the partition
- Restart in Ubuntu
- Invoke "rm -r" targeting the directory
- segfault occurs
- Various applications freeze, and it's impossible to cleanly shut down
- OS X Disk Utility reports that the disk can't be repaired
2) Deleting a file causes fsck errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Copy a 20 KB text file (abcd.txt, attached) to the partition
- Restart in Ubuntu
- Invoke fsck on the partition: no errors
- Invoke "rm" targeting the file
- Invoke fsck on the partition: errors ("Invalid volume file count", "Invalid volume free block count")
3) Writing a directory causes Disk Utility errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restart in Ubuntu
- Copy ("cp -R") a certain large directory to the partition
- Invoke fsck on the partition: no errors
- Restart in OS X
- Run OS X Disk Utility's verification on the partition: error ("Unused node is not erased")
Binary package hint: hfsprogs
My setup: MacBook Pro dual-booting in Snow Leopard (10.6.5) and Maverick (10.10). hfsprogs is version 332.25-8.
I've created a partition to share files between OS X and Ubuntu, formatted as HFS+. As I've started to use this partition, I've noticed a variety of troubling problems. I've been able to reproduce the following:
1) Deleting a directory causes a segfault, system freeze, and irreparable partition
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restore a particular large directory from a Time Machine backup to the partition
- Restart in Ubuntu
- Invoke "rm -r" targeting the directory
- segfault occurs
- Various applications freeze, and it's impossible to cleanly shut down
- OS X Disk Utility reports that the disk can't be repaired
2) Deleting a file causes fsck errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Copy a 20 KB text file (abcd.txt, attached) to the partition
- Restart in Ubuntu
- Invoke fsck on the partition: no errors
- Invoke "rm" targeting the file
- Invoke fsck on the partition: errors ("Invalid volume file count", "Invalid volume free block count")
3) Writing a directory causes Disk Utility errors
- Format the partition with the OS X Disk Utility (HFS+, no journaling)
- Restart in Ubuntu
- Copy ("cp -R") a certain large directory to the partition
- Invoke fsck on the partition: no errors
- Restart in OS X
- Run OS X Disk Utility's verification on the partition: error ("Unused node is not erased")