mount disk with existing zfs_member file system

peterka

Member
Dec 23, 2020
42
3
13
60
How can I import sdb1 "zfs_member" partition on a disk (from an other pve host) to my new PVE host, so I can use it and see all vm-disks on it?

root@pvet:~# lsblk -o +FSTYPE,UUID /dev/sdb
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS FSTYPE UUID
sdb 8:16 0 7.3T 0 disk
├─sdb1
│ 8:17 0 7.3T 0 part zfs_me 5205050816889026022
└─sdb9
8:25 0 8M 0 part
 
Last edited:
zpool import -a -f -d /dev/disk/by-id

Will only work if this is a single-disk pool or 1/2 of a mirror; if it's a zfs boot/root (rpool) you might have some issues