<?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: Moving a non-RAID disk to a server with Hardware RAID Controller (HP) in Servers - General</title>
    <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081627#M11827</link>
    <description>&lt;P&gt;Actually it's working, and I can even see the patitioning on that disk, but just that 8KB shortage on disk prevent me from mounting it inside the OS.&lt;/P&gt;&lt;P&gt;I remember in some cases we did the same job and it was working fine, but now I've tested with 2 different disks and the same 8KB shortage issue is happening.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Mar 2020 00:47:02 GMT</pubDate>
    <dc:creator>hgoles</dc:creator>
    <dc:date>2020-03-06T00:47:02Z</dc:date>
    <item>
      <title>Moving a non-RAID disk to a server with Hardware RAID Controller (HP)</title>
      <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081586#M11825</link>
      <description>&lt;P&gt;I have a disk with data on it used on a Supermicro server witch has no RAID controller, I've put it into an HP server, I can see the disk and it's containing data but while I', tring to mount it this errors happen:&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;mount: wrong fs type, bad option, bad superblock on /dev/sda1,&lt;BR /&gt;missing codepage or helper program, or other error&lt;/P&gt;&lt;P&gt;In some cases useful info is found in syslog - try&lt;BR /&gt;dmesg | tail or so.&lt;BR /&gt;[/code]&lt;BR /&gt;And using fsck /dev/sda1 leads to an other error indicating the phisical disk size is 8KB short:&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;e2fsck 1.42.13 (17-May-2015)&lt;BR /&gt;The filesystem size (according to the superblock) is 244190390 blocks&lt;BR /&gt;The physical size of the device is 244182198 blocks&lt;BR /&gt;Either the superblock or the partition table is likely to be corrupt!&lt;BR /&gt;[/code]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's the output of hpacucli ctrl all show config detail&lt;/P&gt;&lt;P&gt;[code]&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Smart Array P420i in Slot 0 (Embedded)&lt;BR /&gt;Bus Interface: PCI&lt;BR /&gt;Slot: 0&lt;BR /&gt;Serial Number: 0014380350DA6C0&lt;BR /&gt;Cache Serial Number: PBKUA0BRH8M91T&lt;BR /&gt;RAID 6 (ADG) Status: Enabled&lt;BR /&gt;Controller Status: OK&lt;BR /&gt;Hardware Revision: B&lt;BR /&gt;Firmware Version: 8.00&lt;BR /&gt;Rebuild Priority: Medium&lt;BR /&gt;Expand Priority: Medium&lt;BR /&gt;Surface Scan Delay: 15 secs&lt;BR /&gt;Surface Scan Mode: Idle&lt;BR /&gt;Queue Depth: Automatic&lt;BR /&gt;Monitor and Performance Delay: 60 min&lt;BR /&gt;Elevator Sort: Enabled&lt;BR /&gt;Degraded Performance Optimization: Disabled&lt;BR /&gt;Inconsistency Repair Policy: Disabled&lt;BR /&gt;Wait for Cache Room: Disabled&lt;BR /&gt;Surface Analysis Inconsistency Notification: Disabled&lt;BR /&gt;Post Prompt Timeout: 0 secs&lt;BR /&gt;Cache Board Present: True&lt;BR /&gt;Cache Status: OK&lt;BR /&gt;Cache Ratio: 25% Read / 75% Write&lt;BR /&gt;Drive Write Cache: Disabled&lt;BR /&gt;Total Cache Size: 512 MB&lt;BR /&gt;Total Cache Memory Available: 304 MB&lt;BR /&gt;No-Battery Write Cache: Disabled&lt;BR /&gt;Cache Backup Power Source: Capacitors&lt;BR /&gt;Battery/Capacitor Count: 1&lt;BR /&gt;Battery/Capacitor Status: OK&lt;BR /&gt;SATA NCQ Supported: True&lt;BR /&gt;Spare Activation Mode: Activate on drive failure&lt;BR /&gt;Controller Temperature (C): 80&lt;BR /&gt;Cache Module Temperature (C): 41&lt;BR /&gt;Capacitor Temperature (C): 33&lt;/P&gt;&lt;P&gt;Array: A&lt;BR /&gt;Interface Type: SATA&lt;BR /&gt;Unused Space: 0 MB&lt;BR /&gt;Status: OK&lt;BR /&gt;Array Type: Data&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Logical Drive: 1&lt;BR /&gt;Size: 931.5 GB&lt;BR /&gt;Fault Tolerance: 0&lt;BR /&gt;Heads: 255&lt;BR /&gt;Sectors Per Track: 32&lt;BR /&gt;Cylinders: 65535&lt;BR /&gt;Strip Size: 256 KB&lt;BR /&gt;Full Stripe Size: 256 KB&lt;BR /&gt;Status: OK&lt;BR /&gt;Caching: Enabled&lt;BR /&gt;Unique Identifier: 600508B1001CEA10DE41CCBBC5381E77&lt;BR /&gt;Disk Name: /dev/sda&lt;BR /&gt;Mount Points: None&lt;BR /&gt;Logical Drive Label: AE60E98C0014380350DA6C0CF0F&lt;BR /&gt;Drive Type: Data&lt;/P&gt;&lt;P&gt;physicaldrive 1I:1:12&lt;BR /&gt;Port: 1I&lt;BR /&gt;Box: 1&lt;BR /&gt;Bay: 12&lt;BR /&gt;Status: OK&lt;BR /&gt;Drive Type: Data Drive&lt;BR /&gt;Interface Type: SATA&lt;BR /&gt;Size: 1 TB&lt;BR /&gt;Rotational Speed: 7200&lt;BR /&gt;Firmware Revision: CC43&lt;BR /&gt;Serial Number: Z9A2441W&lt;BR /&gt;Model: ATA ST1000DM003-1SB1&lt;BR /&gt;SATA NCQ Capable: True&lt;BR /&gt;SATA NCQ Enabled: True&lt;BR /&gt;Current Temperature (C): 38&lt;BR /&gt;Maximum Temperature (C): 38&lt;BR /&gt;PHY Count: 1&lt;BR /&gt;PHY Transfer Rate: 6.0Gbps&lt;BR /&gt;Drive Authentication Status: OK&lt;BR /&gt;Carrier Application Version: 11&lt;BR /&gt;Carrier Bootloader Version: 6&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Enclosure SEP (Vendor ID HP, Model Gen8 ServBP 12+2) 378&lt;BR /&gt;Device Number: 378&lt;BR /&gt;Firmware Version: 3.30&lt;BR /&gt;WWID: 50014380355F89B9&lt;BR /&gt;Port: 1I&lt;BR /&gt;Box: 1&lt;BR /&gt;Vendor ID: HP&lt;BR /&gt;Model: Gen8 ServBP 12+2&lt;/P&gt;&lt;P&gt;Expander 380&lt;BR /&gt;Device Number: 380&lt;BR /&gt;Firmware Version: 3.30&lt;BR /&gt;WWID: 50014380355F89A0&lt;BR /&gt;Port: 1I&lt;BR /&gt;Box: 1&lt;BR /&gt;Vendor ID: HP&lt;/P&gt;&lt;P&gt;SEP (Vendor ID PMCSIERA, Model SRCv8x6G) 379&lt;BR /&gt;Device Number: 379&lt;BR /&gt;Firmware Version: RevB&lt;BR /&gt;WWID: 50014380350DA6CF&lt;BR /&gt;Vendor ID: PMCSIERA&lt;BR /&gt;Model: SRCv8x6G&lt;/P&gt;&lt;P&gt;[/code]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea on how to fix this issue? maybe changing a parameter on raid array?&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 15:34:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081586#M11825</guid>
      <dc:creator>hgoles</dc:creator>
      <dc:date>2020-03-05T15:34:55Z</dc:date>
    </item>
    <item>
      <title>Re: Moving a non-RAID disk to a server with Hardware RAID Controller (HP)</title>
      <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081587#M11826</link>
      <description>&lt;P&gt;No way.&lt;/P&gt;&lt;P&gt;Since the controller is in RAID mode, it cannot work with a non-RAID disk.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Mar 2020 15:49:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081587#M11826</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2020-03-05T15:49:50Z</dc:date>
    </item>
    <item>
      <title>Re: Moving a non-RAID disk to a server with Hardware RAID Controller (HP)</title>
      <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081627#M11827</link>
      <description>&lt;P&gt;Actually it's working, and I can even see the patitioning on that disk, but just that 8KB shortage on disk prevent me from mounting it inside the OS.&lt;/P&gt;&lt;P&gt;I remember in some cases we did the same job and it was working fine, but now I've tested with 2 different disks and the same 8KB shortage issue is happening.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 00:47:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081627#M11827</guid>
      <dc:creator>hgoles</dc:creator>
      <dc:date>2020-03-06T00:47:02Z</dc:date>
    </item>
    <item>
      <title>Re: Moving a non-RAID disk to a server with Hardware RAID Controller (HP)</title>
      <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081645#M11829</link>
      <description>&lt;P&gt;In RAID mode, the beginning of the disk is used for RIS (RAID information set). Hence this space is "masked" by the controller, so you see this space as "missing".&lt;/P&gt;&lt;P&gt;If you set the controller to HBA mode, you can use the disk, but all your defined RAIDs are unusable.&lt;/P&gt;&lt;P&gt;Better mount this disk to a normal controller (in another PC or something) and copy the data.&lt;/P&gt;&lt;P&gt;Then you can connect the disk to the smart array and create an array (either a new RAID 0 or extend an existing array).&lt;/P&gt;&lt;P&gt;Data on this disk will be lost then.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BTW, it will work with the latest generation of smart arrays, because they use a mixed mode, disks not in a RAID are presented as plain disks.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 06:49:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081645#M11829</guid>
      <dc:creator>Torsten.</dc:creator>
      <dc:date>2020-03-06T06:49:33Z</dc:date>
    </item>
    <item>
      <title>Re: Moving a non-RAID disk to a server with Hardware RAID Controller (HP)</title>
      <link>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081723#M11833</link>
      <description>&lt;P&gt;As i'm writing this post now, G8 servers didn't get firmware update to be able to use mixed mode ( hba + raid ) on p420i&lt;/P&gt;&lt;P&gt;But with help of &lt;A href="https://www.linuxquestions.org/questions/linux-hardware-18/mount-an-external-write-protected-disk-with-bad-geometry-on-ubuntu-server-16-04-a-4175636950/" target="_blank" rel="noopener"&gt;this amazing guide&lt;/A&gt;&amp;nbsp;, I was able to created a padded device and mount the partition without any data loss ( I guess the partition shouldn't be full so last blocks should not contain data )&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;let PSIZE=`blockdev --getsz /dev/sda1`
echo -e "0 $PSIZE linear /dev/sdd1 0 \n $PSIZE 100000 zero" | dmsetup create padded
mkdir /a
mount /dev/mapper/padded /a&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;After making sure that data is fine we can umount and with help of resize2fs decrease the partition size and mount the actual partition instead of padded one, or just continue use padded device while prevent&amp;nbsp; to make the partition be fulled.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;umount /a
e2fsck -f /dev/mapper/padded
resize2fs /dev/mapper/padded ${PSIZE}s
dmsetup remove padded
mount /dev/sda1 /a&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 06 Mar 2020 18:06:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/servers-general/moving-a-non-raid-disk-to-a-server-with-hardware-raid-controller/m-p/7081723#M11833</guid>
      <dc:creator>hgoles</dc:creator>
      <dc:date>2020-03-06T18:06:38Z</dc:date>
    </item>
  </channel>
</rss>

