NFS TrueNAS - ISO-files können nicht gelesen werden

swift_jan

Member
Aug 31, 2020
42
2
13
24
Germany, Lower Saxony, near Brunswick
Hallo liebe Proxmox Nation :)

Für mein Abschlussprojekt habe ich als Aufgabe bekommen einen Virtualisierungs-Cluster zu Evaluieren.

Der Cluster besteht auf 4 Nodes und der sowohl VMs als auch ISO-files liegen auf einem Server mit TrueNAS und spricht mittels NFS.
Mein Problem: Ich kann eine VM erstellen und eine ISO beim erstellen zuweisen. Wenn ich diese jedoch Nachträglich ändern will, dann erscheint die Meldung:

Code:
volume ISO_Storage:iso/Ubuntu_18.04.5_Server.iso does not exist (500)

Wenn ich die bei der Erstellung eingebundene ISO beibehalte und die VM starten möchte, erscheint folgende Meldung:

Code:
kvm: -drive file=/mnt/pve/ISO_Storage/template/iso/Ubuntu_18.04.5_Server.iso,if=none,id=drive-ide2,media=cdrom,aio=threads: Could not open '/mnt/pve/ISO_Storage/template/iso/Ubuntu_18.04.5_Server.iso': Permission denied
TASK ERROR: start failed: QEMU exited with code 1

Die ISO-files wurden zuvor alle per FTP auf den TrueNAS Server hochgeladen.
Ich dachte zuvor an Probleme mit den Rechten, aber ich kann die ISO-files über die Shell umbenennen, verschieben, löschen, etc. pp....

Komischerweise nachdem ich die oben genannte ISO lösche und diese über Proxmox auf die TrueNAS schiebe geht es plötzlich.. Ich kann sie ganz normal bei einer bestehenden VM auswählen und von der Starten bzw. überhaupt die VM starten..

Beim Versuch von chown -cR root:root ./:
Code:
chown: changing ownership of './cache/ubuntu-20.10-standard_20.10-1_amd64.tar.gz': Invalid argument
chown: changing ownership of './cache/centos-7-default_20190926_amd64.tar.xz': Invalid argument
chown: changing ownership of './cache/opensuse-15.2-default_20200824_amd64.tar.xz': Invalid argument
...
und so weiter..

mit ls -l sehe ich etwas, was mich stutzig macht und ich weiß nicht wie ich das ändern kann..

Ich muss noch dazu sagen, dass ich noch nicht allzu viele Berührungspunkte bei Linux im Detail habe, weswegen sowas (und vor allem Rechte) für mich noch sehr neu ist.

Ich bedanke mich jetzt schon mal für die Hilfe :)
 
hi,

was ist die ausgabe von:
* pveversion -v
* cat /etc/pve/storage.cfg
 
Klingt für mich auch nach einem Problem mit den Rechte seitens TrueNAS. Wie sieht denn die Konfig von dem Storage aus den du für die ISOS nutzt? SMB oder NFS share?
 
* pveversion -v
Code:
proxmox-ve: 6.3-1 (running kernel: 5.4.106-1-pve)
pve-manager: 6.3-6 (running version: 6.3-6/2184247e)
pve-kernel-5.4: 6.3-8
pve-kernel-helper: 6.3-8
pve-kernel-5.4.106-1-pve: 5.4.106-1
pve-kernel-5.4.103-1-pve: 5.4.103-1
pve-kernel-5.4.73-1-pve: 5.4.73-1
ceph-fuse: 15.2.9-pve1
corosync: 3.1.0-pve1
criu: 3.11-3
glusterfs-client: 5.5-3
ifupdown: residual config
ifupdown2: 3.0.0-1+pve3
ksm-control-daemon: 1.3-1
libjs-extjs: 6.0.1-10
libknet1: 1.20-pve1
libproxmox-acme-perl: 1.0.8
libproxmox-backup-qemu0: 1.0.3-1
libpve-access-control: 6.1-3
libpve-apiclient-perl: 3.1-3
libpve-common-perl: 6.3-5
libpve-guest-common-perl: 3.1-5
libpve-http-server-perl: 3.1-1
libpve-storage-perl: 6.3-7
libqb0: 1.0.5-1
libspice-server1: 0.14.2-4~pve6+1
lvm2: 2.03.02-pve4
lxc-pve: 4.0.6-2
lxcfs: 4.0.6-pve1
novnc-pve: 1.1.0-1
openvswitch-switch: 2.12.3-1
proxmox-backup-client: 1.0.12-1
proxmox-mini-journalreader: 1.1-1
proxmox-widget-toolkit: 2.4-9
pve-cluster: 6.2-1
pve-container: 3.3-4
pve-docs: 6.3-1
pve-edk2-firmware: 2.20200531-1
pve-firewall: 4.1-3
pve-firmware: 3.2-2
pve-ha-manager: 3.1-1
pve-i18n: 2.3-1
pve-qemu-kvm: 5.2.0-5
pve-xtermjs: 4.7.0-3
qemu-server: 6.3-10
smartmontools: 7.2-pve2
spiceterm: 3.1-1
vncterm: 1.6-2
zfsutils-linux: 2.0.4-pve1

* cat /etc/pve/storage.cfg
Code:
root@azubinode1:~# cat /etc/pve/storage.cfg
dir: local
        disable
        path /var/lib/vz
        content iso,vztmpl,backup
        shared 0

lvmthin: local-lvm
        disable
        thinpool data
        vgname pve
        content rootdir,images

dir: node1_1tb
        path /mnt/pve/node1_1tb
        content rootdir,images,backup,vztmpl,iso,snippets
        is_mountpoint 1
        nodes azubinode1

dir: node2_1tb
        path /mnt/pve/node2_1tb
        content backup,images,rootdir,snippets,vztmpl,iso
        is_mountpoint 1
        nodes azubinode2

dir: node4_1tb
        path /mnt/pve/node4_1tb
        content images,backup,rootdir,snippets,iso,vztmpl
        is_mountpoint 1
        nodes azubinode4

dir: node3_1tb
        path /mnt/pve/node3_1tb
        content backup,images,rootdir,snippets,iso,vztmpl
        is_mountpoint 1
        nodes azubinode3

nfs: VM_Storage
        export /mnt/proxmox/Proxmox_VMs
        path /mnt/pve/VM_Storage
        server 192.168.100.5
        content rootdir,images
        options vers=4
        prune-backups keep-all=1

nfs: ISO_Storage
        export /mnt/proxmox/Proxmox_ISO_files
        path /mnt/pve/ISO_Storage
        server 192.168.100.5
        content vztmpl,iso
        options vers=4
        prune-backups keep-all=1

Die "dir"s sind nur übrig gebliebene 1TB Platten die je einmal in jedem Node einzeln noch verpackt wurden
 

Attachments

  • Screenshot 2021-04-07 131111.png
    Screenshot 2021-04-07 131111.png
    13 KB · Views: 11

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!