Quantcast
Channel: Proxmox Support Forum
Viewing all 172446 articles
Browse latest View live

Problems on restore from backup

$
0
0
Hello everyone,

I have a problem with backup/restore procedure from PVE 2.2 to PVE 3.3.

On the same server I make a final backup for all VM's. I replace the old boot disk, and install a new one and after I install PVE 3.3-1 with no problems.
I mount the backup disk, and I try to restore the VM's from backup.

this is the output:

Code:

extracting archive '/HDD-Backup/GITS/dump/vzdump-qemu-105-2015_01_12-14_48_18.tar.lzo'
extracting 'qemu-server.conf' from archive
extracting 'vm-disk-ide0.raw' from archive
Formatting '/var/lib/vz/images/100/vm-100-disk-1.raw', fmt=raw size=32768
new volume ID is 'local:100/vm-100-disk-1.raw'
restore data to '/var/lib/vz/images/100/vm-100-disk-1.raw' (85899345920 bytes)
lzop: <stdin>: Compressed data violation
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
133167616 bytes copied, 1 s, 126.00 MiB/s
starting cleanup
temporary volume 'local:100/vm-100-disk-1.raw' sucessfuly removed
TASK ERROR: command 'zcat -f|tar xf /HDD-Backup/GITS/dump/vzdump-qemu-105-2015_01_12-14_48_18.tar.lzo '--to-command=/usr/lib/qemu-server/qmextract --storage local'' failed: exit code 2
lzop: <stdin>: Checksum error
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

What I must do?

Thank you!

Guest machine with more than 512GB RAM?

$
0
0
I have a new server that we are testing Proxmox on:

Dell R815 - 4x 16c @ 2.5GHz CPU, 1TB RAM, 6x 600GB HDD.

Is it possible to create a VM with more than 512GB through the GUI or can i only do it by modifying the VM file through the CLI?

Thanks

No Storage loaded when creating a VM

$
0
0
Hi
Suddenly when I want to create a new VM, no storage is loaded and the storage option is disabled.
The browser sends a request to
https://192.240.102.58:8006/api2/jso...content=images
which gets canceled after 30secs with no response

Everything was working before and I did no upgrades
here is my storage.cfg

Code:

dir: local
        path /var/lib/vz
        content images,iso,vztmpl,rootdir
        maxfiles 0

lvm: lvm1
        vgname lvm9
        content images
        nodes super1

dir: vps1
        path /mnt/vps1
        content images,backup,rootdir
        maxfiles 24

dir: m.10
        path /mnt/d10
        content rootdir
        maxfiles 1

dir: n.11
        path /mnt/d11
        content rootdir
        maxfiles 1

dir: o.12
        path /mnt/d12
        content rootdir
        maxfiles 1

dir: p.13
        path /mnt/d13
        content rootdir
        maxfiles 1
lvm: l.mahdiasef
        vgname lvm10
        content images

lvm: j.mojiz
        vgname lvm8
        content images

lvm: q.mojiz
        vgname lvmq
        content images

lvm: r.mojiz
        vgname lvmr
        content images

lvm: s.mojiz
        vgname lvms
        content images

lvm: t.mojiz
        vgname lvmt
        content images

lvm: c.mojiz
        vgname lvmc
        content images

lvm: h.mojiz
        vgname lvmh
        content images

lvm: g.mojiz
        vgname lvmg
        content images

lvm: u.ganol
        vgname lvu
        content images

lvm: v.ganol
        vgname lvv
        content images

lvm: w.ganolblack
        vgname lvw
        content images

lvm: x.mojiz
        vgname lvmx
        content images

lvm: ssd
        vgname lvm-ssd
        content images

lvm: f.sb
        vgname lvmf017
        content images

lvm: e.sb
        vgname lvme016
        content images

lvm: p.3
        vgname lvmp03
        content images

lvm: vps1.lvm
        vgname lvm9
        content images

lvm: diskO
        vgname lvmo02
        content images

lvm: diskD
        vgname lvmd015
        content images

The command pvesm status mentioned in another thread hasn't given an output for 10 minutes.

Cleanup and unneeded services after upgrade to 3.3

