ZFS - questions for 8x3TB

ripken204

[H]ard|Gawd
Joined
Aug 24, 2007
Messages
1,427
so i've been reading up on ZFS lately, trying to decide if it is a good idea for my next file server.

currently i have 8x1.5TB in RAID6 on a 3ware 9650se in Ubuntu 10.04 LTS
works great, never had an issue, but i am running out of space.

by the end of the year i am thinking to get 8x3TB drives and use the system above as a backup system. i could get another raid controller and to raid6 again, but ZFS looks nice. i would be going with ZFS double parity most likely.

so say i use OpenSolaris and set up the pool and a year later i decide to reinstall OpenSolaris or install another OS that supports ZFS, would I be able to use my ZFS pool?
with my raid controller, i can literally move that controller to another computer and have it work perfectly, but with a ZFS pool as far as i can tell it's software based.
and what would happen if my OS drive were to die...
 
Last edited:
As long as you export your ZFS pool you can come back at any time and re-import it as long as it's not corrupted somehow.

As far as using a RAID controller, you really just want a 'dumb' HBA that threats the disks as JBOD. Some RAID cards can be flashed to "IT" firmware, but that'd be a waste with something like that 3ware card.
 
Mindflux: In order not to waste a good RAID card doing JBOD, what card can do 8 - 12 (or more?) ports without a RAID engine to lay dormant and still deliver good transfer rates to the ZFS host? You're pretty much limited to expanders at that point aren't you?
 
im not following your comment about the raid controller?
i plan to keep my current file server as it is, it will be a backup server to this new server.

so for the new server i am either going to go RAID6 with a good RAID controller or I will go RAID-Z2
if i go RAID-Z2, i will definitely need some sort of SATA card to plug in extra drives....
that being the case, would plugging some drives in the SATA card and some drives into the mobo SATA ports work just fine, im assuming so.

for exporting the ZFS pool, how big is an export file? how much time does it take to export? can i use the ZFS pool while it is exporting? can i set a cron-job to export?
i think you can see where i am getting with that..

if my OS disk dies on me, having a recent export file seems essential, am i screwed if i dont have a recent export?
now say i make an export at 3am, and at 10pm the same day, something goes wrong and i need to reinitialize the ZFS pool... but the export file is out of date, and some blocks on the drives may no longer be what they were at 3am. how exactly does ZFS handle this?
 
Last edited:
im not following your comment about the raid controller?
i plan to keep my current file server as it is, it will be a backup server to this new server.

so for the new server i am either going to go RAID6 with a good RAID controller or I will go RAID-Z2
if i go RAID-Z2, i will definitely need some sort of SATA card to plug in extra drives....
that being the case, would plugging some drives in the SATA card and some drives into the mobo SATA ports work just fine, im assuming so.

for exporting the ZFS pool, how big is an export file? how much time does it take to export? can i use the ZFS pool while it is exporting? can i set a cron-job to export?
i think you can see where i am getting with that..

if my OS disk dies on me, having a recent export file seems essential, am i screwed if i dont have a recent export?
now say i make an export at 3am, and at 10pm the same day, something goes wrong and i need to reinitialize the ZFS pool... but the export file is out of date, and some blocks on the drives may no longer be what they were at 3am. how exactly does ZFS handle this?

The export just detatches the ZFS pool from that system. It's not an absolute necessity as you can import a pool later via a -f (force) flag, but it's considered "ideal/best practice" to export if *IF YOU CAN*.

If the OS disk dies, just reload the rpool (OS disks), force an import and you should be back in business.

About the RAID cards: I misunderstood you and thought you wanted to bring those over to the ZFS system.
 
Mindflux: In order not to waste a good RAID card doing JBOD, what card can do 8 - 12 (or more?) ports without a RAID engine to lay dormant and still deliver good transfer rates to the ZFS host? You're pretty much limited to expanders at that point aren't you?


Well, you can run multiple cards to a backplane for MPxIO which will naturally give you more disks/redundancy but that's also uplinking to an expander backplane in my case.
 
The export just detatches the ZFS pool from that system. It's not an absolute necessity as you can import a pool later via a -f (force) flag, but it's considered "ideal/best practice" to export if *IF YOU CAN*.

If the OS disk dies, just reload the rpool (OS disks), force an import and you should be back in business.

ok, so forcing an import "should work" in case of OS disk failure
and in the case i were to reinstall an OS, exporting the pool first would be a smart move.
thanks
 
Back
Top