cluster. local storage to each node

ishk0

New Member
Feb 9, 2018
4
0
1
25
I apologize if my question was already on the forum.

I would like to set up a separate local contauner storage for each Node in the cluster. I need yout help to edit storage.cfg right.

pve02 have local-zfs
pve13 have local-lvm

my storage.cfg:

dir: local
path /var/lib/vz
content iso,vztmpl,backup

zfspool: local-zfs
pool rpool/data
sparse
content images,rootdir


Thank you.

___________________________

Another question:
I created RAID1 - zfs on pve02. When testing, I turn 1 HDD off. It works after restarting and I don't see any messages about the absence of the 1st HDD in RAID1.

Tell me please:
How can I monitor the status of RAID1?
How do I add a new HDD to RAID1 as a replacement of the spoiled one?
 
Last edited:
ok. RAID:
zpool status rpool
and sgdisk

please help me:
local storage of containers
for each node.

storage.cfg - ?
 
zfspool: local-zfs
<------>pool rpool/data
<------>sparse
<------>content images,rootdir
<------>nodes pve02 <--- ok, that's what I need

lvmthin: local-lvm
thinpool data
vgname pve
content rootdir,images
<------>nodes pve13 <--- ok, that's what I need

_______________________________________

help me with VM migration
Please
help me with VM migration from one node to another.

log:
storage 'local-zfs' is not available on node 'pve13' (500)

how to specify the correct repository?