<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: New-HPESALogicalDrive - DataDrive attribute does not processes the variable value in Server Management - Remote Server Management</title>
    <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-datadrive-attribute-does-not-processes-the/m-p/7086582#M8650</link>
    <description>&lt;P&gt;Try creating array and logical drive from the SSA GUI(You can try online or offline method) and check if the array dissapears after a reboot or not.&amp;nbsp; This will help isolate the issue.&lt;/P&gt;&lt;P&gt;Make suure that the firmware and driver of the controller are updated to the latest&lt;/P&gt;</description>
    <pubDate>Thu, 30 Apr 2020 23:15:19 GMT</pubDate>
    <dc:creator>Bunsol</dc:creator>
    <dc:date>2020-04-30T23:15:19Z</dc:date>
    <item>
      <title>New-HPESALogicalDrive - DataDrive attribute does not processes the variable value</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-datadrive-attribute-does-not-processes-the/m-p/7086128#M8647</link>
      <description>&lt;P&gt;I am using the New-HPESALogicalDrive to create the Logical Drive in DL360. As per the syntax for -DataDrive, I am using double dimension array for it. But it is not able to create the logical drive. Below is my code snippet.&lt;/P&gt;&lt;PRE&gt;$SA_PhysicalDrives = (Get-HPESAPhysicalDrive -Connection $Connect_SA -ControllerLocation $SA_ControllerLocation).PhysicalDrive.Location
$DrivesToBeAttached = @($SA_PhysicalDrives[0..($NoOfPhysicalDrives-1)]) # I am doing this, since $NoOfPhysicalDrives is a user input.
New-HPESALogicalDrive -Connection $Connect_SA -LogicalDriveName $LogicalDriveName -ControllerLocation $SA_ControllerLocation -Raid $RAID -DataDrive @(,$DrivesToBeAttached)&lt;/PRE&gt;&lt;DIV&gt;&lt;SPAN&gt;After running the command like this, when I do&amp;nbsp;Get-HPESALogicalDrive, I get the output like below. Also after reboot of the server, the drive is deleted automatically.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;PRE&gt;ControllerLocation : Slot 0
ControllerModel    : HPE Smart Array P408i-a SR Gen10
LogicalDriveName   : VMware Boot Volume
Raid               : Raid1
DataDrive          : {&amp;lt;Objs Version="1.1.0.1" 
                     xmlns="http://schemas.microsoft.com/powershell/2004/04"&amp;gt;
                       &amp;lt;S&amp;gt;1I:1:1&amp;lt;/S&amp;gt;
                     &amp;lt;/Objs&amp;gt;, &amp;lt;Objs Version="1.1.0.1" 
                     xmlns="http://schemas.microsoft.com/powershell/2004/04"&amp;gt;
                       &amp;lt;S&amp;gt;1I:1:2&amp;lt;/S&amp;gt;
                     &amp;lt;/Objs&amp;gt;}
SpareDrive         : {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But, when I run it without having a variable, it gives a proper output.&lt;/P&gt;&lt;PRE&gt;New-HPESALogicalDrive -Connection $Connect_SA -LogicalDriveName $LogicalDriveName -ControllerLocation $SA_ControllerLocation -Raid $RAID -DataDrive @(,@("1I:1:1","1I:1:2"))&lt;/PRE&gt;&lt;P&gt;Output:&lt;/P&gt;&lt;PRE&gt;ControllerLocation : Slot 0
ControllerModel    : HPE Smart Array P408i-a SR Gen10
LogicalDriveName   : VMware Boot Volume
Raid               : Raid1
DataDrive          : {1I:1:1, 1I:1:2}
SpareDrive         : {}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 17:53:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-datadrive-attribute-does-not-processes-the/m-p/7086128#M8647</guid>
      <dc:creator>sahilmutha</dc:creator>
      <dc:date>2020-04-27T17:53:00Z</dc:date>
    </item>
    <item>
      <title>Re: New-HPESALogicalDrive - DataDrive attribute does not processes the variable value</title>
      <link>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-datadrive-attribute-does-not-processes-the/m-p/7086582#M8650</link>
      <description>&lt;P&gt;Try creating array and logical drive from the SSA GUI(You can try online or offline method) and check if the array dissapears after a reboot or not.&amp;nbsp; This will help isolate the issue.&lt;/P&gt;&lt;P&gt;Make suure that the firmware and driver of the controller are updated to the latest&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2020 23:15:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/server-management-remote-server/new-hpesalogicaldrive-datadrive-attribute-does-not-processes-the/m-p/7086582#M8650</guid>
      <dc:creator>Bunsol</dc:creator>
      <dc:date>2020-04-30T23:15:19Z</dc:date>
    </item>
  </channel>
</rss>

