PCIE to SATA switch problem

Is it possible to build a NAS with Genio platform?

  1. I’d like to use a PCIe to SATA switch, connecting SATA hard drives to the backend.
  2. If the hard drive format is ext4, what is the maximum hardware capacity supported?
  3. Can ext4 format support up to 256 TByte, or are there other limitations, such as a 48-bit address restriction?
  1. To connect PCIe to SATA, a SATA switch is required for conversion; PCIe cannot be directly connected to a SATA device. The SATA switch used for conversion must comply with the PCIe specification as an Endpoint (EP) device. Both the PCIe host on G700/G510 comply with the PCIe specification, so as long as the EP device meets the PCIe spec, it can be connected.

  2. AHCI is not part of the PCIe specification—it is related to SATA. You may consult the SATA vendor for details.

In the Linux kernel, AHCI is a software interface standard and can be enabled via the following Kconfig option:
CONFIG_SATA_AHCI=y

Regarding ext4 features, please refer to the wiki below

https://en.wikipedia.org/wiki/Ext4

The ext4 filesystem can support volumes with sizes in theory up to 64 zebibyte (ZiB) and single files with sizes up to 16 tebibytes (TiB) with the standard 4 KiB block size, and volumes with sizes up to 1 yobibyte (YiB) with 64 KiB clusters, though a limitation in the extent format makes 1 exbibyte (EiB) the practical limit.[13] The maximum file, directory, and filesystem size limits grow at least proportionately with the filesystem block size up to the maximum 64 KiB block size available on ARM and PowerPC/Power ISA CPUs.