LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 02-28-2016, 03:55 PM   #1
newellrp1
Member
 
Registered: Apr 2004
Posts: 47

Rep: Reputation: 16
ZFS on Linux - different disk sizes in pool - want bad block healing


I've been testing a zfs pool using 3 drives I had left over from a computer that I got rid of. Two of them are 160G and the other is 400G.
Is it possible to raidz or JBOD them together using the whole disks in such a way that I will still have the ability for zfs to find and correct file errors (healing).

I've been searching for and reading all of the ZFS documentation I can find, but so far nothing has addressed this specific case.
 
Old 03-27-2016, 08:49 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
The simplest approach would be to create a raidz with the three disks, that would roughly make a 320G pool with 240 GB wasted.

You might also create a 320 G stripe with the smallest disks, and mirror them with the large one, that time 80G are wasted and performance is better.

If you really don't care about performance, you might create two partitions on the large disk, one 160G and one 240G, create a 320G raidz pool with 3x160G and use ditto blocks on the 240G to create a partially redundant 120G pool, total: 440G. Note that the 120G pool won't survive the 400G full disk failure.

Similarly, you might recover 40G from the previously wasted 80G (suggestion #2), total: 360G
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need help with Slackware (14.2 beta) and ZFS - Not automounting the pool. PCManiacpt Slackware 2 01-19-2016 12:50 PM
re-mount zfs pool masonje Linux - Server 0 09-27-2015 03:44 PM
[SOLVED] Remove a disk in a non mirrored ZFS pool SBN Solaris / OpenSolaris 2 03-15-2012 10:30 AM
Creating a ZFS pool using two StorEdge arrays paidbythehour Solaris / OpenSolaris 1 09-01-2011 04:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:30 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration