ZFS pool doesn't import

ypadlyak

New Member
Nov 21, 2020
3
0
1
38
Hi Everyone,

1. I've made one of 3 disks in raidz pool offline to replace with a bigger partition on the same disk
2. exported pool
3. repartitioned that one disk to make the partition for ZFS bigger
4. tried importing to then replace disk, but it fails:

root@ve:~# zpool import pool1
cannot import 'pool1': one or more devices is currently unavailable

Please help me figure out
 
Last edited:
Hi,

I guess you destroyed your ZFS on the disk you partitioned.
you have to use the "-F" flag to import and then rebuild the zpool.
For more information see man zpool
 
Probably you are right. With -f an error is the same. What I think I will try is to restore previous partitions on that disk and see if it helps
 
Last edited:
zpool import -d /dev did the trick! After that, I was able to replace offline disk with a new one. Now waiting for resilver and celebrating :) I was already considering the data lost (not critical ectually)
 

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!