Modify files in /etc/pve

grobs

Active Member
Apr 1, 2016
56
0
26
37
France
Hi,

I would like to change some settings in some /etc/pve/* files on my physical Proxmox hosts but I'm not able to create or modify files in this directory :

Code:
# touch /etc/pve/test.file
touch: impossible de faire un touch « /etc/pve/test.file »: Périphérique ou ressource occupé

# mount | grep /etc/pve
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)

# grep pve /etc/fstab
/dev/pve/data   /var/lib/vz   ext3   defaults   0   2

Is it normal? How can I modify those files (/etc/pve/storage.cfg, /etc/pve/user.cfg, /etc/pve/priv/known_hosts)?

# pveversion -V
pve-manager: 2.3-13 (pve-manager/2.3/7946f1f1)
running kernel: 2.6.32-19-pve
proxmox-ve-2.6.32: 2.3-96
pve-kernel-2.6.32-14-pve: 2.6.32-74
pve-kernel-2.6.32-19-pve: 2.6.32-96
lvm2: 2.02.95-1pve2
clvm: 2.02.95-1pve2
corosync-pve: 1.4.4-4
openais-pve: 1.1.4-2
libqb: 0.10.1-2
redhat-cluster-pve: 3.1.93-2
resource-agents-pve: 3.9.2-3
fence-agents-pve: 3.1.9-1
pve-cluster: 1.0-36
qemu-server: 2.3-20
pve-firmware: 1.0-21
libpve-common-perl: 1.0-49
libpve-access-control: 1.0-26
libpve-storage-perl: 2.3-7
vncterm: 1.0-4
vzctl: 4.0-1pve2
vzprocps: 2.0.11-2
vzquota: 3.1-1
pve-qemu-kvm: 1.4-10
ksm-control-daemon: 1.1-1
 
This is not normal. Is your cluster quorate?

But you run a really outdated version, so I suggest to update your system.
 
Thank you dietmar, your replies are always relevent and very quick!

As I am a beginner with proxmox (managing a cluster created by another person which is no longer with me), I don't know anythink about the Proxmox cluster quorum so I'll read some docs about it.
 
In short, more than half of your cluster nodes needs to be online. Else /etc/pve/ will switch to read-only mode.
 
All my nodes are up and running but maybe that a configuration problem is avoiding the cluster to be "ok".
I read here that it's way easier when nodes are in the same subnet. My nodes are OVH dedicated servers and have public IPs on different subnets. Maybe that I have to deal with OVH VLAN management interface to get a virtual subnet for all my cluster nodes?
 

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!