$
0
0
We recently upgraded a local installation to PVE 3.3 and had an issue with the final cleanup step of the upgrade script, so we had to repeat the process and avoided that part.
In order to cleanup the system and deactivated services we don't use I would appreciate if anyone could confirm:

- Bacula... service is not running, but can that be safely deinstalled or are any parts still used by the scripts?
- Apart from Apache, what other large size package is worth removing?
- PVECluster Service, can we stop it if we have no clustering? How as it's not stoppable from the web panel?
- iSCSI services report some errors on boot. Again we don't use it, can we remove it or make sure services are not running till we need them?

Thanks.

Can't install Proxmox on HP Proliant DL380 Gen9

$
0
0
Hello,
we just bought 3 HP Proliant DL380 Gen9 on which we would like to install and purchase Proxmox but we are not able to do it. During the setup Proxmox can't detect our 3 SATA discs that are plugged on the RAID Controller HP SmartArray P840 . The only one partition that detects is the iLO which is ~512 mb instead 3x3TB. This happens We already switched BIOS from UEFI to Legacy mode.

We tried Proxmox 3.1 and 3.3.

Is there anything that could we do?

Thank you in advance!

BR

Alex

Problem with usb passthrough

$
0
0
Hi,


I use Proxmox 3.3 on a N54L MicroServer.
I added a vm adding usb passthrough:
usb0: host = 2-1


On the usb port, there is a key usb dvb (August DVB-T205). In vm (debian 7 or centos 7), I installed tvheadend. The result is very bad. I have a lot of dropped frames.

this log Proxmox often appeares:
January 12 10:24:30 p.m. Proxmox kernel: [1032.577223] usb 2-1: reset high-speed USB device using ehci number 4-pci
January 12 10:24:30 p.m. Proxmox kernel: [1032.795122] usb 2-1: reset high-speed USB device using ehci number 4-pci
January 12 10:24:30 p.m. Proxmox kernel: [1032.795122] usb 2-1: reset high-speed USB device using ehci number 4-pci

and log tvheadend:
janv. 12 22:13:59.032 [WARNING]:TS: Realtek RTL2832 (DVB-T)/TNT COFDM BB: 666,100 kHz/France 2 HD: H264 @ #220: Continuity counter error, 164 duplicate log lines suppressed

janv. 12 22:13:59.043 [WARNING]:TS: Realtek RTL2832 (DVB-T)/TNT COFDM BB: 666,100 kHz/France 2 HD: EAC3 @ #232: Continuity counter error, 1 duplicate log lines suppressed

janv. 12 22:13:59.043 [WARNING]:TS: Realtek RTL2832 (DVB-T)/TNT COFDM BB: 666,100 kHz/France 2 HD: Transport error indicator, 202 duplicate log lines suppressed



Using the qemu command info usb, usb 2 speed appears:
1.1 Device Port 1 Speed 480 Mb / s, Product RTL2838UHIDIR


Still, I really feel that the flow rate is flanged. To be sure that the problem is not from installation, I installed the 3.10 kernel on Proxmox (for the dvb drivers) and tvheadend. And the resustat is good.


I wanted to test the flow rate with the command hdparm -t. I have an average of 8 MB / s, while on Proxmox I to 22 MB / s.
is there anything I can do to use the usb passthrough normally?

Thank you and i'm really sorry for the "google traductor" English.

Trying to boot into Proxmox VE disc - but only get a black screen

$
0
0
I burned the ISO to a blank DVD. THen I tried booting into the DVD and all I see is a black screen with a flashing cursor. I left it for 30 minutes and nothing changed.

Is this a common issue? I don't even get to the part when I press ENTER.

Update: I just checked the MD5 sums and they match.
Update: I'm now downloading 3.1 (instead of 3.3) and trying that....nope still the same screen.

edit /etc/issue

$
0
0
hi, i'm trying to remove the welcome to proxmox message that is displayed at the ssh login screen.

i found the info to be in /etc/issue but when i edited it manually, saved and exit, reboot the server for a test, it came back to the factory welcome to proxmox etc...

