<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Sascha,<br>
<br>
Glad it worked ! I indeed always waited for the restore command to
comple before closing the shell (through ssh). In those cases I am
always anxious all things go well and that I can follow what
happen...<br>
<br>
Alain<br>
<br>
Le 07/05/2011 19:10, Sascha Zucca a écrit :
<blockquote cite="mid:4DC57D11.7000600@online.de" type="cite">
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
<title></title>
Hi List, Hi Alain,<br>
<br>
can you believe it? I figured it out...<br>
It all works when i use "screen" for the qmrestore command.<br>
Seems like even with the "&" at the end of the command, it
will stop working when you close the shell. But strange enough
this was not at all obvious, as the qmrestore always ran a lot
longer than the shell was closed.<br>
And of course in the test phase i didnt use ssh but typed the
command directly into the machine.<br>
<br>
Ahhhhhhhhhhhh ! :-)<br>
<br>
Thank you very much, for your help anyway.<br>
<br>
Now off for a decent beer in the sun...<br>
This was all too much! :-)<br>
<br>
a very happy<br>
Sascha<br>
<br>
<br>
<blockquote type="cite"> Hi Alain, <br>
thanks for your reply.<br>
I don't use LUN directly too (at least i didn't check that in
the PM-GUI).<br>
As i said i have <br>
MSA2312i ISCSI Yes Yes Yes n/a n/a n/a<br>
as the iscsi device in the PM-Storage-GUI<br>
and there i have two lvm-groups which represent the two HP MSA
volumes:<br>
vd01_v001 LVM Yes Yes Yes 600.00 936.91
64.04%<br>
vg01_v002 LVM Yes Yes Yes 0.00 737.70 0.00%<br>
<br>
<br>
I hope it's not a problem that the name for the LVM in PM i
chose is the same as the name for the volumes in the MSA
Management utility:<br>
<br>
vd01_v001<br>
<br>
Desperate<br>
Sascha</blockquote>
<br>
<br>
Am 06.05.2011 21:26, schrieb Alain Péan:
<blockquote cite="mid:4DC44B82.3040206@lpp.polytechnique.fr"
type="cite">
<meta content="text/html; charset=ISO-8859-15"
http-equiv="Content-Type">
Hi Sascha,<br>
<br>
I already did such things, and it worked fine for me, even if I
don't remember the exact way I did it. But I wonder if using the
logical volume name is the correct way to do it. If I remember
correctly, I did it with the storage name appearing in the web
interface (under storage). I don't use the LUN directly but a
logical volume for each VM, as stated in the link you give...<br>
What name for your iSCSI storage do you have in your web
interface ?<br>
<br>
Hopes that helps...<br>
<br>
Alain <br>
<br>
Le 06/05/2011 19:22, Sascha Zucca a écrit :
<blockquote cite="mid:4DC42E43.2070606@online.de" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-15">
Hi list,<br>
i'd most desperately would need your help on a very odd issue
i have here.<br>
I would like to qmrestore a backupfile to an ext. storage.<br>
but no matter what i try, it'll always fail.<br>
<br>
First of all:<br>
I have a MSA2312i with 12 x 300 GB SAS (full enclosure)
configured as Raid10.<br>
In the Management Utility of the MSA2312i it is configured as
follows:<br>
<br>
<div class="node VdiskSetNode"><a moz-do-not-send="true"
style="white-space: nowrap;"><b>Vdisks</b></a></div>
<ul>
<li class="lastCollapsable">
<div class="node VdiskNode"><a moz-do-not-send="true"
style="white-space: nowrap;"><b>vd01</b> (RAID10)</a></div>
<ul>
<li class="">
<div class="node VolumeNode"><a moz-do-not-send="true"
style="white-space: nowrap;">Volume <b>vd01_v001</b>
(1005.9GB)</a></div>
</li>
<li class="last">
<div class="node VolumeNode"><a moz-do-not-send="true"
style="white-space: nowrap;">Volume <b>vd01_v002</b>
(792.0GB)</a></div>
</li>
</ul>
</li>
</ul>
<br>
<br>
Here's what i do next :<br>
<br>
1. install multipath-tools as described in <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pve.proxmox.com/wiki/ISCSI_Multipath">http://pve.proxmox.com/wiki/ISCSI_Multipath</a><br>
<br>
2. Configure iscsi storage as described in <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://pve.proxmox.com/wiki/Storage_Model#LVM_Groups_with_Network_Backing">http://pve.proxmox.com/wiki/Storage_Model#LVM_Groups_with_Network_Backing</a><br>
MSA2312i ISCSI Yes Yes Yes n/a n/a n/a<br>
vd01_v001 LVM Yes Yes Yes 600.00 936.91
64.04%<br>
vg01_v002 LVM Yes Yes Yes 0.00 737.70
0.00%<br>
<br>
3. multipath -ll shows <br>
<small><small><i>3600c0ff0001118d861fac34d01000000dm-3 HP
,MSA2312i <br>
[size=937G][features=0][hwhandler=0]<br>
\_ round-robin 0 [prio=1][active]<br>
\_ 17:0:0:1 sdh 8:112 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 14:0:0:1 sdb 8:16 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 15:0:0:1 sdd 8:48 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 16:0:0:1 sdf 8:80 [active][ready]<br>
3600c0ff0001118d86bfac34d01000000dm-4 HP
,MSA2312i <br>
[size=738G][features=0][hwhandler=0]<br>
\_ round-robin 0 [prio=1][active]<br>
\_ 17:0:0:2 sdi 8:128 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 14:0:0:2 sdc 8:32 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 15:0:0:2 sde 8:64 [active][ready]<br>
\_ round-robin 0 [prio=1][enabled]<br>
\_ 16:0:0:2 sdg 8:96 [active][ready]</i></small></small><br>
looks good...<br>
<br>
4. now i start the command<br>
qmrestore --storage vd01_v001
vzdump-qemu-101-2011_05_05-20_05_02.tgz 101 &<br>
the dump consists of two vds (200GB and 600GB)<br>
<br>
5. the first vd is being restored to the external storage, i
can see it in the PM-storage-gui and through lvdisplay<br>
<br>
6. after a while i get the message that vd1 has been restored
allright and restore of vd2 has started<br>
i can then see both vds (PM-storage-gui and through lvdisplay)<br>
<br>
7. after another while qmrestore stops, the onle message i can
find ist this in syslog:<br>
vzdump[8439]: ERROR: restore QemuServer backup
'vzdump-qemu-101-2011_05_05-20_05_02.tgz' failed - interrupted
by signal<br>
<br>
8. the vd1 has vanished, only (an obviously broken) vd2 can be
seen (PM-storage-gui and through lvdisplay)<br>
<br>
9. no VM is shown in the virtual machine part of the PM-GUI<br>
<br>
I tried barely everything to get it working...<br>
In the test phase of this environment it worked absolutely
flawlessly... <br>
Now that we built everything in place no more...<br>
<br>
<br>
Please also consider that qmrestore --storage local
vzdump-qemu-101-2011_05_05-20_05_02.tgz 101 &<br>
works like a charm!<br>
<br>
<br>
What do i do that is so wrong???<br>
<br>
Please help me...<br>
<br>
<br>
Thank you very, very much!<br>
Sascha<br>
<br>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
pve-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
pve-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
pve-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:pve-user@pve.proxmox.com">pve-user@pve.proxmox.com</a>
<a class="moz-txt-link-freetext" href="http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user">http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
==========================================================
Alain Péan - LPP/CNRS
Administrateur Système/Réseau
Laboratoire de Physique des Plasmas - UMR 7648
Observatoire de Saint-Maur
4, av de Neptune, Bat. A
94100 Saint-Maur des Fossés
Tel : 01-45-11-42-39 - Fax : 01-48-89-44-33
==========================================================</pre>
</body>
</html>