<?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: prtdiag type command in linux ? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/6365245#M54514</link>
    <description>&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nice piece of info and really helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some more help on fdisk -l&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it possible to check the disk status if one of them goes faulty ?&lt;/P&gt;&lt;P&gt;2. How to check the disk faults with commands / any specific warning or alarm is thrown on the system ?&lt;/P&gt;&lt;P&gt;3. The fdisk -l o/p comes as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===================================&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 300.0 GB, 299966445568 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 36468 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;BR /&gt;I/O size (minimum/optimal): 262144 bytes / 262144 bytes&lt;BR /&gt;Disk identifier: 0x00000000&lt;BR /&gt;&lt;BR /&gt;Device Boot Start End Blocks Id System&lt;BR /&gt;/dev/sda1 1 36469 292935981+ ee GPT&lt;BR /&gt;Partition 1 does not start on physical sector boundary.&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 599.9 GB, 599932844032 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 72937 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;BR /&gt;I/O size (minimum/optimal): 262144 bytes / 524288 bytes&lt;BR /&gt;Disk identifier: 0x00000000&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Disk /dev/sdb doesn't contain a valid partition table&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;======================================&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;4. So shall we assume that the disk with partition is in use and the other which doesn't have a partition table is the spare one.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BR///&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sambit&lt;/SPAN&gt;&lt;/DIV&gt;</description>
    <pubDate>Wed, 05 Feb 2014 09:14:43 GMT</pubDate>
    <dc:creator>sambitdp</dc:creator>
    <dc:date>2014-02-05T09:14:43Z</dc:date>
    <item>
      <title>prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865609#M25267</link>
      <description>I want to check for system hardware on linux machine running RH 9.Is there a similar command in linux , just like we have in Solaris - prtdiag .&lt;BR /&gt;&lt;BR /&gt;Thanks !&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 19 Sep 2006 11:17:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865609#M25267</guid>
      <dc:creator>Hunki</dc:creator>
      <dc:date>2006-09-19T11:17:22Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865610#M25268</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;for SuSE-Linux there is a command 'hwinfo' (look at 'man hwinfo'). Perhaps this is available for RH as well.&lt;BR /&gt;&lt;BR /&gt;mfG Peter</description>
      <pubDate>Wed, 20 Sep 2006 10:37:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865610#M25268</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2006-09-20T10:37:35Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865611#M25269</link>
      <description>&lt;P&gt;Related thread:&lt;BR /&gt;&lt;BR /&gt;&lt;STRIKE&gt;&lt;A&gt;http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1060885&lt;/A&gt;&lt;/STRIKE&gt;&lt;BR /&gt;&lt;BR /&gt;mfG Peter&lt;/P&gt;
&lt;P&gt;&lt;FONT size="1 2 3 4 5 6 7"&gt;[&lt;U&gt;Moderator edit&lt;/U&gt;: The above link is no longer valid.]&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 08:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865611#M25269</guid>
      <dc:creator>Peter Nikitka</dc:creator>
      <dc:date>2023-07-11T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865612#M25270</link>
      <description>There is also a free tool called LSHW which is really good. Just google it.&lt;BR /&gt;&lt;BR /&gt;hth&lt;BR /&gt;/M</description>
      <pubDate>Thu, 21 Sep 2006 06:18:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865612#M25270</guid>
      <dc:creator>Mikael Sandström_1</dc:creator>
      <dc:date>2006-09-21T06:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865613#M25271</link>
      <description>Hi Hunki...&lt;BR /&gt;&lt;BR /&gt;There's no such utility that can provide you with the complete information in RH9.&lt;BR /&gt;&lt;BR /&gt;But RHEL3 onward, a separate utility has been added which is "sysreport" that actually extracts information out of different files and then creates an archive and compresses it and places it in the /tmp directory with your name.&lt;BR /&gt;&lt;BR /&gt;Following is a list of few of the commands using which you can get the necessary information ---&lt;BR /&gt;&lt;BR /&gt;Disk usage.&lt;BR /&gt; # df -al&lt;BR /&gt;&lt;BR /&gt;Memory information.&lt;BR /&gt; # free&lt;BR /&gt;&lt;BR /&gt;Network information.&lt;BR /&gt; # ifconfig -a&lt;BR /&gt;&lt;BR /&gt;Installed Modules information.&lt;BR /&gt; #lsmod&lt;BR /&gt;&lt;BR /&gt;Currently mounted filesystems/shares.&lt;BR /&gt; # mount&lt;BR /&gt;&lt;BR /&gt;Process tree&lt;BR /&gt; # pstree&lt;BR /&gt;&lt;BR /&gt;System uptime information.&lt;BR /&gt; # uptime&lt;BR /&gt;&lt;BR /&gt;Services running in different runlevels.&lt;BR /&gt; # chkconfig --list &lt;BR /&gt;&lt;BR /&gt;Generates hardware configuration report. (Not sure whether it is present in RH9)&lt;BR /&gt; # /usr/share/rhn/up2date_client/hardware.py&lt;BR /&gt;&lt;BR /&gt;Installed RPMS.&lt;BR /&gt; # rpm -q --all&lt;BR /&gt;&lt;BR /&gt;List of currently open files.&lt;BR /&gt; # lsof -b +M -n -l&lt;BR /&gt;&lt;BR /&gt;Attached USB devices.&lt;BR /&gt; # lsusb&lt;BR /&gt;&lt;BR /&gt;Routing table information.&lt;BR /&gt; # route -n&lt;BR /&gt;&lt;BR /&gt;Partition table&lt;BR /&gt; # fdisk -l&lt;BR /&gt;&lt;BR /&gt;System hostname&lt;BR /&gt; # hostname&lt;BR /&gt;&lt;BR /&gt;IP Tables information&lt;BR /&gt; # iptables -t filter -nvL&lt;BR /&gt;&lt;BR /&gt;Listing PCI Devices&lt;BR /&gt; # lspci&lt;BR /&gt; # lspci -n&lt;BR /&gt; # lspci -nv&lt;BR /&gt; # lspci -nvv&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Atul</description>
      <pubDate>Thu, 21 Sep 2006 07:33:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/3865613#M25271</guid>
      <dc:creator>Atul Gautam</dc:creator>
      <dc:date>2006-09-21T07:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/6365245#M54514</link>
      <description>&lt;P&gt;Hi Atul,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nice piece of info and really helpful.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Need some more help on fdisk -l&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. Is it possible to check the disk status if one of them goes faulty ?&lt;/P&gt;&lt;P&gt;2. How to check the disk faults with commands / any specific warning or alarm is thrown on the system ?&lt;/P&gt;&lt;P&gt;3. The fdisk -l o/p comes as follows&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;===================================&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;# fdisk -l&lt;BR /&gt;&lt;BR /&gt;WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sda: 300.0 GB, 299966445568 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 36468 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;BR /&gt;I/O size (minimum/optimal): 262144 bytes / 262144 bytes&lt;BR /&gt;Disk identifier: 0x00000000&lt;BR /&gt;&lt;BR /&gt;Device Boot Start End Blocks Id System&lt;BR /&gt;/dev/sda1 1 36469 292935981+ ee GPT&lt;BR /&gt;Partition 1 does not start on physical sector boundary.&lt;BR /&gt;&lt;BR /&gt;Disk /dev/sdb: 599.9 GB, 599932844032 bytes&lt;BR /&gt;255 heads, 63 sectors/track, 72937 cylinders&lt;BR /&gt;Units = cylinders of 16065 * 512 = 8225280 bytes&lt;BR /&gt;Sector size (logical/physical): 512 bytes / 512 bytes&lt;BR /&gt;I/O size (minimum/optimal): 262144 bytes / 524288 bytes&lt;BR /&gt;Disk identifier: 0x00000000&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#ff0000"&gt;&lt;STRONG&gt;Disk /dev/sdb doesn't contain a valid partition table&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;======================================&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;4. So shall we assume that the disk with partition is in use and the other which doesn't have a partition table is the spare one.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;BR///&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Sambit&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 05 Feb 2014 09:14:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/6365245#M54514</guid>
      <dc:creator>sambitdp</dc:creator>
      <dc:date>2014-02-05T09:14:43Z</dc:date>
    </item>
    <item>
      <title>Re: prtdiag type command in linux ?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/6365677#M54516</link>
      <description>&lt;P&gt;&amp;gt; 1. Is it possible to check the disk status if one of them goes faulty ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It depends on various things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;the exact type of the fault&lt;BR /&gt;&amp;nbsp;(sometimes disks develop bad blocks, sometimes they just die completely and won't respond to diagnostic commands)&lt;/LI&gt;&lt;LI&gt;what is the role of the disk in your system (system disk, data disk, unused)&lt;/LI&gt;&lt;LI&gt;do you have hardware or software RAID in use&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;If your system disk is not protected by RAID, it is very likely that your operating system will crash at the time of disk failure and may not be able to be rebooted. In that case, any diagnostics for the failing disk must be done by booting the system from an external media.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the failing disk is a non-system disk (= a data-only disk), then the system may keep running but you'll probably find a lot of filesystem and/or SCSI error messages in the dmesg command output and/or the syslog files. The applications using the data disk may still crash or hang.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If the disk is a member of a software or hardware RAID (other than RAID 0 level), then the system should be able to survive the disk failure. With a software RAID on the system disk, the system might still need a reboot; with hardware RAID, you might only have a minor slowdown until the RAID controller detects that the disk has failed and stops using it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have a RAID set, it is important to set up automated monitoring for it, so that you'll be notified in case of disk failure. Otherwise the first failure might go by completely unnoticed. Since all the disks in a given host are usually purchased together, when one disk fails it is possible that other disk(s) are also close to failure. It is important to react to disk failures in a timely manner, even if you're protected by a RAID: a RAID 1 or RAID 5 set can only recover from the failure of one disk in each set. If another disk in the same set fails before the first one is replaced and the RAID set is allowed to recover, data will be lost.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2014 15:36:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/prtdiag-type-command-in-linux/m-p/6365677#M54516</guid>
      <dc:creator>Matti_Kurkela</dc:creator>
      <dc:date>2014-02-05T15:36:13Z</dc:date>
    </item>
  </channel>
</rss>

