Need help mounting a pre-existing zvol

jbruce716

New Member
Aug 2, 2021
3
0
1
35
All - My dedicated NAS server died, and now I'm recovering my ZFS array. I've got everything sorted except for one piece.

I had a zvol exposed as an ISCSI share, and had that imported into proxmox as an lvm disk for VM storage. Now, without the ISCSI portion, I can't figure out how to mount the zvol to migrate my data off of it. If I try to simply mount it, I get an LVM based error: "unknown filesystem type 'LVM2_member'."

Is there a way to temporarily mount this so I can finish cleaning up?

Not sure sure what other data would be useful when thinking of advice, I'm willing to copy/paste any output necessary for help.
 
if an lvm is on the disk you have to first get it into lvm using e.g. pvscan etc.
possibly the /dev/zvol entries are excluded in /etc/lvm/lvm.conf (search for 'global' filter)
 
Thanks! I ran pvscan and it only shows the current bootdisk which was made into an lv during installation. I also didn't see anything obvious in the lvm.conf file excluding the zvol.

Here's some more context:

I can see the zvol with a couple commands.

Code:
fdisk -l

Disk /dev/zd0: 1000 GiB, 1073741856768 bytes, 2097152064 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 32768 bytes
I/O size (minimum/optimal): 32768 bytes / 32768 bytes

and also with the zfs command: (the one at the bottom that isn't mounted)

Code:
root@pve:~# zfs list
NAME                                                        USED  AVAIL     REFER  MOUNTPOINT
dumpster                                                   9.92T  5.06T     27.1G  /dumpster
dumpster/.bhyve_containers                                 70.6M  5.06T     70.6M  /dumpster/.bhyve_containers
dumpster/.system                                            214M  5.06T      222K  legacy
dumpster/.system/configs-229b43ea8de442e68f6896e2baff0028   122M  5.06T      122M  legacy
dumpster/.system/cores                                     1015K  1023M     1015K  legacy
dumpster/.system/rrd-229b43ea8de442e68f6896e2baff0028      75.8M  5.06T     75.8M  legacy
dumpster/.system/samba4                                    4.09M  5.06T     1.09M  legacy
dumpster/.system/services                                   205K  5.06T      205K  legacy
dumpster/.system/syslog-229b43ea8de442e68f6896e2baff0028   10.9M  5.06T     10.9M  legacy
dumpster/.system/webui                                      188K  5.06T      188K  legacy
dumpster/Home                                               170G  5.06T      170G  /dumpster/Home
dumpster/Time Machine                                       310G  5.06T      310G  /dumpster/Time Machine
dumpster/isoStorage                                        10.3G  5.06T     10.3G  /dumpster/isoStorage
dumpster/media                                             7.52T  5.06T     7.52T  /dumpster/media
dumpster/nextcloud                                         1.40T  5.06T     1.40T  /dumpster/nextcloud
dumpster/vmbackups                                         60.7G  5.06T     60.7G  /dumpster/vmbackups
dumpster/vmscsistorage                                      449G  5.06T      449G  -
 

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!