how can i change it perminantly to something else which is only text, no IP no other functions, just simply text.

i should mention, i have proxmox 3.1, 3.2 and 3.3 on seperate servers that i would like to do this on.

thx

broken online migration in Proxmox VE 3.3 ?

$
0
0
Hi forum,
I'm trying to migrate VM between two nodes with dual primary DRBD storage and it's failing:


Jan 12 22:19:54 starting migration of VM 999 to node 'prox' (192.168.39.2)
Jan 12 22:19:54 copying disk images
Jan 12 22:19:54 starting VM 999 on remote node 'prox'
Jan 12 22:19:55 starting ssh migration tunnel
Jan 12 22:19:56 starting online/live migration on localhost:60000
Jan 12 22:19:56 migrate_set_speed: 8589934592
Jan 12 22:19:56 migrate_set_downtime: 0.1
Jan 12 22:19:58 migration speed: 2048.00 MB/s - downtime 2 ms
Jan 12 22:19:58 migration status: completed
Jan 12 22:19:58 ERROR: stopping vm failed - no such VM ('999')
Jan 12 22:20:00 ERROR: migration finished with problems (duration 00:00:06)
TASK ERROR: migration problems

VM running both nodes !!!
Must kill VM manually.


Do you know where could be a problem?

Issues with backup / vzdump

$
0
0
Hi everybody,

