I have RAID 5 self-powered external array in here, and I can't mount it.

pi@raspberrypi:~ $ lsblk
sda           8:0    0 36.4T  0 disk
├─sda1        8:1    0  200M  0 part
└─sda2        8:2    0 36.4T  0 part
mmcblk0     179:0    0 59.5G  0 disk
├─mmcblk0p1 179:1    0 41.8M  0 part /boot
└─mmcblk0p2 179:2    0 59.4G  0 part /

FS is HFS+, so I've installed hfstools and tried this:

pi@raspberrypi:~ $ sudo mount -t hfsplus -o force,rw /dev/sda2 /media/vault
mount: mount /dev/sda2 on /media/vault failed: File too large

You are trying to mount 36.4 terrabyte. Wikipedia says to mounting HFS+ partitions on Linux:

In 2009, these drivers were diagnosed to be corrupting HFS+ drives with a capacity greater than 2 TB.[19] Consequently, Linux distributions such as Debian and Ubuntu also stopped allowing mounting of HFS+ drives or partitions greater than 2 TB. As of February 2011, work is in progress to lift this restriction. [21]

| improve this answer | |
  • What a sad life, so there's totally no way to use HFS+ in Linux..? – holms Apr 12 '18 at 18:09
  • @holms Don't know, I use debian with its default file system ext4. But it seems there is some hope for HFS+. I have updated my answer. Quote: "As of February 2011, work is in progress to lift this restriction." Follow note [21] – Ingo Apr 12 '18 at 22:18
  • Okay there's seems to be Paragon ntfs/hfs+ for linux 9 product working just fine. Software costs 25£ and fine with paying this amount, as I'll be using this raid array a lot under under mac too not just for rpi – holms Apr 15 '18 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.