OpenELEC Forum
Can't mount 3TB HFS HDD - Printable Version

+- OpenELEC Forum (https://forum.openelec.tv)
+-- Forum: Generic Forum (https://forum.openelec.tv/forumdisplay.php?fid=5)
+--- Forum: STORAGE (https://forum.openelec.tv/forumdisplay.php?fid=60)
+--- Thread: Can't mount 3TB HFS HDD (/showthread.php?tid=26464)



Can't mount 3TB HFS HDD - ncardoso - 02-22-2012

Hi.

I have a Zotac Nano AD-10 with OpenELEC-eden devel 20120211 (Fusion x86_64).

I attached a Seagate external harddisk with 3TB. It is formatted as MacOS (not journaled), so a hfsplus partition.
I used to have a 1TB WD which was also formatted as MacOS not journaled (hfsplus), which had no problems on mounting as rw.

But on this one, the dmesg gives:

[ 551.539856] mount: sending ioctl 5310 to a partition!
[ 551.539869] mount: sending ioctl 5310 to a partition!
[ 551.563771] hfs: invalid secondary volume header

Mount message is:

root /var/media # mount /dev/sdb1 -t hfsplus /media/iStuff/
mount: mounting /dev/sdb1 on /media/iStuff/ failed: Invalid argument

even after:

root /var/media # fsck_hfs /dev/sdb1
** /dev/sdb1
** Checking HFS Plus volume.
** Checking Extents Overflow file.
** Checking Catalog file.
** Checking Catalog hierarchy.
** Checking Extended Attributes file.
** Checking volume bitmap.
** Checking volume information.
** The volume iStuff appears to be OK.

root /var/media # lsmod | grep hfsplus
hfsplus 76032 0

root /var/media # cat /proc/filesystems | grep hfsplus
hfsplus

So, I have hfsplus module loaded.

I googled a lot, found some people with the same problem, and found a page that says something about a kernel parameter:
http://h20000.www2.hp.com/bizsupport/TechSupport/Document.jsp?lang=en&cc=us&taskId=110&prodSeriesId=3367813&prodTypeId=18964&objectID=c02854879

So, is this an OpenELEC kernel tweak?

Changing partition type is not an option. NTFS sucks, ext3/4 is not supported out-of-the-box on non-Linux OS, and I want to use it sporadically on my Mac. And I know that it worked with another HDD.

Thanks for any advice.


Re: Can't mount 3TB HFS HDD - ncardoso - 02-22-2012

Here is the /var/log/messages generated when I plug in the HDD:


Feb 22 22:01:57 openelec user.info kernel: [ 55.279709] usb 9-1: new SuperSpeed USB device number 2 using xhci_hcd
Feb 22 22:01:57 openelec user.warn kernel: [ 55.293046] xhci_hcd 0000:01:00.0: WARN: short transfer on control ep
Feb 22 22:01:57 openelec user.warn kernel: [ 55.293540] xhci_hcd 0000:01:00.0: WARN: short transfer on control ep
Feb 22 22:01:57 openelec user.warn kernel: [ 55.294041] xhci_hcd 0000:01:00.0: WARN: short transfer on control ep
Feb 22 22:01:57 openelec user.warn kernel: [ 55.294543] xhci_hcd 0000:01:00.0: WARN: short transfer on control ep
Feb 22 22:01:57 openelec user.info kernel: [ 55.303443] scsi4 : usb-storage 9-1:1.0
Feb 22 22:01:58 openelec user.notice kernel: [ 56.310622] scsi 4:0:0:0: Direct-Access Seagate External SG11 PQ: 0 ANSI: 4
Feb 22 22:01:58 openelec user.notice kernel: [ 56.322366] sd 4:0:0:0: [sdb] 732566642 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Feb 22 22:01:58 openelec user.notice kernel: [ 56.322707] sd 4:0:0:0: [sdb] Write Protect is off
Feb 22 22:01:58 openelec user.debug kernel: [ 56.322715] sd 4:0:0:0: [sdb] Mode Sense: 1c 00 00 00
Feb 22 22:01:58 openelec user.notice kernel: [ 56.323045] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Feb 22 22:01:58 openelec user.notice kernel: [ 56.323739] sd 4:0:0:0: [sdb] 732566642 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Feb 22 22:01:58 openelec user.notice kernel: [ 56.324455] sd 4:0:0:0: Attached scsi generic sg1 type 0
Feb 22 22:01:58 openelec user.info kernel: [ 56.336689] sdb: sdb1
Feb 22 22:01:58 openelec user.notice kernel: [ 56.337435] sd 4:0:0:0: [sdb] 732566642 4096-byte logical blocks: (3.00 TB/2.72 TiB)
Feb 22 22:01:58 openelec user.notice kernel: [ 56.338078] sd 4:0:0:0: [sdb] Attached SCSI disk
Feb 22 22:01:58 openelec user.warn kernel: [ 56.352758] xhci_hcd 0000:01:00.0: WARN: Stalled endpoint
Feb 22 22:01:58 openelec user.warn kernel: [ 56.353462] xhci_hcd 0000:01:00.0: WARN: Stalled endpoint
Feb 22 22:01:59 openelec user.warn kernel: [ 57.418072] mount: sending ioctl 5310 to a partition!
Feb 22 22:01:59 openelec user.warn kernel: [ 57.418086] mount: sending ioctl 5310 to a partition!
Feb 22 22:01:59 openelec user.warn kernel: [ 57.437745] hfs: invalid secondary volume header


Re: Can't mount 3TB HFS HDD - turbomettwurst - 02-23-2012

What OS/Software did you use to a.) create the partition and b.) create the filesystem
The Drive is USB 3.0?


Re: Can't mount 3TB HFS HDD - ncardoso - 02-23-2012

Used OSX 10.7's Disk Utility to format it.
Drive behaves the same on either USB2 and USB3 ports.
Maybe it needs a better low-level format?


Re: Can't mount 3TB HFS HDD - chewitt - 02-23-2012

This sounds like a closer match: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/889928

If the drive is just being used for media sharing FAT32 with a 4k sector size allows drives up to 16TB and it's read/write-able in every OS I can think of.


Re: Can't mount 3TB HFS HDD - ncardoso - 02-23-2012

Reformatting to FAT32 is plan B, but it doesn't solve the fact that OpenELEC has some issues with some HFS external HDDs. It might be a simple kernel parameter, AFAIK...


Re: Can't mount 3TB HFS HDD - turbomettwurst - 02-23-2012

i will try to reproduce it when i am home...


Re: Can't mount 3TB HFS HDD - ncardoso - 02-23-2012

tell me what other logs/confs/specs you need.
Today I'll probably make a low-level format of the HDD with HFS.


Re: Can't mount 3TB HFS HDD - ncardoso - 02-23-2012

Ok, it works now. Problem: one 3TB partition is too damn high. :lol:

Read somewhere that may happen a 2TB limit.
Broke into 3 smaller partitions, worked immediately.


Re: Can't mount 3TB HFS HDD - turbomettwurst - 02-27-2012

ah you were a little faster than me Smile
Glad it works!