Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Currently I have a linux storage box and server with 4x750gb harddrives in raid-5 with ext3. I have ordered 3x1.5tb disks to upgrade this. Here is my planned upgrade:

Backup:

  1. Format the 1.5 tb disks
  2. Copy all data from the raid-5 disks to the 1.5tb disks
  3. Destroy the raid-5 array.

New setup:

  1. Create a VirtualBox system and install Nexenta (OpenSolaris + ubuntu) on it.
  2. Create a zfs pool with zraid1 with the 4 750gb disks.
  3. Copy from 1.5tb disks to the virtualbox zfs pool
  4. Format the 1.5tb disks.
  5. Replace 3 off the 750gb disks with 1.5tb disks.
  6. Reuse the 750gb disks elsewhere.

The reason I wish to use one 750gb disk is since I can't grow the disk count in a raidz array, and this gives me the option off replacing that disk later for an extra 750gb storage.

Would the ZFS performance be good running through virtualbox? Or will the performance overhead be too large? Will I get 1.5tb+1.5tb+750gb storage on the zraid? Or just 750gbx3 until all disks are 1.5tb?

share|improve this question

2 Answers 2

up vote 0 down vote accepted

This seems like a very inconvenient way to do it.

  • Use ZFS on FUSE rather than running it through a virtual machine, the performance will not be good in any case, but I'd definately try not to have the file system inside a virtual machine
  • AFAIK you can actually increase the number of disks in a running raid using zfs
  • Using three 1.5TB disks and one 750GB disk in an array would limit the usable sizes of all disks to the smallest one. There is some research being done on having raid over different disk sizes, but it's not usable now

I would rather create a new raid array of the 1.5TB disks (either md raid or raidz via fuse) in linux, and expand it with single disks as the need arises.

share|improve this answer
    
This answer shows a fundamental lack of understanding of ZFS and how ZFS-raid works. There currently is NO mechanism for adding single drives to a ZFS pool, except as additional vdevs, creating a stripe between the original raidz and the new single drive. This WOULD NOT increase the drive-count/size of the raidz! –  killermist Jun 25 '13 at 11:05

You can't grow the disc count of a vdev. That is correct. Also, if you have 3x1.5Tb and one 750Gb drive the extra per-drive capacity will be idle, for a total pool size of ~2.25Tb. Your pool capacity will be limited by the smallest drive. Once you replace that last drive, you can expand the pool to take advantage of the increased total capacity, for a total pool size of ~4.5Tb.

I have run ZFS in a virtual machine as well (Solaris & OpenSolaris) but the performance is not good. File IO is often a limiting agent in virtual machines.

Consider that ZFS is very memory hungry. Some features are disabled by default with less than 4Gb ram. ZFS is also optimized for 64-bit systems.

I suggest you install your ZFS-capable OS on actual hardware, and use Virtualbox (or similar) to virtualize your Linux configuration if needed.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.