mount disk with existing zfs_member file system

peterka

Member
Dec 23, 2020
42
2
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
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!