ZFS CT content empty but only from host

greg

Renowned Member
Apr 6, 2011
135
2
83
Greetings
I have a CT running for years on ZFS.
This morning, listing the CT content from the host is empty, but the CT is running fine and from the CT I can see all the files...

From inside the CT:

Code:
# ll /                                                 
total 389                                                                        
drwxr-xr-x 2 root root 119 2021-12-30 15:45:39 bin/                       
drwxr-xr-x 2 root root 2 2018-06-26 14:03:08 boot/                      
drwxr-xr-x 6 root root 480 2020-12-31 15:45:05 dev/                       
drwxr-xr-x 103 root root 200 2022-02-23 14:42:04 etc/                       
drwxr-xr-x 2 root root 2 2018-06-26 14:03:08 home/                      
drwxr-xr-x 11 root root 12 2021-12-30 15:40:54 lib/                       
drwxr-xr-x 2 root root 3 2021-12-30 15:41:45 lib64/                     
drwxr-xr-x 2 root root 2 2018-09-07 09:09:05 media/
...

For the host:

Code:
# ll /rpool/ct/subvol-134-disk-0/
total 0

# df -h /rpool/ct/subvol-134-disk-0/
Filesystem                  Size  Used Avail Use% Mounted on
rpool/ct/subvol-134-disk-0  784G  128K  784G   1% /rpool/ct/subvol-134-disk-0

# zfs get mountpoint rpool/ct/subvol-134-disk-0
NAME                        PROPERTY    VALUE                        SOURCE
rpool/ct/subvol-134-disk-0  mountpoint  /rpool/ct/subvol-134-disk-0  default

# zfs get mounted rpool/ct/subvol-134-disk-0    
NAME                        PROPERTY  VALUE    SOURCE
rpool/ct/subvol-134-disk-0  mounted   yes      -

# zfs list -t all -o space -r rpool/ct/subvol-134-disk-0    
NAME                        AVAIL   USED  USEDSNAP  USEDDS  USEDREFRESERV  USEDCHILD
rpool/ct/subvol-134-disk-0   129G   879G      608G    271G             0B         0B

(also all the snapshots are listed here)

The even weirder thing is, the .zfs folder is missing:

Code:
# ll /rpool/ct/subvol-134-disk-0/.zfs/snapshot    
ls: cannot access '/rpool/ct/subvol-134-disk-0/.zfs/snapshot': No such file or directory

It feels like something empty has been mounted over the mountpoint.

It seems that it happend about the time a replication was made, since the last snapshot is a replication one:

Code:
rpool/ct/subvol-134-disk-0@__replicate_134-0_1645700520__  creation              Thu Feb 24 12:02 2022

Maybe I should rollback to the snapshot just before this one?

This is a production server and it needs to be running tonigh for an operation, so I'm relunctant to try and reboot it...

Can someone help me???

Thanks in advance

Regards
 

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!