Large hard drive > 2Tb on Raspberry Pi

Ask questions about Arch Linux ARM. Please search before making a new topic.

Large hard drive > 2Tb on Raspberry Pi

Postby mattpepin » Wed Dec 02, 2015 3:11 pm

When I connect a 3 Tb hard drive to my Pi, the reported size with lsblk (or any other utility) is 746.5 GiB, 801569726464 bytes. I think this is because the kernel is not configured for large HD support. What do I need to do? I there a precompiled kernel for the Pi with this support? If not, what do I need to enable? Is it only "CONFIG_EFI_PARTITION"? Where can I get PKGBUILDs for arm version of Arch packages? I can probably recompile the kernel with makepkg on the Pi itself?

Thanks!
mattpepin
 
Posts: 4
Joined: Wed Dec 02, 2015 3:07 pm

Re: Large hard drive > 2Tb on Raspberry Pi

Postby WarheadsSE » Wed Dec 02, 2015 4:00 pm

http://archlinuxarm.org/developers/contributing for all your PKGBUILD questions

CONFIG_EFI_PARTITION .. I'd have to look @ the Kconfig and docs as to what the one does, if it is not turned on.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Large hard drive > 2Tb on Raspberry Pi

Postby mattpepin » Thu Dec 03, 2015 2:16 pm

Thanks.

As a reminder to myself, I also have to check CONFIG_LBD.
mattpepin
 
Posts: 4
Joined: Wed Dec 02, 2015 3:07 pm

Re: Large hard drive > 2Tb on Raspberry Pi

Postby mattpepin » Mon Dec 07, 2015 8:42 pm

Ok I checked the PKGBUILD for linux-raspberrypi. Both CONFIG_LBDAF and CONFIG_EFI_PARTITION are set to "y". What else could it be? It works fine the the raspbian dist.
mattpepin
 
Posts: 4
Joined: Wed Dec 02, 2015 3:07 pm

Re: Large hard drive > 2Tb on Raspberry Pi

Postby WarheadsSE » Mon Dec 07, 2015 9:17 pm

What is the sector size reported by each distribution?
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Large hard drive > 2Tb on Raspberry Pi

Postby mattpepin » Tue Dec 08, 2015 12:18 am

Ah! I figured it out. I was wasting my time (and yours :P, sorry). It turns out it was a cheap USB enclosure that did not support > 2Tb drives. Everything's fine! Thanks for your help. :)
mattpepin
 
Posts: 4
Joined: Wed Dec 02, 2015 3:07 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 12 guests