3

I'm trying to set up some homegrown storage using a desktop motherboard, 4 x SATA drives and 2 x SSD drives.

I'd really like to use NexentaStor for its nice web interface and for it is some production-ready status, but I also want to use ZIL and L2ARC on my storage to speed things up.

I plan to partition both SSDs as 4 partitions (OS, swap, ZIL, L2ARC), put NexentaStor on mirror made of 1st partitions of each SSD, ZIL on mirror made of 3rd partitions, and added both 4th partitions as two L2ARC devices. Then I plan to create RAID-Z2 pool, add ZIL and 2 x L2ARC to it.

The problem is, NexentaStor won't partition and drive it uses. So I can't simply "break" SSDs for some partitions, I need to use the whole SSD drive for one purpose, which is not a good idea since SSD are too big for "just boot me up" usage.

So, the question is: are there any way I can setup NexentaStor with ZIL and L2ARC using 4 x SATA HDD and 2 x SSD?

P.S. I was successful to do the same setup under FreeBSD, so there is no any ZFS limitation on that (no wonder about).

P.P.S. I'm not sure but what if I use Solaris LiveCD to per-partition SSD and try to install Nexentra on it but if it is possible at all?

ewwhite
  • 197,159
  • 92
  • 443
  • 809
Alexander
  • 774
  • 2
  • 11
  • 20

1 Answers1

4

I'd suggest dedicated drives for OS and dedicated disks for data. NexentaStor is software RAID and the loss of an OS disk can be painful. You can combine L2ARC and ZIL, but the class of SSDs you're probably using won't be helpful as ZIL devices.

I understand the desire to try to use all of these ZFS features, but you really have to do it the right way. I run many ZFS systems without L2ARC because it's often not necessary for the application or I/O patterns. Try to maximize RAM first.

The partitioning of the SSDs for ZIL and ARC can be done from the command line using parted. You would also need to add them to the zpool via the CLI.

ewwhite
  • 197,159
  • 92
  • 443
  • 809
  • What I missed to say is that the setup is kind of test one, but there's only 6 SATA ports onboard so I can't add any extra drives. And you may understand me, OS will use just couple of Gb for itself, and it looks rather waste of disks. – Alexander Feb 28 '14 at 08:55
  • But let me ask you how can I use `pared` on SSD if SSD is boot drive? – Alexander Feb 28 '14 at 09:00
  • @Alexander You don't. You want dedicated boot disks. – ewwhite Feb 28 '14 at 09:06
  • 1
    @Alexander If you are short on sata ports, just boot system from usb drive – neutrinus Feb 28 '14 at 10:25
  • @neutrinus, I'd love to, but from what I see in my life USB sticks are pretty unreliable. You'll never know when it become dead. – Alexander Feb 28 '14 at 12:22
  • 1
    @Alexander then build a raid1 array of them, I have done such arrays with 6 USB sticks and it last for years.. – neutrinus Mar 06 '14 at 08:05
  • @neutrinus, I do believe that may work, will try, thank you! – Alexander Mar 06 '14 at 12:42