ZFS, Raidz, Labels, and Encryption
Hello all. I'm giving the forum a try before dropping a question to the following:
When attempting to create a ZFS RAIDZ pool, I get the following message:
cannot create 'tank': one or more devices is currently unavailable
Command used to make this occur:
zpool create tank raidz label/P1SG136D.eli label/P2SGY10S.eli label/P3SG3ERV.eli label/P4SGC4QY.eli \ label/P5SGYJSC.eli label/P6SG49JV.eli label/P7SG9H9H.eli label/P8SGDF8G.eli
Asus M3N WS
Athlon II X2 240
8gb Kingston DDR2 ECC
8 X 1.5tb Seagate SATA drives
60gb IDE drive
HighPoint RocketRAID 2220 PCI-X
Background Reading as to how I arrived here:
1. Setting up an encrypted ZFS with FreeBSD
2. GELI file systems unusable after "glabel label" operations
3. geli Manpage
4. [Solved] zpool create <pool> drives fails
5. ZFS Unavailable
Overview of What I've Done:
Reading #1 was used as a rough guideline to make a ZFS pool with geli encryption. I used Reading #4 & #5 to label my drives. I believe one should be able to create an encrypted ZFS pool using labels due to Reading #2. The commands from Reading #1 were slightly modified with help from Reading #3.
glabel label -v P1SG136D /dev/da0 glabel label -v P2SGY10S /dev/da1 ...
This labels each drive attached to my HighPoint controller with the Port # it is attached to, the company brand, and part of the serial number so that I can easily identify which drive has a problem in the future.
dd if=/dev/random of=/usr/home/THEJEW/P1SG136D.key bs=64 count=1 dd if=/dev/random of=/usr/home/THEJEW/P2SGY10S.key bs=64 count=1 ...
geli init -a HMAC/SHA256 -e AES -l 256 -s 4096 -K /usr/home/THEJEW/P1SG136D.key /dev/label/P1SG136D geli init -a HMAC/SHA256 -e AES -l 256 -s 4096 -K /usr/home/THEJEW/P2SGY10S.key /dev/label/P2SGY10S ...
geli attach -k /usr/home/THEJEW/P1SG136D.key /dev/label/P1SG136D geli attach -k /usr/home/THEJEW/P2SGY10S.key /dev/label/P2SGY10S ...
Attempting to create zpool fails (see code in Problem section). Everything attempted as root.
I imagine I have missed something fairly obvious. Any help is appreciated.
Last edited by lme@; October 5th, 2010 at 09:02. Reason: Please break longer lines.
|Thread||Thread Starter||Forum||Replies||Last Post|
|ZFS striped mirror vs raidz||miks||General||3||July 11th, 2010 23:49|
|Question about zfs raidz and geli||CrazyEmperor||General||14||May 19th, 2010 11:45|
|zfs speed: raidz vs mirror||dbi||General||4||April 23rd, 2010 04:24|
|more questions about ZFS and degraded raidz||wonslung||General||2||July 14th, 2009 01:28|