hello everyone,
I've been searching for a few days without finding any solutions. I installed Proxmox VE on my server and created an openmediavault VM. Proxmox is installed on a SSD and I've got 4 HDDs for data using zfs filesystem for raid. I've experienced some potential issues and the one I can't fix is after a SSD crash eventually it may happen. So my SSD just crashed, I install a new SSD and here we go. Proxmox ok, openmediavault VM ok, adding my zpool in the Hardware tab ok but what I can't find is to mount manually my previous pool without formatting the disk and so my data. With GUI impossible so I searched with a command line but no success. I hope to be clear, is anybody have a solution ?
Thank you
adding an old disk to a new install without formatting
-
- OMV 4.x
- matt.doff
-
-
do you try to import zpool from shell?
-
adding my zpool in the Hardware tab
I want to ask a similar question than @raulfg3: Did you create a new zpool or did you import the pool by the webUI (There is an import function in the ZFS plugin)? If this doesn´t work try to import from a shell with the force "-f" parameter.
-
I used zpool import -a first but afterwards I can't do nothing more this is why I'm stuck.
zpool import -a
zpool status and then data center > add zfs
I'm sure there is a way to recover his pool in omv but how
I'll have like 10 TiB of backup so I can't loose them if I have to install again only OS -
Does anybody have a solution ?
-
data center > add zfs
What is the output of zpool status?
Did you try forced import of the pool zpool import -f <poolname>
Orcale dokumentation: "If the pool was not cleanly exported, ZFS requires the -f flag to prevent users from accidentally importing a pool that is still in use on another system."
-
-
OK, you have a pool with the name "nas". Everything seems to be Ok with the pool. Where is the problem? Did you see the pool in the ZFS plugin?
-
Alright I'm gonna try to be clear.
Indeed the problem isn't there, in the event of a failure If I have to install again my Proxmox with a new VM omv I can't add my pool without formatting it BUT I will need to recover all my presumed lost data.
Do you understand what I mean ?After zpool import I need to add here /dev/sdb1 but I can't mount again without formatting it.
-
Do you understand what I mean ?
Sorry, not really.
Is /dev/sdb1 a member of your zpool "nas"? Usually it cannot be that way. sdb1 should be a complete different disk with a complete different xfs file system.
Did you install and use the Openmediavault ZFS plugin? What is shown in the ZFS plugin window? What is the output of zfs list?
-
- Is /dev/sdb1 a member of your zpool "nas"? yes it's my entire zpool
- Did you install and use the Openmediavault ZFS plugin? I just installed yes but I don't use it yet
- What is the output of zfs list?
NAME USED AVAIL REFER MOUNTPOINT
nas 2.47M 10.2T 140K /nas -
Is /dev/sdb1 a member of your zpool "nas"? yes it's my entire zpool
That contradicts your post no. 7 "output of zpool status". There you show us a raid-z1 out of 4 disks.
- What is the output of zfs list? no datasets available
This means you have no ZFS filesystem on your pool.
I am meanwhile out of ideas.
In conclusion maybe this post could be helpful:Repairing shares on ZFS disks after a failed kernel upgrade -
sdb is a xfs filesystem, so it's not your ZFS pool.
-
omv doesn't recognize the zfs filesystem of proxmox this is the reason
-
use the zfs pluging to recognize zfs pool.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!