we got a backup job which could not finish (disk full). The perlscript stayed pending (shouldn't we have a timeout here?). Furthermore other sheduled jobs got started cueing up with no chance to ever get processed. In my oppinion there should be a mechanism (semaphore or similar) to prevent backup jobs from starting before older ones get processed.

How can we stop the processes which are left over? We get these remaining artefacts:
173978 ? Ds 57:40 task UPID:Prox-main-2:0002A79A:34F5E8FA:549933C2:vzdump::root@pam:
305844 ? D 0:00 /usr/bin/perl -w -T /usr/bin/vzdump 530 --quiet 1 --mode snapshot --mailto sfssdfsf.de --compress lzo --storage Backup-NAS-1
432751 ? D 0:00 /usr/bin/perl -w -T /usr/bin/vzdump 530 --quiet 1 --mode snapshot --mailto ghhhh.de --compress lzo --storage Backup-NAS-1
559594 ? D 0:00 /usr/bin/perl -w -T /usr/bin/vzdump 530 --quiet 1 --mode snapshot --mailto sfhrjjj.de --compress lzo --storage Backup-NAS-1

Cant kill them w kill -9

Any advice?

Thanks and regards, Holger

web gui only problem - cluster disconnected

$
0
0
Hi,
I am experiencing another problem with gui. I run unregular backup of one of my vm during the night and it shows task ok. But the task seems still active in the tasks part.
Moreover my cluster seems to be disconnected via GUI. Another servers are red and all vm are shown just like a numbers. But on the summary page of every node I can see changing values of cpu utilization and so on.
Pvecm nodes and pvecm status shows no problem, I can write to /etc/pve, all storages are ok and restart pveproxy on all nodes does not help. I can not find any clues in logs. I am running pve 3.2-2 on all nodes.

Any advice how to restore cluster in the gui?

Adaptec 6805 RAID Web interface show no contollers.

$
0
0
Hi,

Running the latest Proxmox VE 3.3-143 kernel 2.6.32-35-pve. Adaptec 6805 RAID card installed all went well it's just when I logon to check the RAID via the web interface MaxView Storage Manager, I get "No controllers were found in this system.". I understand that the latest drivers for the Adaptec 6805 RAID card are already part of the kernel. What must I do to get the MaxView Storage Manager to see the controller?

Thanks,

RD

Questions on new Proxmox + Ceph Install

$
0
0
I am a bit of a newbie and have a couple quick questions on a new install. I have 3 Dell Servers with PERC 730 RAID controllers. Attached to the RAID controller I have 6 4TB drives all setup as individual RAID 0's for the OSD's. What is the recommendation for the following RAID controller settings?

Read Policy: Read Ahead or OFF?
Write Policy: Write Through or Write Back?
Force Write Back with battery: Yes or No?
Disk Cache Policy: Enable or Disable?

I have four 1G ethernet adapters. I was planning on bonding 2 into separate switches for the cluster/control network (untagged). I was then planning on bonding 2 for the VM networks (tagged). Lastly, 2 10G ethernet adapters bonded together for the ceph storage network (untagged).

In regards to the networking model, is Open vSwitch recommended over the default Linux networking setup? Can both OVS and Linux be used? For example, OVS for VM networks and Linux bonding for control and storage network?

Is there any issue running storage network on a VLAN tagged interface?

Thanks for your comments in advance!

Best regards,
Eric

Multiple clusters in the same subnet - pveproxy locking up

$
0
0
We have a PVE3.3 cluster that has ben running well. Recently we added a second PVE3.0 cluster to run some VM's that will not run on newer KVM.
Both clusters share the same management network, but have different IP addresses.

Ever since adding the second cluster we have experienced pveproxy locking up on our PVE3.3 cluster.

The only thing I can think of is that the cluster communications from the second cluster are somehow messing with the first one. Does each cluster have it's own multicast address ?

What else could be causing pveproxy to lock up ?

Chrome WebGL

$
0
0
I'm trying to use Chrome extensions in a Debian 7 TurnKey container that's running a VNC server as a virtual display, but Chrome is telling me WebGL isn't supported. I've tried kvm's with ArchLinux, Lubuntu and Debian again, but none work. Is there any way I can emulate this functionality somehow?

Creating a cluster with different versions

$
0
0
Hi All

I have a Proxmox node that I inherited, with about 25 VMs on it, and Im in the proccess of putting it into a cluster.

Its running a rather old version of proxmox and has not been upgraded.
(Version 2.3-13)

Ive installed two new copies of Proxmox to add to the nodes, and they are 3.3-2

Now, I have not been able to get clarity on this, Can I add them to one cluster, move the VMs across to the new nodes, and then do an upgrade of the old node? Or do I need to Upgrade the old node (which makes me worry a bit) then add them to the cluster and then upgrade.

Kind regards

Possibly got hacked: How to identify listening process

$
0
0
I have a standard vmbr0 setup with only containers that use venet devices.

One container with it's own IP address has a webserver where I detected that it answers requests with a javascript redirect and can act like a proxy to the webserver itself.

I thought and hoped only the container is infected and created a new one and changed IPs. But the problem is there. I then completely shutdown the container associated with that IP address.

But if I do web requests to the now offline container it still responds and returns a small HTML and javascript snippet from time to time. If not, it still sends 302 redirect headers.

So I guess it must be the host that is infected. Of course I cannot trust any command in that case (netstat, lsof; checksecurity, chkrootkit, rkhunter). They don't show anything listening on port 80. Of course there is the apache for proxmox GUI itself. But I guess it does this differently. The system is up-to-date apt-wise and the problem persists after rebooting.

Do you have any tips or recommendations how to further investigate? I would like to get to know more before installing everything from scratch and not knowing how they entered the system.

*** UPDATE

"They" replaced spiceproxy with a version of their own that acts as an open proxy. Firewall prohibits port 3128 but they managed to keep it open.

Switch from No-Subscription to Enterprise?

$
0
0
I have some issues when i try to run a cluster at OVH. I was not able to join the cluster with the installed version. It was not working with multicast and unicast either.

pvecm add 10.10.10.1The authenticity of host '10.10.10.1 (10.10.10.1)' can't be established.
RSA key fingerprint is xxxx.
Are you sure you want to continue connecting (yes/no)? yes
root@10.10.10.1's password:
copy corosync auth key
stopping pve-cluster service
Stopping pve cluster filesystem: pve-cluster.
backup old database
Starting pve cluster filesystem : pve-cluster.
Starting cluster:
Checking if cluster has been disabled at boot... [ OK ]
Checking Network Manager... [ OK ]
Global setup... [ OK ]
Loading kernel modules... [ OK ]
Mounting configfs... [ OK ]
Starting cman... [ OK ]
Waiting for quorum... Timed-out waiting for cluster
[FAILED]

clustat Cluster Status for CLUSTER @ Mon Nov 17 14:25:12 2014
Member Status: Quorate


Member Name ID Status
------ ---- ---- ------
node1 1 Online, Local
node2 2 Offline



So i switched to the No-Subscription repro and has the update/upgrade done, after a reboot everthing was working how i expect it! :-) I don't change any config!

