Colleagues, please tell me how to solve my problem.
I have a server and there are two zfs pools on it: zroot consisting of one disk and raid0 consisting of three disks - gpt/rz0:0, gpt/rz0:1, gpt/rz0:2.
The gpt/rz0:1 disk in the raid0 pool failed and I needed to replace it.
I was afraid, due to an error, to format another disk and connected the new disk to the test machine, and created a partition and label rz0:1 on it. But I didn’t realize that at the same time, the entries “name: 'zroot', hostname: 'test', path: '/dev/gpt/zfs0' remained in zdb.”
After moving the disk to the server, nightmares began - at the boot stage, the server started writing:
I believe that in the zdb of volume rz0:1 I need to change the entries to "name: 'raid0', hostname: 'server.ogogon.org', path: '/dev/gpt/rz0:1".
How to do it?
I would be grateful for your advice,
Ogogon.
I have a server and there are two zfs pools on it: zroot consisting of one disk and raid0 consisting of three disks - gpt/rz0:0, gpt/rz0:1, gpt/rz0:2.
The gpt/rz0:1 disk in the raid0 pool failed and I needed to replace it.
I was afraid, due to an error, to format another disk and connected the new disk to the test machine, and created a partition and label rz0:1 on it. But I didn’t realize that at the same time, the entries “name: 'zroot', hostname: 'test', path: '/dev/gpt/zfs0' remained in zdb.”
After moving the disk to the server, nightmares began - at the boot stage, the server started writing:
Code:
Mounting from zfs:zroot/ROOT/default failed with error 6; retrying for 8 more seconds
Mounting from zfs:zroot/ROOT/default failed with error 6.
I believe that in the zdb of volume rz0:1 I need to change the entries to "name: 'raid0', hostname: 'server.ogogon.org', path: '/dev/gpt/rz0:1".
How to do it?
I would be grateful for your advice,
Ogogon.