LinuxQuestions.org

LinuxQuestions.org (http://www.linuxquestions.org/questions/index.php)
-   Linux - Hardware (http://www.linuxquestions.org/questions/forumdisplay.php?f=18)
-   -   Old NAS running 64bit Linux: will 4TB HDDs work? (http://www.linuxquestions.org/questions/showthread.php?t=4175497021)

Pearlseattle 03-04-2014 03:28 PM

Old NAS running 64bit Linux: will 4TB HDDs work?
 
Hi

I own since a long time a tiny HP Proliant 40L NAS server which hosts 4 x 1.5TB HDDs.
The NAS boots from a USB-stick on which I have a Gentoo Linux 64bit installation.
Once the OS finishes booting it starts mdraid and assembles the 4 HDDs into a SW-raid5 and makes it available over the network.
I'm very happy with it - it's very quiet, solid, quite fast (saturates the LAN with ~100MB/s while rsync'ing without encryption) and I never had any problems with it (perhaps I shouldn't write this :D ).

As I'm now slowly running out of space I was thinking about replacing the 4x1.5TB drives with 4x4TB drives, but I remember that when I bought this NAS back in (I think) 2012 the official statement from HP was: "maximum capacity: 8TB (4x2TB)".

I'm therefore wondering what I shall do - will the NAS be able to handle 4TB-drives or do I have to change NAS?
I looked at the more recent HP Proliant N54L and G8 and both state that their maximum capacity is 12GB (4x3TB HDDs).
Can it be?

I found this thread which basically states "any HDD will work as long as you don't have to boot from it" (actually they talk about 3TB HDDs), but I'm still not sure.

I understand that once Linux is able to boot (as it would be in my case as it's booting from a USB-stick) the BIOS does not play any role anymore, but are there by chance some additional hard limits imposed by the SATA-controller itself (e.g. some kind of limit on the address range it can access on the HDD)?
:confused:

Thank you!!!

jefro 03-04-2014 08:14 PM

Post the chipset of the drive controller to be sure. Or maybe a guess based on age.

Assume you'd have to have support for gpt disk.


See this while you are at it. https://www.linuxquestions.org/quest...pt-4175412537/

The OS could handle some drive that is way larger but I forget max size, petabite maybe in zfs. I'd still think the controller is the limit here.

Pearlseattle 03-09-2014 03:07 PM

Here is the output of my lspci:
Code:

00:00.0 Host bridge: Advanced Micro Devices [AMD] RS880 Host Bridge
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 0
        Capabilities: [c4] HyperTransport: Slave or Primary Interface
        Capabilities: [54] HyperTransport: UnitID Clumping
        Capabilities: [40] HyperTransport: Retry Mode
        Capabilities: [9c] HyperTransport: #1a
        Capabilities: [f8] HyperTransport: #1c

00:01.0 PCI bridge: Hewlett-Packard Company Device 9602 (prog-if 00 [Normal decode])
        Flags: bus master, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
        I/O behind bridge: 0000e000-0000efff
        Memory behind bridge: fe700000-fe8fffff
        Prefetchable memory behind bridge: 00000000f0000000-00000000f7ffffff
        Capabilities: [44] HyperTransport: MSI Mapping Enable+ Fixed+
        Capabilities: [b0] Subsystem: Hewlett-Packard Company Device 1609

00:06.0 PCI bridge: Advanced Micro Devices [AMD] RS780 PCI to PCI bridge (PCIE port 2) (prog-if 00 [Normal decode])
        Flags: bus master, fast devsel, latency 0
        Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
        Memory behind bridge: fe900000-fe9fffff
        Capabilities: [50] Power Management version 3
        Capabilities: [58] Express Root Port (Slot-), MSI 00
        Capabilities: [a0] MSI: Enable+ Count=1/1 Maskable- 64bit-
        Capabilities: [b0] Subsystem: Hewlett-Packard Company Device 1609
        Capabilities: [b8] HyperTransport: MSI Mapping Enable+ Fixed+
        Capabilities: [100] Vendor Specific Information: ID=0001 Rev=1 Len=010 <?>
        Capabilities: [110] Virtual Channel
        Kernel driver in use: pcieport

00:11.0 SATA controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode] (rev 40) (prog-if 01 [AHCI 1.0])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 41
        I/O ports at d000 [size=8]
        I/O ports at c000 [size=4]
        I/O ports at b000 [size=8]
        I/O ports at a000 [size=4]
        I/O ports at 9000 [size=16]
        Memory at fe6ffc00 (32-bit, non-prefetchable) [size=1K]
        Capabilities: [50] MSI: Enable+ Count=1/4 Maskable- 64bit+
        Capabilities: [70] SATA HBA v1.0
        Capabilities: [a4] PCI Advanced Features
        Kernel driver in use: ahci
        Kernel modules: ahci

00:12.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
        Memory at fe6fe000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd

00:12.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        Memory at fe6ff800 (32-bit, non-prefetchable) [size=256]
        Capabilities: [c0] Power Management version 2
        Capabilities: [e4] Debug port: BAR=1 offset=00e0
        Kernel driver in use: ehci_hcd

00:13.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
        Memory at fe6fd000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd

00:13.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        Memory at fe6ff400 (32-bit, non-prefetchable) [size=256]
        Capabilities: [c0] Power Management version 2
        Capabilities: [e4] Debug port: BAR=1 offset=00e0
        Kernel driver in use: ehci_hcd

00:14.0 SMBus: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller (rev 42)
        Flags: 66MHz, medium devsel
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c-piix4

00:14.1 IDE interface: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller (rev 40) (prog-if 8a [Master SecP PriP])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        I/O ports at 01f0 [size=8]
        I/O ports at 03f4
        I/O ports at 0170 [size=8]
        I/O ports at 0374
        I/O ports at ff00 [size=16]
        Kernel driver in use: pata_atiixp

00:14.3 ISA bridge: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller (rev 40)
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 0

00:14.4 PCI bridge: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge (rev 40) (prog-if 01 [Subtractive decode])
        Flags: bus master, 66MHz, medium devsel, latency 64
        Bus: primary=00, secondary=03, subordinate=03, sec-latency=64

00:16.0 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller (prog-if 10 [OHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 18
        Memory at fe6fc000 (32-bit, non-prefetchable) [size=4K]
        Kernel driver in use: ohci_hcd

00:16.2 USB controller: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller (prog-if 20 [EHCI])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, 66MHz, medium devsel, latency 64, IRQ 17
        Memory at fe6ff000 (32-bit, non-prefetchable) [size=256]
        Capabilities: [c0] Power Management version 2
        Capabilities: [e4] Debug port: BAR=1 offset=00e0
        Kernel driver in use: ehci_hcd

00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration
        Flags: fast devsel
        Capabilities: [80] HyperTransport: Host or Secondary Interface

00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Address Map
        Flags: fast devsel

00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller
        Flags: fast devsel

00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control
        Flags: fast devsel
        Capabilities: [f0] Secure device <?>
        Kernel driver in use: k10temp
        Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor Link Control
        Flags: fast devsel

01:05.0 VGA compatible controller: Advanced Micro Devices [AMD] nee ATI RS880M [Mobility Radeon HD 4200 Series] (prog-if 00 [VGA controller])
        Subsystem: Hewlett-Packard Company Device 1609
        Flags: bus master, fast devsel, latency 0, IRQ 10
        Memory at f0000000 (32-bit, prefetchable) [size=128M]
        I/O ports at e000 [size=256]
        Memory at fe8f0000 (32-bit, non-prefetchable) [size=64K]
        Memory at fe700000 (32-bit, non-prefetchable) [size=1M]
        Expansion ROM at <unassigned> [disabled]
        Capabilities: [50] Power Management version 3
        Capabilities: [a0] MSI: Enable- Count=1/1 Maskable- 64bit+

02:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5723 Gigabit Ethernet PCIe (rev 10)
        Subsystem: Hewlett-Packard Company NC107i Integrated PCI Express Gigabit Server Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 42
        Memory at fe9f0000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [48] Power Management version 3
        Capabilities: [40] Vital Product Data
        Capabilities: [60] Vendor Specific Information: Len=6c <?>
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [cc] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [13c] Virtual Channel
        Capabilities: [160] Device Serial Number a0-b3-cc-ff-fe-e2-55-4d
        Capabilities: [16c] Power Budgeting <?>
        Kernel driver in use: tg3
        Kernel modules: tg3

GPT (using e.g. "gparted"?) would be ok.

I have just ordered and received 1 of the 4TB drives (HDS724040ALE640) I would use to replace the existing 1.5TB drives of the NAS => if I connect it to the NAS, partition & format it and everything works fine will I then have the certainty that things are OK or will I still have to do a R/W test filling the whole HDD with some content to check if at some point things go wrong?

Thanks

jefro 03-10-2014 03:53 PM

I didn't find any easy reference that said it would support >2Tb drives.

See this for some info on GPT.

http://www.ibm.com/developerworks/library/l-gpt/

http://www.cyberciti.biz/tips/fdisk-...eater-2tb.html


A new gparted should work. Almost any new live cd/dvd/usb ought to support it.

Pearlseattle 03-24-2014 05:21 PM

Thank you jefro!
So, yesterday I set up on my small HP NAS a 4TB GPT-partition using gparted, formatted it (using ext4 with the options "-E lazy_itable_init=0,lazy_journal_init=0" to avoid a deferred format) and checked it during the night using "badblocks" => everything seems to be ok! :D :D :D

I have now ordered the remaining 4TB-HDDs => I will mark this thread as solved once I get them and they work (once mdadm tells me that he's happy and the SW-RAID5 has all 4 4TB-HDDs in sync), otherwise I will post what happens.

Cheers

(btw. the single 4TB-HDD I have so far seems to be quite fast, even if so far all operations were sequential. It formatted and ran badblocks with 150MB/s - if I remember correctly my older 1.5TB-HDDs did the same with ~120MB/s => will see what happens when I sync the RAID5)

jefro 03-24-2014 08:37 PM

Good luck, thanks for updating.

Pearlseattle 04-01-2014 03:52 PM

Seems to be working perfectly - no problems with the 4TB drives.
I even tried different chunk sizes for the raid5 and after deciding for 64KB instead of the default 512KB it seems to be very fast (420MB/s sequential read on the big files and not-slow access to small files).
So, thanks again => closing this thread :D

jefro 04-01-2014 06:48 PM

Yea! Wooohoo!


All times are GMT -5. The time now is 06:08 PM.