Added SAMBA share (atop ZFS) to the datacenter, different node sees different content, by design?

dengydongn

New Member
Oct 7, 2022
10
4
3
Edit: Problem solved. See my last reply for details, TL;DR: one machine has the same /mnt/pve/share_iso however it's pointing another share (from /etc/pve/storage.conf due to a previous attempt), I did some cleanup and readded the SMB share to DC and now it's working as expected, both machines see same content from the same share.

================================
See below for details, I added a SMB/CIFS storage at the data center level, which has two nodes. Since it's just one SMB share underneath, I thought I would upload files from one node, and have the other server access the ISOs uploaded from the other node, turned out I was wrong,

The node can only see content uploaded from itself, it cannot see ISOs uploaded by the other node, is this by design?

Is it because from Proxmox perspective, this is just a mount point /mnt/pve/share_iso, which is available on both machines hence both machines write it separately?

but how come when I connect the SMB share from Windows, I only see the ISOs from the 2nd node r730? where the heck are the ISOs uploaded from 3950x node?


1665118532465.png


1665118544783.png

1665118799697.png
 
Last edited:
Could you please elaborate where zfs comes to play? Please take a screenshot of your datacenter -> storage tab

Thanks for your response, I created a ZFS pool

1665165944282.png

then used it as SMB share root

1665165978747.png

then added this SMB share in Datacenter Storage

1665166424826.png

1665166057454.png

Then when I access this SMB share from different nodes, I see different content
 

Attachments

  • 1665166017417.png
    1665166017417.png
    118.3 KB · Views: 2
Last edited:
Could you please elaborate where zfs comes to play? Please take a screenshot of your datacenter -> storage tab
I actually figured out what's going on and have it resolved. Turned out, on the 3950x node, there was another endpoint under /mnt/pve called share_iso, however, it was mounted before and pointed to a different share :)

I did some clean up,
1. Removed all SMB storage from cluster
2. unmounted all shares under /mnt/pve
3. rmdir of all endpoints under /mnt/pve
4. cleaned up /etc/pve/storage.conf

Then readded the SMB storage, now both nodes are pointing to the SAME SMB share, and they're looking at the same content!!!

1665169202415.png

1665169214634.png
 
Last edited:
  • Like
Reactions: LnxBil and _gabriel

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!