[SOLVED] Pogoplug series 4: Trying to mount 4TB HFS+ USB HD

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

[SOLVED] Pogoplug series 4: Trying to mount 4TB HFS+ USB HD

Postby winestock » Mon Nov 05, 2012 12:34 am

Hi,

I am currently running ARM Linux 3.1.10-13 on my Pogoplug series 4. I am trying to mount 4TB hard drives that have been formatted HFS+ (under OS X 10.8.2), journaling has been disabled, GPT partition. I have installed all current system and filesystem updates. I have also installed udev-automount. When I attempt to mount 4TB HFS+ USB hard drives, the hard drive will not mount. This is what is reported in /var/log/messages.log:

$this->bbcode_second_pass_code('', '
Dec 31 19:00:07 localhost kernel: [ 18.005858] scsi 1:0:0:1: Direct-Access DataTale RSM2QJ2 PQ: 0 ANSI: 2 CCS
Dec 31 19:00:07 localhost kernel: [ 18.006772] sd 1:0:0:1: Attached scsi generic sg1 type 0
Dec 31 19:00:07 localhost kernel: [ 18.020724] sd 1:0:0:0: [sdb] 7814037152 512-byte logical blocks: (4.00 TB/3.63 TiB)
Dec 31 19:00:07 localhost kernel: [ 18.021564] sd 1:0:0:0: [sdb] Write Protect is off
Dec 31 19:00:07 localhost kernel: [ 18.036530] sd 1:0:0:1: [sdb] Very big device. Trying to use READ CAPACITY(16).
Dec 31 19:00:07 localhost kernel: [ 18.202394] sdb: sdb1 sdb2
Dec 31 19:00:07 localhost kernel: [ 18.220468] Alternate GPT is invalid, using primary GPT.
Dec 31 19:00:07 localhost kernel: [ 21.950853] hfs: invalid secondary volume header
Dec 31 19:00:07 localhost kernel: [ 21.950874] hfs: unable to find HFS+ superblock
')

I can plug 2TB HFS+ formatted hard drives (journaling disabled), GPT partition, into the Pogoplug back USB ports and the drives will be mounted R/W without issue. Thoughts on how to resolve this?
Last edited by winestock on Sun Nov 11, 2012 5:29 am, edited 2 times in total.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby moonman » Mon Nov 05, 2012 4:29 am

There is a bug in HFS driver in linux that doesn't allow large HFS volumes to be mounted. There are multiple threads on the internet. The solution may be to migrate to a different (linux native) filesystem or to break down the hard drive into smaller partitions each <2TB
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby winestock » Mon Nov 05, 2012 4:40 am

$this->bbcode_second_pass_quote('moonman', 'T')here is a bug in HFS driver in linux that doesn't allow large HFS volumes to be mounted. There are multiple threads on the internet. The solution may be to migrate to a different (linux native) filesystem or to break down the hard drive into smaller partitions each <2TB


Thanks for the response. So its the size of the partition that's the problem. Do you happen to know if a fix is being worked on in the HFS driver? I will look at creating smaller partitions.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby moonman » Mon Nov 05, 2012 6:23 am

I don't really know if it's being worked on. Many people reported this problem for ubuntu back in 2008 for smaller partitions, mostly ipods, they fixed the problem. But now there are recent reports about larger volumes,over 2TB with the same error message and I don't know if it's being worked on. Unfortunately I lost the link, but you can google for it. There were other threads for other distros as well. Some people reported upgrading kernel >= 3.4 helps, but I don't know if U-Boot for PPv4 supports newer kernels for you to try it, probably not.
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby winestock » Mon Nov 05, 2012 3:42 pm

$this->bbcode_second_pass_quote('moonman', 'I') don't really know if it's being worked on. Many people reported this problem for ubuntu back in 2008 for smaller partitions, mostly ipods, they fixed the problem. But now there are recent reports about larger volumes,over 2TB with the same error message and I don't know if it's being worked on. Unfortunately I lost the link, but you can google for it. There were other threads for other distros as well. Some people reported upgrading kernel >= 3.4 helps, but I don't know if U-Boot for PPv4 supports newer kernels for you to try it, probably not.


I did find this: http://www.kernel.org/doc/menuconfig/bl ... html#LBDAF. It sounds like a recompile with LBDAF enabled is what is needed.
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby WarheadsSE » Mon Nov 05, 2012 6:31 pm

The PPV4 uboot that Arch Linux ARM supplies can run linux-kirkwood, which is at 3.6.x
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby Kurlon » Mon Nov 05, 2012 8:45 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')he PPV4 uboot that Arch Linux ARM supplies can run linux-kirkwood, which is at 3.6.x


I can confirm LBDAF is enabled in linux-kirkwood.
Kurlon
 
Posts: 132
Joined: Fri Jan 06, 2012 10:05 pm
Top

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby moonman » Mon Nov 05, 2012 9:37 pm

I just checked CONFIG_LBDAF=y is in the 3.1.10-13 as well so it must be something else.
$this->bbcode_second_pass_quote('', 'T')he PPV4 uboot that Arch Linux ARM supplies can run linux-kirkwood, which is at 3.6.x

Big Boss says it's supported, so winestock you can be sure 3.6 will work :D
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am
Top

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby winestock » Tue Nov 06, 2012 6:25 pm

$this->bbcode_second_pass_quote('WarheadsSE', 'T')he PPV4 uboot that Arch Linux ARM supplies can run linux-kirkwood, which is at 3.6.x


I have searched but don't find any instructions on installing linux-kirwood on the PPV4. Can you point to the instructions? Thanks.

EDIT: I see there is a linux-kirkwood package 3.6.4-1. Do you just apply the package?
Pogoplug Series 4 / Linux-Kirkwood 3.10.10-2
winestock
 
Posts: 134
Joined: Mon Nov 05, 2012 12:03 am
Top

Re: Pogoplug series 4: Trying to mount 4TB HFS+ USB hard dri

Postby moonman » Tue Nov 06, 2012 10:01 pm

Yes, just run
$this->bbcode_second_pass_code('', 'pacman -Sy linux-kirkwood')
and overwrite the package "linux"
Pogoplug V4 | GoFlex Home | Raspberry Pi 4 4GB | CuBox-i4 Pro | ClearFog | BeagleBone Black | Odroid U2 | Odroid C1 | Odroid XU4
-----------------------------------------------------------------------------------------------------------------------
[armv5] Updated U-Boot | [armv5] NAND Rescue System
moonman
Developer
 
Posts: 3388
Joined: Sat Jan 15, 2011 3:36 am

Next

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 132 guests