I have 3 disk attached to the system and I wanted to setup it as raidz, after running set commands by gpart show output looks like below (vtpd0 , da0 and da1 are disk attached to system )
then I create the zpool raidz setup with below command
I setup bootfs record as below
reboot the machine and it fails with blew error
The same configuration works well if it is a single disk configuration and I setup it without raidZ (with single disk) .i.e.
Kindly suggest what Option I could try to fix this
Code:
root@mfsbsd:/temp # gpart show
=> 40 167772080 vtbd0 GPT (80G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 163573760 3 freebsd-zfs (78G)
167770112 2008 - free - (1.0M)=> 40 167772080 da0 GPT (80G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 163573760 3 freebsd-zfs (78G)
167770112 2008 - free - (1.0M)=> 40 167772080 da1 GPT (80G)
40 1024 1 freebsd-boot (512K)
1064 984 - free - (492K)
2048 4194304 2 freebsd-swap (2.0G)
4196352 163573760 3 freebsd-zfs (78G)
167770112 2008 - free - (1.0M)
then I create the zpool raidz setup with below command
Code:
zpool create -f -o altroot=/mnt datapool raidz vtbd0p3 da0p3 da1p3
root@mfsbsd:~ # zpool status
pool: datapool
state: ONLINE
scan: none requested
config: NAME STATE READ WRITE CKSUM
datapool ONLINE 0 0 0
raidz1-0 ONLINE 0 0 0
vtbd0p3 ONLINE 0 0 0
da0p3 ONLINE 0 0 0
da1p3 ONLINE 0 0 0
I setup bootfs record as below
Code:
zfs create -o mountpoint=/ -o canmount=noauto datapool/boot
zpool set bootfs=datapool/boot datapool
reboot the machine and it fails with blew error
Code:
BOOTING FROM HARD Disk….
gptzfsboot error 1 lba 1030176
gptzfsboot error 1 lba 1030688
gptzfsboot error 1 lba 1031176
ZFS: I/o error - all block copies unavailable
ZFS : I/o error - all block copies unavailable
Invalid format
Can’t find /boot/loader
Can’t find /boot/kernel/kernel
FreeBsd/x86 boot
Default datapool/boot:/boot/kernel/kernel
Boot:
|
Can’t find /boot/kernel/kernel
The same configuration works well if it is a single disk configuration and I setup it without raidZ (with single disk) .i.e.
zpool create -f -o altroot=/mnt datapool vtbd0p3
Kindly suggest what Option I could try to fix this