datastore create Fehlermeldung

mreder

New Member
Aug 8, 2022
7
0
1
Hallo,

mir ist es leider nicht möglich weder per PBS Gui oder PBS CLI einen datastore einzurichten. Es kommt immer zur Fehlermeldung "EPERM: Operation not permitted". Mit touch eine Datei auf dem Ubuntu Server erstellen funktioniert. Fehlermeldungen kann ich nirgends finden. Es scheint aber mit Rechten ein Problem zu geben. Vielleicht ist an Hand der Infos erkennbar wo es klemmen könnte.

# externer Backup Server Ubuntu Server 22.04 LTS mit NFS
root@backup:~# df -h
Code:
Filesystem      Size  Used Avail Use% Mounted on
tmpfs           790M  1,2M  789M   1% /run
/dev/sda2       458G  8,2G  426G   2% /
tmpfs           3,9G     0  3,9G   0% /dev/shm
tmpfs           5,0M     0  5,0M   0% /run/lock
/dev/sdb1       1,4T   12K  1,4T   1% /mnt/pve/backup
tmpfs           790M  4,0K  790M   1% /run/user/1000
root@backup:~#chown -R backup:backup /mnt/pve

# Kontrolle per Webmin
Rechte: /mnt/pve
Owner backup:backup
Mode: 777

# Proxmox Backup Server 2.2-5 Konsole
root@pbs:~# df -h
Code:
Filesystem                   Size  Used Avail Use% Mounted on
udev                         955M     0  955M   0% /dev
tmpfs                        198M  652K  198M   1% /run
/dev/mapper/pbs-root          24G  2.8G   20G  13% /
tmpfs                        989M     0  989M   0% /dev/shm
tmpfs                        5.0M     0  5.0M   0% /run/lock
192.168.0.5:/mnt/pve/backup  1.4T     0  1.4T   0% /mnt/pve/backup
tmpfs                        198M     0  198M   0% /run/user/0
Size 1.4T passt!

root@pbs:/mnt/pve/backup# touch test.txt
root@pbs:/mnt/pve# ls -l
Code:
total 0
-rw-r--r-- 1 backup backup 0 Aug 10 10:33 test.txt

# PBS Add Datastore
Name: backup
Backing Path: /mnt/pve/backup
Fehlermeldung: EPERM: Operation not permitted

root@pbs:~# proxmox-backup-manager datastore create backup /mnt/pve/backup
TASK ERROR: EPERM: Operation not permitted

# Ubuntu Server
root@backup:/# cat /etc/exports
Code:
/export/backup    (rw)
/export    (fsid=0,rw)
/export/backup    (rw)
/mnt/pve/backup    (rw)

Vielen Dank
mreder
 
Hat sich erledigt.
Nutze jetzt OMV. Wenn die Rechte des NFS Shares auf rw,sync,no_root_squash funktioniert alles.
 

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!