Hi!
I have a ZFS pool with 4x8TB disks
I´m intended to test a full preventive replace of all of them, with another set of 4x8TB HDs.
I have find this old thread with important instructions. : ZFS Disk replacement (2018)
But i´m in doubt with the boot partition.
Appears that the boot partition resides inside ZFS pool .
However, the 4 original disks have partitions listed as "boot":
Will I need to copy all disk partitions as described in the mencioned post in step 3, and grub-restore in step 5, previous to restore zfs pool?
Regards!!
I have a ZFS pool with 4x8TB disks
I´m intended to test a full preventive replace of all of them, with another set of 4x8TB HDs.
I have find this old thread with important instructions. : ZFS Disk replacement (2018)
But i´m in doubt with the boot partition.
Appears that the boot partition resides inside ZFS pool .
Code:
root@pbs1210:/# ls -l
total 114
drwxr-xr-x 4 backup backup 6 May 1 01:28 antes
lrwxrwxrwx 1 root root 7 Jul 12 2021 bin -> usr/bin
drwxr-xr-x 5 root root 11 Apr 9 17:04 boot
drwxr-xr-x 20 root root 4380 May 1 08:44 dev
drwxr-xr-x 79 root root 161 Apr 29 17:25 etc
drwxr-xr-x 4 backup backup 6 Apr 30 20:48 feb2022
drwxr-xr-x 2 root root 2 Apr 10 2021 home
lrwxrwxrwx 1 root root 7 Jul 12 2021 lib -> usr/lib
lrwxrwxrwx 1 root root 9 Jul 12 2021 lib32 -> usr/lib32
lrwxrwxrwx 1 root root 9 Jul 12 2021 lib64 -> usr/lib64
lrwxrwxrwx 1 root root 10 Jul 12 2021 libx32 -> usr/libx32
drwxr-xr-x 2 root root 2 Jul 12 2021 media
drwxr-xr-x 3 root root 3 Jul 12 2021 mnt
drwxr-xr-x 2 root root 2 Jul 12 2021 opt
dr-xr-xr-x 310 root root 0 May 1 08:44 proc
drwx------ 6 root root 12 Apr 14 16:29 root
drwxr-xr-x 3 root root 3 Feb 26 10:27 rpool
drwxr-xr-x 23 root root 780 May 1 08:54 run
lrwxrwxrwx 1 root root 8 Jul 12 2021 sbin -> usr/sbin
drwxr-xr-x 2 root root 2 Jul 12 2021 srv
dr-xr-xr-x 13 root root 0 May 1 08:44 sys
drwxrwxrwt 10 root root 10 May 1 09:49 tmp
drwxr-xr-x 14 root root 14 Jul 12 2021 usr
drwxr-xr-x 11 root root 13 Jul 12 2021 var
However, the 4 original disks have partitions listed as "boot":
Code:
root@pbs1210:/# fdisk -l /dev/sdd
Disk /dev/sdd: 7.28 TiB, 8001563222016 bytes, 15628053168 sectors
Disk model: ST8000VN004-2M21
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: BDF45E60-3758-4A71-9901-4B9775261073
Device Start End Sectors Size Type
/dev/sdd1 34 2047 2014 1007K BIOS boot
/dev/sdd2 2048 1050623 1048576 512M EFI System
/dev/sdd3 1050624 15628053134 15627002511 7.3T Solaris /usr & Apple ZFS
Will I need to copy all disk partitions as described in the mencioned post in step 3, and grub-restore in step 5, previous to restore zfs pool?
Code:
Copy the partition table from /dev/sda to /dev/sdc
3) sgdisk --replicate=/dev/sdc /dev/sda
Regards!!