[OpenIndiana-discuss] RAIDZ issue

Reginald Beardsley pulaskite at yahoo.com
Wed Feb 17 15:28:59 UTC 2021


 All my Solaris/OI systems run RAIDZ and have for over 10 years. I run RAIDZ1 with 3 disks on two and RAIDZ2 with 4 disks on the third. 

I was not aware that it was possible to boot from RAIDZ. It wasn't possible when I set the systems up. I've never seen anything to suggest that one could now boot from a RAIDZ volume. However, I'm not running BSD.

The way I solved the problem was to create 2 slices on each disk. A 100 GB slice for rpool which is a mirror and the rest of the disk in a second slice for a RAIDZ pool. It has worked fine. Despite losing a disk from time to time, I've never lost data. It was also dead simple to setup.

Reg

Here's what Hipster 2017.10 reports:

root at Hipster:~# zpool status
 pool: epool
 state: ONLINE
 scan: scrub repaired 0 in 2h32m with 0 errors on Sun Feb 14 21:17:16 2021
config:

 NAME STATE READ WRITE CKSUM
 epool ONLINE 0 0 0
 raidz1-0 ONLINE 0 0 0
 c4d0s1 ONLINE 0 0 0
 c6d1s1 ONLINE 0 0 0
 c7d0s1 ONLINE 0 0 0

errors: No known data errors

 pool: rpool
 state: ONLINE
 scan: scrub repaired 0 in 1h39m with 0 errors on Sun Feb 14 20:24:35 2021
config:

 NAME STATE READ WRITE CKSUM
 rpool ONLINE 0 0 0
 mirror-0 ONLINE 0 0 0
 c4d0s0 ONLINE 0 0 0
 c6d1s0 ONLINE 0 0 0
 c7d0s0 ONLINE 0 0 0

errors: No known data errors


root at Hipster:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
epool 594G 2.75T 29.3K /epool
epool/app 10.9G 2.75T 10.8G /app
epool/export 93.3G 2.75T 30.6K /export
epool/export/home 93.3G 2.75T 29.3K /export/home
epool/export/home/old_rhb 11.3G 2.75T 11.3G /export/home/old_rhb
epool/export/home/reg 235M 2.75T 234M /export/home/reg
epool/export/home/rhb 81.8G 2.75T 73.7G /export/home/rhb
epool/iso 8.76G 2.75T 8.76G /iso
epool/misc 29.3K 2.75T 29.3K /export/misc
epool/vbox 29.3K 2.75T 29.3K /export/vbox
epool/vdisk 29.3K 2.75T 29.3K /export/vdisk
epool/vdisks 425G 2.75T 379G /export/vbox/vdisks
rpool 77.9G 18.5G 32.5K /rpool
rpool/ROOT 16.3G 18.5G 23K legacy
rpool/ROOT/openindiana 16.3G 18.5G 16.1G /
rpool/dump 3.99G 18.5G 3.99G -
rpool/fubar_1 23K 18.5G 23K none
rpool/fubar_2 25K 18.5G 25K none
rpool/swap 4.24G 18.7G 4.07G -
rpool/tmp_rhb 53.3G 18.5G 53.3G /export/home/tmp_rhb
  


More information about the openindiana-discuss mailing list