<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">

<head>

<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
h1
        {mso-style-priority:9;
        mso-style-link:"Heading 1 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:24.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
h2
        {mso-style-priority:9;
        mso-style-link:"Heading 2 Char";
        mso-margin-top-alt:auto;
        margin-right:0cm;
        mso-margin-bottom-alt:auto;
        margin-left:0cm;
        font-size:18.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.Heading1Char
        {mso-style-name:"Heading 1 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 1";
        font-family:"Cambria","serif";
        color:#365F91;
        font-weight:bold;}
span.Heading2Char
        {mso-style-name:"Heading 2 Char";
        mso-style-priority:9;
        mso-style-link:"Heading 2";
        font-family:"Cambria","serif";
        color:#4F81BD;
        font-weight:bold;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.Section1
        {page:Section1;}
 /* List Definitions */
 @list l0
        {mso-list-id:1602906794;
        mso-list-template-ids:-2062924188;}
@list l0:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
@list l1
        {mso-list-id:1695378053;
        mso-list-template-ids:1907416608;}
@list l1:level1
        {mso-level-number-format:bullet;
        mso-level-text:\F0B7;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        mso-ansi-font-size:10.0pt;
        font-family:Symbol;}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>

<body bgcolor=white lang=DE-AT link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>What do you get if  you run the following command on the console<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'># pvs /dev/disk/by-id/scsi-360a980004335444e4e6f544657306a39<o:p></o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<p class=MsoNormal><span lang=EN-US style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'>

<p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'>From:</span></b><span lang=EN-US
style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext'>
pve-user-bounces@pve.proxmox.com [mailto:pve-user-bounces@pve.proxmox.com] <b>On
Behalf Of </b>Fermín Manzanedo Guzmán<br>
<b>Sent:</b> Dienstag, 24. November 2009 11:31<br>
<b>To:</b> pve-user@pve.proxmox.com<br>
<b>Subject:</b> [PVE-User] Problems adding iSCSI LVM target<o:p></o:p></span></p>

</div>

</div>

<p class=MsoNormal><o:p> </o:p></p>

<p class=MsoNormal style='margin-bottom:12.0pt'>Hi.<br>
<br>
Since a few months using proxmox with local disks we're trying to implement it
over an iSCSI target but we have problems to make the LVM volume over the
target.<br>
<br>
These are the steps we follow:<br>
<br>
- From the web interface: Storage -> Storage List -> Add iSCSI target <br>
- Fill all the data needed, and proxmox see the target:<o:p></o:p></p>

<table class=MsoNormalTable border=0 cellspacing=0 cellpadding=0 width="100%"
 style='width:100.0%'>
 <tr>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>nas1<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>ISCSI<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>Yes<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>Yes<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>Yes<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>n/a<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>n/a<o:p></o:p></p>
  </td>
  <td style='background:white;padding:2.25pt 2.25pt 2.25pt 2.25pt'>
  <p class=MsoNormal>n/a<o:p></o:p></p>
  </td>
 </tr>
</table>

<p class=MsoNormal><br>
- From the Storage List menu, "Add LVM group" and fill the Storage
Name (tried to fill it with the same name than the target or with other),
select the base storage, which then shows the base volume filled up with the
existing iSCSI LUN, filled de volume group name (=pve), enable, shared and
content "Virtual Disks".<br>
<br>
But when press de "save" link, proxmox shows a pop-up with this info:<br>
<br>
Error: command '/sbin/pvs --separator : --noheadings --units k --unbuffered
--nosuffix --options pv_name,pv_size,vg_name,pv_uuid
/dev/disk/by-id/scsi-360a980004335444e4e6f544657306a39' failed with exit code 5<o:p></o:p></p>

<div>

<p class=MsoNormal style='margin-left:5.25pt'><br>
This is the syslog output:<br>
<br>
Nov 24 11:33:07 cloud07 kernel: sd 1:0:0:0: [sda] 41943040 512-byte hardware
sectors (21475 MB)<br>
Nov 24 11:33:07 cloud07 kernel: sd 1:0:0:0: [sda] Write Protect is off<br>
Nov 24 11:33:07 cloud07 kernel: sd 1:0:0:0: [sda] Mode Sense: bd 00 00 08<br>
Nov 24 11:33:07 cloud07 kernel: sd 1:0:0:0: [sda] Write cache: disabled, read
cache: enabled, doesn't support DPO or FUA<br>
<br>
<br>
<span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#666666'><o:p></o:p></span></p>

</div>

</div>

</div>

</body>

</html>