1

I have an HP Proliant Microserver Gen8 and I want to install CentOS 7 on it, to run a Samba server. I've bought two 3TB HDDs for the storage. The OS should be separated from the storage HDDs. So my question is, if it is a good idea to install the OS on a USB drive or Micro SD card?

4
  • Why not just partition the drives with 50GB for /, 50GB for swap, and the rest for data?
    – kasperd
    Sep 17, 2015 at 17:33
  • Will you be using a hardware RAID controller on this Microserver?
    – ewwhite
    Sep 17, 2015 at 18:42
  • @ewwhite Yes, the b120i RAID controller.
    – user262158
    Sep 17, 2015 at 18:45
  • Why not. vSphere solutions use this scenario often. In vSphere case it's always better to redirect all logs to the remote syslog server - frequent writing to SD card may cause its corruption. Maybe it's a good point for the consideration. Sep 18, 2015 at 15:48

3 Answers 3

0

I don't think USB flash drives and SD cards use wear leveling like normal SSDs. And standard operating systems write often - to logs, various system databases etc. This can cause that your USB/SD system drive will fail after some time.

There's a filesystem which use wear leveling, F2FS, but it's not very mature and I don't think CentOS supports installing to F2FS partition.

You can also configure PXE network boot, but it would be much more complicated than simply installing OS to some partition on your HDDs. It would also require another server to provide OS image.

I'd recommend against it. I prefer software RAID than so called fakeRAID on inexpensive motherboard, so I'd make:

  • 8GB partition on both drives configured as software RAID1 1GB for /;
  • 1GB partition on both drives, both as swap partitions;
  • the rest as software RAID1 on both drives as data.
3

Use the Intelligent Provisioning (Press F10) feature of this server to upgrade its firmware and gain access to the HP Smart Storage Administrator utility (HP SSA).

  • Create a RAID array of your two 3TB drives.
  • Create a Logical Drive of a size appropriate for your OS (I prefer 72GB).
  • Create another logical drive that fills the rest of the drive array.

That's all you'll need to do. There's no real benefit to using USB or SDHC boot for this.

0

Installing OS on USB stick or microSD card is not a good idea.

You can however use additional SATA port dedicated for CD in Gen8 Microserver. It is marked as ODD on motherboard.

There's need to do some magic to set booting order correctly, because ODD port is always the last to boot from, and you can't just select hdd boot order in their BIOS. The idea is to install grub on USB stick which is easily replaceable and it is used only during boot, pointing to correct hdd.

You must log in to answer this question.