But now i want to change the repro to the stable version but how can i make sure it will work?
It's already running a few production VM's verry well and i can't risk to crash the cluster!

Is this issue a known problem and already solved?

Drbd on lvm - resize pv

$
0
0
Hi,
I have create a cluster with two proxmox node that use a mirroring storage built with drbd (I use this guide (http://pve.proxmox.com/wiki/DRBD to create a shared storage).
My drdb file conf r0.res is this:
resource r0 {
protocol C;
startup {
wfc-timeout 10;
degr-wfc-timeout 10;
outdated-wfc-timeout 10;
become-primary-on both;
}
net {
max-buffers 8192;
max-epoch-size 8192;
allow-two-primaries;
after-sb-0pri discard-zero-changes;
after-sb-1pri discard-secondary;
after-sb-2pri disconnect;
unplug-watermark 128;
}
disk {
on-io-error detach;
no-disk-barrier;
no-disk-flushes;
no-md-flushes;
}
syncer {
al-extents 3389;
rate 110M;
}
on virtual1 {
device /dev/drbd0;
disk /dev/mapper/pve-drbd;
address 10.0.0.1:7788;
meta-disk internal;
}
on virtual2 {
device /dev/drbd0;
disk /dev/mapper/pve-drbd;
address 10.0.0.2:7788;
meta-disk internal;
}
}
Now, I want expand the drbd disk without shutdown the VMs that are running in the cluster.
I have seen that I can use two method:
1- add disks in the physical server, setup a new drdb device on both machines, create a new resource (for example r1) and add the new disk (lvm) with proxmox webgui. With this solution all work fine.
2- add disks in the physical server and expand the dev/pve/drbd volume. With this solution I have some problem.


If you consider that new disk is /dev/sdb and the relative partition /dev/sdb1, the procedure that I have used is this:
pvcreate /dev/sdb1 -> create a new physical disk
vgextend pve /dev/sdb1 -> extend VG pve
lvextend -L+100G /dev/pve/data -> extend LV /dev/pve/data
##Set a drbd node in secondary state
drdbadm secondary r0
##Run resize command in the other node (node in primary state)
drbdadm resize r0 -> Resize primary DRBD resource
resize2fs /dev/drbd0 -> Resize filesystem


The problem is that when I runnig resize2fs /dev/drbd0 command I obtain this error message and the size in the drbd disk not change:


resize2fs: Bad magic number in super-block while trying to open /dev/drbd0
Couldn't find valid filesystem superblock.
Or this error:
resize2fs: Device or resource busy while trying to open /dev/drbd0 Couldn't find valid filesystem superblock.
Can you give me some tips to resolve this problem?


I have seen that if I shutdown all my VMs and instead to use resize2fs command I use the pvresize /dev/drbd0 in one node, the size of the
drdb disk is expanded correctly but in this way I must poweroff all my VM.
There is other way to expand the size of the my drbd disk without shutdown the VM in the cluster?


Thanks you in advance.
Best regards

Connect 2 bridges to the same network card

$
0
0
Hi,

I have a 2 proxmox servers, both with a network card (eth0) connected to a virtual rack (isolating the network trafic between these 2 servers).

I wanted to create 2 bridges (vmbr0 and vmbr1) for my VMs on the same network card (eth0 - connected to the virtual rack) so that I can use both :
- a network with a public range of IP adresses (connected to vmrb0)
- and a network with private range of IP adresses (connected to vmrb1)

Unfortunately, despite the different settings I have tried : vmbr0 uses eth0 (same MAC adress) and I can access the traffic on the virtual rack, but vmbr1 is associated to a different MAC adress and does not access the network trafic on the virtual lan.

Is my initial idea wrong and therefore cannot work, or is there a special way to achieve such a setting ?

Thanks for your help,
Hakim
Viewing all 172446 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>