Hello,
I had a hdd-fail on my software raid-1 and after rebuilding the raid I noticed I had "ghost files" on my /etc/pve. I had /etc/pve/nodes/vm and /etc/pve/nodes/foobar, vm being the node where my KVM-machines were located. I tried to just copy the configs from nodes/vm/qemu-server to nodes/foobar/qemu-server but got file exists errors even tho the directory was empty.
I then tried to remount the /etc/pve with "/etc/init.d/pve-cluster restart restored /etc/pve" but I'm getting following error:
What should I do? I'm not familiar with sqlite.
output of mount -command before trying to remount /etc/pve
df -h
I had a hdd-fail on my software raid-1 and after rebuilding the raid I noticed I had "ghost files" on my /etc/pve. I had /etc/pve/nodes/vm and /etc/pve/nodes/foobar, vm being the node where my KVM-machines were located. I tried to just copy the configs from nodes/vm/qemu-server to nodes/foobar/qemu-server but got file exists errors even tho the directory was empty.
I then tried to remount the /etc/pve with "/etc/init.d/pve-cluster restart restored /etc/pve" but I'm getting following error:
Code:
Restarting pve cluster filesystem: pve-cluster[database] crit: found entry with duplicate name (inode = 0000000000000160, parent = 00000000000000F2, name = 'qemu-server')
[database] crit: DB load failed
[main] crit: memdb_open failed - unable to open database '/var/lib/pve-cluster/config.db'
[main] notice: exit proxmox configuration filesystem (-1)
(warning).
What should I do? I'm not familiar with sqlite.
output of mount -command before trying to remount /etc/pve
Code:
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=4076858,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=3263424k,mode=755)
/dev/disk/by-uuid/b98e550d-32a7-4509-aee3-0314a93a64c1 on / type ext4 (rw,relatime,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=9882060k)
/dev/md1 on /boot type ext3 (rw,relatime,errors=continue,barrier=0,data=ordered)
/dev/md3 on /home type ext4 (rw,relatime,barrier=1,data=ordered)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/fuse on /etc/pve type fuse (rw,nosuid,nodev,relatime,user_id=0,group_id=0,default_permissions,allow_other)
beancounter on /proc/vz/beancounter type cgroup (rw,relatime,blkio,name=beancounter)
container on /proc/vz/container type cgroup (rw,relatime,freezer,devices,name=container)
fairsched on /proc/vz/fairsched type cgroup (rw,relatime,cpuacct,cpu,cpuset,name=fairsched)
df -h
Code:
Filesystem Size Used Avail Use% Mounted on
udev 10M 0 10M 0% /dev
tmpfs 3.2G 404K 3.2G 1% /run
/dev/disk/by-uuid/b98e550d-32a7-4509-aee3-0314a93a64c1 1016G 13G 953G 2% /
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 9.5G 22M 9.5G 1% /run/shm
/dev/md1 496M 46M 426M 10% /boot
/dev/md3 1.7T 283G 1.4T 18% /home
/dev/fuse 30M 20K 30M 1% /etc/pve