Hello guys i install zfs on 1 disk and i want to add new disk for mirroring zfs, how to partition the new disk same as existing disk?
Code:
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 2.2T 0 disk
├─sda1 8:1 0 1007K 0 part
├─sda2 8:2 0 512M 0 part
└─sda3 8:3 0 2.2T 0 part
sdb 8:16 0 2.2T 0 disk
fdisk -l
Disk /dev/sda: 2.18 TiB, 2400476553216 bytes, 4688430768 sectors
Disk model: EG002400JWJNT
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: 14177CE2-9463-47C7-8B15-53AAF204C1A7
Device Start End Sectors Size Type
/dev/sda1 34 2047 2014 1007K BIOS boot
/dev/sda2 2048 1050623 1048576 512M EFI System
/dev/sda3 1050624 4688430734 4687380111 2.2T Solaris /usr & Apple ZFS
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 2.18 TiB, 2400476553216 bytes, 4688430768 sectors
Disk model: EG002400JWJNT
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes