<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=Megacli</id>
	<title>Megacli - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://halfface.se/wiki/index.php?action=history&amp;feed=atom&amp;title=Megacli"/>
	<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Megacli&amp;action=history"/>
	<updated>2026-04-19T08:57:48Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://halfface.se/wiki/index.php?title=Megacli&amp;diff=16359&amp;oldid=prev</id>
		<title>Ekaanbj: /* Megaraid output. List disks. */</title>
		<link rel="alternate" type="text/html" href="https://halfface.se/wiki/index.php?title=Megacli&amp;diff=16359&amp;oldid=prev"/>
		<updated>2025-10-22T08:48:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Megaraid output. List disks.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=How many raid cards do we have in system.=&lt;br /&gt;
 MegaCli64 -adpcount&lt;br /&gt;
=Look at state of virtual disk and its disks=&lt;br /&gt;
 MegaCli64 -CfgDsply -aAll&lt;br /&gt;
&lt;br /&gt;
=sda has gone missing. Drivers seems connected to megaraid.=&lt;br /&gt;
 smartctl -a -d megaraid,3 /dev/sdb |less&lt;br /&gt;
=All Adapter Information=&lt;br /&gt;
 MegaCli64 -AdpAllInfo -aAll&lt;br /&gt;
=Battery status.=&lt;br /&gt;
 MegaCli64 -AdpBbuCmd -aAll&lt;br /&gt;
=Virtual drive information. Information about MegaRaid raid configuration.=&lt;br /&gt;
 MegaCli64 -LDInfo -Lall -aALL&lt;br /&gt;
=View information about physical drives=&lt;br /&gt;
 MegaCli64 -PDList -aALL&lt;br /&gt;
=Status of patrol read=&lt;br /&gt;
 MegaCli64 -AdpPR -Info -aALL&lt;br /&gt;
=List make of disks.=&lt;br /&gt;
 MegaCli64 -ShowSummary -aALL | grep -i samsung&lt;br /&gt;
=List information about underlying disk.=&lt;br /&gt;
 MegaCli64 -PDList -aALL | grep &amp;quot;^Device Id:&amp;quot;&lt;br /&gt;
 Device Id: 47&lt;br /&gt;
 Device Id: 49&lt;br /&gt;
 Device Id: 48&lt;br /&gt;
 Device Id: 46&lt;br /&gt;
 smartctl -a -d megaraid,47 /dev/sda&lt;br /&gt;
=Get event log=&lt;br /&gt;
 MegaCli64 -AdpEventLog -GetEvents -f /tmp/events.log -aALL &amp;amp;&amp;amp; cat /tmp/events.log&lt;br /&gt;
=Firmware log=&lt;br /&gt;
 MegaCli64 -FwTermLog Dsply -a0&lt;br /&gt;
=Replace disk. First one disk will be missing. Second disk will rebuild.=&lt;br /&gt;
 MegaCli64 -PDList -aALL -NoLog | grep -E &amp;#039;Enclosure|Slot|Firmware&amp;#039;&lt;br /&gt;
=Replace broken disk.=&lt;br /&gt;
 MegaCli64 -PDList -aALL -NoLog | grep -E &amp;#039;Enclosure|Slot|Firmware&amp;#039;&lt;br /&gt;
 MegaCli64 -PDRbld -ShowProg -physdrv[252:2] -aALL -NoLog&lt;br /&gt;
=Enclosure information.=&lt;br /&gt;
 MegaCli64 -EncInfo -aALL&lt;br /&gt;
=What is the time of the raid adapter.=&lt;br /&gt;
 MegaCli64 AdpGetTime -aALL&lt;br /&gt;
=Set time on adapter.=&lt;br /&gt;
 MegaCli64 -AdpSetTime $(date &amp;#039;+%Y%m%d %H:%M:%S&amp;#039;) -a0&lt;br /&gt;
=Is bios enabled.=&lt;br /&gt;
 MegaCli64 -AdpBIOS -Dsply a0&lt;br /&gt;
=Display boot drive.=&lt;br /&gt;
 MegaCli64 AdpBootDrive Get a0&lt;/div&gt;</summary>
		<author><name>Ekaanbj</name></author>
	</entry>
</feed>