lost everything after umount container

AxelTwin

Well-Known Member
Oct 10, 2017
133
6
58
39
Hi everybody,
I did a "umount subvol-101-disk-0" and lost evrything in the container exscept "dev" folder.
now I am unable to mount the container back, even after rebooting proxmox the container remains empty and down.
Any suggestions to recover from that ?
Thanks
 
Can you post a 'zfs get all <pool>/<subvol>' to see what settings the subvol has?
 
Code:
zfs get all zfs-pool/subvol-111-disk-0
Please remove the slash in front of the zfs-pool, as we want to see the settings for the subvol. And please post with Code/Spoiler/Quote tag (under the small plus), so the format is kept.
 
Code:
root@overlaps:~# zfs get all zfs-pool/subvol-111-disk-0
NAME                        PROPERTY              VALUE                        SOURCE
zfs-pool/subvol-111-disk-0  type                  filesystem                   -
zfs-pool/subvol-111-disk-0  creation              Sun Jan 13 13:13 2019        -
zfs-pool/subvol-111-disk-0  used                  418G                         -
zfs-pool/subvol-111-disk-0  available             81.6G                        -
zfs-pool/subvol-111-disk-0  referenced            418G                         -
zfs-pool/subvol-111-disk-0  compressratio         1.00x                        -
zfs-pool/subvol-111-disk-0  mounted               no                           -
zfs-pool/subvol-111-disk-0  quota                 none                         default
zfs-pool/subvol-111-disk-0  reservation           none                         default
zfs-pool/subvol-111-disk-0  recordsize            128K                         default
zfs-pool/subvol-111-disk-0  mountpoint            /zfs-pool/subvol-111-disk-0  default
zfs-pool/subvol-111-disk-0  sharenfs              off                          default
zfs-pool/subvol-111-disk-0  checksum              on                           default
zfs-pool/subvol-111-disk-0  compression           off                          default
zfs-pool/subvol-111-disk-0  atime                 on                           default
zfs-pool/subvol-111-disk-0  devices               on                           default
zfs-pool/subvol-111-disk-0  exec                  on                           default
zfs-pool/subvol-111-disk-0  setuid                on                           default
zfs-pool/subvol-111-disk-0  readonly              off                          default
zfs-pool/subvol-111-disk-0  zoned                 off                          default
zfs-pool/subvol-111-disk-0  snapdir               hidden                       default
zfs-pool/subvol-111-disk-0  aclinherit            restricted                   default
zfs-pool/subvol-111-disk-0  createtxg             3903342                      -
zfs-pool/subvol-111-disk-0  canmount              on                           default
zfs-pool/subvol-111-disk-0  xattr                 sa                           local
zfs-pool/subvol-111-disk-0  copies                1                            default
zfs-pool/subvol-111-disk-0  version               5                            -
zfs-pool/subvol-111-disk-0  utf8only              off                          -
zfs-pool/subvol-111-disk-0  normalization         none                         -
zfs-pool/subvol-111-disk-0  casesensitivity       sensitive                    -
zfs-pool/subvol-111-disk-0  vscan                 off                          default
zfs-pool/subvol-111-disk-0  nbmand                off                          default
zfs-pool/subvol-111-disk-0  sharesmb              off                          default
zfs-pool/subvol-111-disk-0  refquota              500G                         local
zfs-pool/subvol-111-disk-0  refreservation        none                         default
zfs-pool/subvol-111-disk-0  guid                  3716912039637191042          -
zfs-pool/subvol-111-disk-0  primarycache          all                          default
zfs-pool/subvol-111-disk-0  secondarycache        all                          default
zfs-pool/subvol-111-disk-0  usedbysnapshots       0B                           -
zfs-pool/subvol-111-disk-0  usedbydataset         418G                         -
zfs-pool/subvol-111-disk-0  usedbychildren        0B                           -
zfs-pool/subvol-111-disk-0  usedbyrefreservation  0B                           -
zfs-pool/subvol-111-disk-0  logbias               latency                      default
zfs-pool/subvol-111-disk-0  dedup                 off                          default
zfs-pool/subvol-111-disk-0  mlslabel              none                         default
zfs-pool/subvol-111-disk-0  sync                  standard                     default
zfs-pool/subvol-111-disk-0  dnodesize             legacy                       default
zfs-pool/subvol-111-disk-0  refcompressratio      1.00x                        -
zfs-pool/subvol-111-disk-0  written               418G                         -
zfs-pool/subvol-111-disk-0  logicalused           415G                         -
zfs-pool/subvol-111-disk-0  logicalreferenced     415G                         -
zfs-pool/subvol-111-disk-0  volmode               default                      default
zfs-pool/subvol-111-disk-0  filesystem_limit      none                         default
zfs-pool/subvol-111-disk-0  snapshot_limit        none                         default
zfs-pool/subvol-111-disk-0  filesystem_count      none                         default
zfs-pool/subvol-111-disk-0  snapshot_count        none                         default
zfs-pool/subvol-111-disk-0  snapdev               hidden                       default
zfs-pool/subvol-111-disk-0  acltype               posixacl                     local
zfs-pool/subvol-111-disk-0  context               none                         default
zfs-pool/subvol-111-disk-0  fscontext             none                         default
zfs-pool/subvol-111-disk-0  defcontext            none                         default
zfs-pool/subvol-111-disk-0  rootcontext           none                         default
zfs-pool/subvol-111-disk-0  relatime              off                          default
zfs-pool/subvol-111-disk-0  redundant_metadata    all                          default
zfs-pool/subvol-111-disk-0  overlay               off                          default
 
and nope, it doesnt get mounted:
Code:
root@overlaps:~# zfs get mounted
NAME                            PROPERTY  VALUE    SOURCE
zfs-pool                        mounted   yes      -
zfs-pool/subvol-101-disk-1      mounted   yes      -
zfs-pool/subvol-102-disk-0      mounted   yes      -
zfs-pool/subvol-103-disk-1      mounted   yes      -
zfs-pool/subvol-105-disk-0      mounted   yes      -
zfs-pool/subvol-106-disk-0      mounted   yes      -
zfs-pool/subvol-111-disk-0      mounted   no       -
zfs-pool/subvol-113-disk-1      mounted   yes      -
zfs-pool/vm-pool                mounted   yes      -
zfs-pool/vm-pool/vm-200-disk-0  mounted   -        -
zfs-pool/vm-pool/vm-205-disk-1  mounted   -        -

Found somebody had the exact same problem but no solution in the post:
https://www.reddit.com/r/homelab/comments/a9aybg/proxmox_and_zfs_missing_data/
 
zfs-pool/subvol-111-disk-0 mounted no -
The mount folder needs to be empty, to have 'zfs mount zfs-pool/subvol-111-disk-0' succeed.
 
Gosh ! You're my hero !
Cost me 467€ for paid support, 1 ticket used out of 3 for nothing. and a subscription valid on a server that will be out of prod by end of the week...

Thank to you anyway
 
  • Like
Reactions: Alwin
Cost me 467€ for paid support, 1 ticket used out of 3 for nothing. and a subscription valid on a server that will be out of prod by end of the week...
Good invested money. ;) You're welcome.
 
Just to clarify for those who read this post:

Read pricing conditions, they are much more advantageous than what I stated previously.

I was to stressed to read correctly...

Thanks to proxmox staff
 
  • Like
Reactions: oguz and Alwin