Proxmox 8.2.2 Lost ZFS Pool Lost After Shutdown

reloadtech

New Member
Oct 25, 2024
2
0
1
Hello to all,

After an unexpectedly shutdown Proxmox server lost the ZFS Pool.
I can see from Datastore's Storage section my old ZFS Storage, but the pool is missing from the server.
Disks Health is good (I checked through Raid Controller).
All my VMs were stored in there.

Is it possible to mount my old ZFS Pool again? Is it still reachable?

Thank you all for your time.
 
There are ZFS commands for this. The command zpool import <pooname> is used to import a pool. See also zpool help import
 
  • Like
Reactions: reloadtech
Thank you all for your replies,

zpool import didn't work, but zpool import -F
worked perfectly. (it's says that -F stands for recovery).

After this command my zfs pool appeared again.

My problem is that I have all my VMs on this pool. Is this a common thing? I mean to loose the pool?.

There was an sudden shutdown when it occurs to me but I read threads that others say that is happening after restart.

Is there any configuration I can do to prevent this?

Thank you for your time
 
Thank you all for your replies,

zpool import didn't work, but zpool import -F
worked perfectly. (it's says that -F stands for recovery).

That's not correct, have a look at docs [1].

-f ignores that pool has not been previously exported (as daunting as it sounds it simply means that it has a marking that it was used by "another" system, which may mean you are trying to import a pool that is already active elsewhere or you might have just lost a cached value that helps your system recognise it was yours all along);

-F however means some transactions were discarded, i.e. you lost some data. If you had to use this option it dropped some last writes to the pool.

After this command my zfs pool appeared again.

My problem is that I have all my VMs on this pool. Is this a common thing? I mean to loose the pool?.

Common enough for myself not to use the most recent (potentially not well tested) versions of ZFS. But I wonder if I will be asked (by staff) now to refrain from these discussions here like it started happening on this forum in relation to raids/volumes/filesystems [2].

There was an sudden shutdown when it occurs to me but I read threads that others say that is happening after restart.

Is there any configuration I can do to prevent this?

Use a stable filesystem. Do not believe non-sense about one particular that are perpetuated on forums.

Thank you for your time

You are welcome. Whatever filesystem you use, have backups (they will [3] blame you here for not having one instantly anyways).

EDIT: If you are genuinely interested in anything ZFS, consider dedicated forum [4], it's very lacking here.

[1] https://openzfs.github.io/openzfs-docs/man/master/8/zpool-import.8.html
[2] https://forum.proxmox.com/threads/mdraid-o_direct.156036/#post-713636
[3] https://forum.proxmox.com/threads/lost-all-data-on-zfs-raid10.154843/
[4] https://zfsonlinux.topicbox.com/latest
 
Last edited:

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!