lokaler ZFSDATA2 spezifisch anlegen

crmspezi

Renowned Member
Sep 5, 2019
428
34
68
45
Germany/Thueringen
Hallo zusammen,
folgende Frage:

Derzeit:

zfspool: ZFSDATA
pool ZFSRAID
content rootdir,images
mountpoint /ZFSRAID
nodes pve02,pve03
sparse 1


zfspool: ZFSDATA2
pool ZFSRAID2
content images,rootdir
mountpoint /ZFSRAID2
nodes pve02,pve03
sparse 1

Die oberen beide haben jeweils 2 Plattenverbünde. Ich müsste bei einem anderen PVE der nur einen großen Plattenverbund hat folgendes realisieren um VM's zu replizieren, die HDDs auf beiden Plattenverbünden haben. Nur ist ja die storage.cfg global. Wie könnte ich dies ermöglichen, ich kann ja schlecht ZFSDATA und ZFSDATA2 doppelt deklarieren?

zfspool: ZFSDATA
pool ZFSRAID/pool1
content images,rootdir
mountpoint /ZFSRAID
nodes pve01
sparse 1

zfspool: ZFSDATA2
pool ZFSRAID/pool2
content images,rootdir
mountpoint /ZFSRAID2
nodes pve01
sparse 1

oder geht sowas?

zfspool: ZFSDATA
pool ZFSRAID
content images,rootdir
mountpoint /ZFSRAID
nodes pve02,pve03
sparse 1

pool ZFSRAID/pool1
content images,rootdir
mountpoint /ZFSRAID
nodes pve01
sparse 1

zfspool: ZFSDATA2
pool ZFSRAID2
content images,rootdir
mountpoint /ZFSRAID2
nodes pve02,pve03
sparse 1

pool ZFSRAID/pool2
content images,rootdir
mountpoint /ZFSRAID2
nodes pve01
sparse 1

VG crmspezi
 
Last edited:
Könnte mir jemand von den proxmox Jungs sagen ob die Syntax wie hier erlaubt ist und ob das gewünschte (siehe oben) auch passiert. Ich möchte es ungern am echten System probieren.

zfspool: ZFSDATA2

nodes pve02,pve03
pool ZFSRAID2
content images,rootdir
mountpoint /ZFSRAID2
sparse 1

nodes pve01
pool ZFSRAID/pool2
content images,rootdir
mountpoint /ZFSRAID2
sparse 1

Danke.
 
nein das geht nicht. eine 'storage id' hat im ganzen cluster die gleichen settings (mountpoint/poolname/etc)
 
Danke und sehr schade. Kann ich denn irgendwie zpool create ZFSRAID2 ZFSRAID1/virtuelles_ZFSRAID2 ausführen? Als Datei einbinden funktioniert dies, da hatte ich aber schon Probleme gehabt.