Importing Dataset fails

Shakran

New Member
Apr 25, 2024
14
0
1
So im at the end of my knowledge and need a littlebit of help, i seem to not see where my error is.

I wanted to redo my "old" proxmox server, get rid of the split-bios and boot from SD, and use the raidcontroller to make it abit less likely to fail spectacularly. Since i cant sleep withotu backups, i have backups.
Thing is, my Truenas runs also on that server on a few HDD.

I installed the backup server, used smb share as mount point, and all was running well.

Now i cloned my small first truenas onto a proper big Server that runs truenas, and that worked well.
I created a share where the "pbs" user can access, and mounted that path into the newly created PBS VM.
I can browse the smb folder. i can see all contents in it, and i thought all is well.

Creating or rather importing the dataset via the GUI isnt possible. It tells me that the folder /mnt/smb isnt empty.
So i did it manually with the datastore.cfg
datastore: TruenasSRV
path /mnt/smb

Upon doing so i saw the datastore, but get the error "Datastore not Available"
I checked the Permissions, uid gid 34. user seems to be fine, still used
chown backup:backup /mnt/smb -R
chmod -R 700 /mnt/smb
to no avail. I still cant get those backups imported.

I dont know what i am missing. why can i browse everything from the shell without a problem, seem to have the correct permissions, but still cant import it into PBS.
Is it because of some incompatibility between my old V3.4 and the new 4.0.18?

Does someone have any clue what i am missing?

Little Edit:
I now also tried solutions from https://forum.proxmox.com/threads/permission-error-importing-existing-datastore.158716/
and also from: https://forum.proxmox.com/threads/pbs-new-instance-add-existing-datastore-errors.165693/#post-805759

now im getting even more confused.
Screenshot 2025-10-25 154633.png
Screenshot 2025-10-25 154436.png
 
Last edited:
Exactly, the format is not backward-compatible for direct import.
I mean i would understand that the compatibility from 4.x to 3.4 isnt working, but im trying to go from a 3.4 server to a new 4.x server.

Also i found the option in the advanced options that says to reuse dataset, but here i get the error that the permissions are dnied on the .chunks folder (and they look correct)