Hello!
I've just bought new hard disk and I want to replace zfsroot in my FreeBSD router. There's no mirror on zfsroot. What I want to do is:
1. attach new drive
2. mirror zfsroot to new, bigger disk
3. unmirror from old smaller disk
4. remove old drive
I am completely uncertain as how this should be done. Will:
do?
Or do I need to create gpt partitions, install bootcode etc?
I've just bought new hard disk and I want to replace zfsroot in my FreeBSD router. There's no mirror on zfsroot. What I want to do is:
1. attach new drive
2. mirror zfsroot to new, bigger disk
3. unmirror from old smaller disk
4. remove old drive
I am completely uncertain as how this should be done. Will:
Code:
zpool attach zroot <old drive> <new drive>
<wait>
zpool detach zroot <old drive>
Or do I need to create gpt partitions, install bootcode etc?