Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I need a little assistance. I have 6 2TB disks. I'm planning to assign approximately 500GB to my root pool slice 0 mirrored with another disk, since one disk isn't used up I then decided to do a raidz pool with 5 of the disks including the left over space from 2 disk that has root pool but with different slice.

for example:

root pool
    disk0 slice 0
    mirror disk 1 slice 0

mypool
    raidz
        disk 0 slice 7
        disk 1 slice 7
        disk 2 slice 0
        disk 3 slice 0
        disk 4 slice 0

disk 5 for hot spare.

I'm not sure is it recommended to do so and would like to know if anyone have any idea if the entire disk 1 fails, how does it recover? how does the system handle such failure under such config ?

share|improve this question
    
Please provide the output of zpool status –  longneck Jan 29 '13 at 15:12
    

2 Answers 2

up vote 0 down vote accepted

That's a messy configuration. It can work, though.

Root does not need much space. Is there any chance you could use a smaller pair of disks (or a single SSD) to use as root to simplify the entire setup?

share|improve this answer
    
nope...if this configuration is messy then I might just do it 2 disks per pool...or is there any better recommended config with 6 disks? –  user156594 Jan 29 '13 at 15:22
1  
this configuration will limit the usable space of your mypool pool to 1.5 TB * (5 - 1). you're effectively wasting 500 gb of disk 2, 3 and 4. –  longneck Jan 29 '13 at 15:32
    
@longneck can you suggest a more practical method configuring this? –  user156594 Jan 29 '13 at 15:36
    
"use a smaller pair of disks (or a single SSD) to use as root" –  ewwhite Jan 29 '13 at 15:46
    
It depends. If you are OK with limiting your storage and extra disks are out of the question, then this configuration is about as good as you can get. Not knowing Solaris but extrapolating my FreeBSD knowledge, you could create a very small /boot partition (1GB) and put your OS in the raidz volume, too. That would allow you to use the full capacity of all of your drives. –  longneck Jan 29 '13 at 15:51

You'd get a better overall result if you used 2 disks to mirror the rpool and use the other 4 disks in a 1+0 setup for mypool (two mirrors of two disks). This way you get a total of 6TB of storage, you're resilient to the failure of any one disk and there's minimal waste. Your write performance may not be quite as good I suppose.

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.