LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-18-2020, 07:03 PM   #1
james000
Member
 
Registered: Sep 2018
Posts: 198

Rep: Reputation: 6
Need to understand disk status on old Linux+Sun hardware


Hi,
I have very old RHEL 3 server and I am trying to understand -

how many disks are there?
Are they in a healthy status?
Is there any RAID configured?
There is no ilom/console access so I have only option to see from OS level. Here is, what I see

Code:
[root@suttr-db07 root]# df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda2             7.7G  3.3G  4.1G  45% /
/dev/sda1              99M   63M   32M  67% /boot
none                  3.8G     0  3.8G   0% /dev/shm
/dev/sda3             4.9G   33M  4.6G   1% /tmp
/dev/sda5             3.9G  634M  3.1G  17% /var
/dev/localvg/arch     3.0G  2.2G  624M  79% /arch
/dev/localvg/apps     2.9G  1.2G  1.6G  43% /apps
/dev/localvg/export   7.9G  3.6G  4.0G  48% /export
/dev/localvg/mysqldata_backup
                       33G  9.2G   23G  30% /mysqldata_backup
/dev/md4              394G  222G  153G  60% /mysqldata
[root@suttr-db07 root]# fdisk -l

Disk /dev/sda: 72.9 GB, 72999763968 bytes
255 heads, 63 sectors/track, 8875 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sda1   *         1        13    104391   83  Linux
/dev/sda2            14      1033   8193150   83  Linux
/dev/sda3          1034      1670   5116702+  83  Linux
/dev/sda4          1671      8875  57874162+   f  Win95 Ext'd (LBA)
/dev/sda5          1671      2180   4096543+  83  Linux
/dev/sda6          2181      2435   2048256   82  Linux swap
/dev/sda7          2436      2690   2048256   82  Linux swap
/dev/sda8          2691      8875  49680981   8e  Linux LVM

Disk /dev/sdb: 429.4 GB, 429496729600 bytes
255 heads, 63 sectors/track, 52216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1     52216 419424988+  fd  Linux raid autodetect

Disk /dev/md4: 429.4 GB, 429491093504 bytes
2 heads, 4 sectors/track, 104856224 cylinders
Units = cylinders of 8 * 512 = 4096 bytes

Disk /dev/md4 doesn't contain a valid partition table
[root@suttr-db07 root]#
[root@suttr-db07 root]#
[root@suttr-db07 root]# smartctl --all /dev/sda
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: LSILOGIC Logical Volume   Version: 3000
Serial number: 4
Device type: disk
Local Time is: Tue Aug 18 16:55:03 2020 PDT
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Device supports SMART and is Disabled
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Temperature Warning Disabled or Not Supported
SMART Sense: Ok!

Error counter log:
          Errors Corrected    Total      Total   Correction     Gigabytes    Total
              delay:       [rereads/    errors   algorithm      processed    uncorrected
            minor | major  rewrites]  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0          0.000           0
write:         0        0         0         0          0          0.000           0

Non-medium error count:        0
Warning: device does not support Self Test Logging
[root@suttr-db07 root]#
[root@suttr-db07 root]#
[root@suttr-db07 root]# smartctl --all /dev/sdb
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: HITACHI  DF600F           Version: 0000
Serial number: 830418780006
Device type: disk
Local Time is: Tue Aug 18 16:55:06 2020 PDT
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Device supports SMART and is Disabled
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Temperature Warning Disabled or Not Supported
SMART Sense: Ok!

Error counter log:
          Errors Corrected    Total      Total   Correction     Gigabytes    Total
              delay:       [rereads/    errors   algorithm      processed    uncorrected
            minor | major  rewrites]  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0          0.000           0
write:         0        0         0         0          0          0.000           0
Warning: device does not support Self Test Logging
[root@suttr-db07 root]#
To me it looks like only sdb is on RAID. But how will I check its status?
Please suggest

Thanks
 
Old 08-18-2020, 08:18 PM   #2
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
There are two disks sda and sdb. sda seems to come from an LSILOGIC hardware RAID. sdb1 is a member of a software RAID. I think smartctl tells you that nothing is wrong with the disks, but I am rather clueless regarding SMART. You should probably also use LSILOGIC tools to check the health.

The status of the software RAID can be checked with mdadm -D md4. The file /proc/mdstat also contains information, but less complete and less readable.

Last edited by berndbausch; 08-18-2020 at 08:20 PM.
 
1 members found this post helpful.
Old 08-20-2020, 01:20 PM   #3
james000
Member
 
Registered: Sep 2018
Posts: 198

Original Poster
Rep: Reputation: 6
I see this as below. It looks like sdb is coming from HITACHI SAN, so no redundancy on the server, but should be on SAN level. But status of sda is not clear to me. Is it under raid (hardware or software)? From OS level, can we check if this is under RAID? Looks like I don't have any tool for LSILOGIC
Code:
[root@suttr-db07 root]# cat /proc/mdstat
Personalities : [multipath]
read_ahead 1024 sectors
Event: 1
md4 : active multipath sdb1[0]
      419424896 blocks [1/1] [U]

unused devices: <none>
[root@suttr-db07 root]# mdadm -D /dev/md4
/dev/md4:
        Version : 00.90.00
  Creation Time : Wed Jan  5 18:36:04 2011
     Raid Level : multipath
     Array Size : 419424896 (399.99 GiB 429.49 GB)
   Raid Devices : 1
  Total Devices : 1
Preferred Minor : 4
    Persistence : Superblock is persistent

    Update Time : Thu Jun  7 13:52:04 2018
          State : dirty, no-errors
 Active Devices : 1
Working Devices : 1
 Failed Devices : 0
  Spare Devices : 0


    Number   Major   Minor   RaidDevice State
       0       8       17        0      active sync   /dev/sdb1
           UUID : e09ff091:3711b89d:e66e3466:b4e6d6c2
         Events : 0.41
[root@suttr-db07 root]#
[root@suttr-db07 root]# lspci | egrep -i 'raid|adaptec'
[root@suttr-db07 root]# smartctl -d scsi --all /dev/sda1
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: LSILOGIC Logical Volume   Version: 3000
Serial number: 4
Device type: disk
Local Time is: Thu Aug 20 11:17:21 2020 PDT
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Device supports SMART and is Disabled
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Temperature Warning Disabled or Not Supported
SMART Sense: Ok!

Error counter log:
          Errors Corrected    Total      Total   Correction     Gigabytes    Total
              delay:       [rereads/    errors   algorithm      processed    uncorrected
            minor | major  rewrites]  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0          0.000           0
write:         0        0         0         0          0          0.000           0

Non-medium error count:        0
Warning: device does not support Self Test Logging
[root@suttr-db07 root]# smartctl -d scsi --all /dev/sdb1
smartctl version 5.1-11 Copyright (C) 2002-3 Bruce Allen
Home page is http://smartmontools.sourceforge.net/

Device: HITACHI  DF600F           Version: 0000
Serial number: 830418780006
Device type: disk
Local Time is: Thu Aug 20 11:17:47 2020 PDT
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Device supports SMART and is Disabled
scsiModePageOffset: bad resp_len=1 offset=4 bd_len=0
Temperature Warning Disabled or Not Supported
SMART Sense: Ok!

Error counter log:
          Errors Corrected    Total      Total   Correction     Gigabytes    Total
              delay:       [rereads/    errors   algorithm      processed    uncorrected
            minor | major  rewrites]  corrected  invocations   [10^9 bytes]  errors
read:          0        0         0         0          0          0.000           0
write:         0        0         0         0          0          0.000           0
Warning: device does not support Self Test Logging
[root@suttr-db07 root]#

Last edited by james000; 08-20-2020 at 01:24 PM.
 
Old 08-20-2020, 06:06 PM   #4
berndbausch
LQ Addict
 
Registered: Nov 2013
Location: Tokyo
Distribution: Mostly Ubuntu and Centos
Posts: 6,316

Rep: Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002Reputation: 2002
Regarding LSILogic, perhaps you find something in the kernel messages (dmesg command). There seems to be a tool named MegaCLI; of course, it might be hard to install on RHEL 3.
 
1 members found this post helpful.
Old 08-20-2020, 07:40 PM   #5
james000
Member
 
Registered: Sep 2018
Posts: 198

Original Poster
Rep: Reputation: 6
Understood. Thanks
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need to find out which job has start status but no end status ajdba Linux - General 1 01-14-2013 03:35 PM
[SOLVED] Old linux, old hardware, old user/adm, but always a newbie 3dBdown Linux - Newbie 4 02-15-2011 08:54 PM
I can't install sun-java6-jdk sun-java6-bin sun-java6-jre citye Linux - Newbie 2 10-18-2009 04:54 AM
LXer: Oracle to 'out Sun' Sun on hardware and software LXer Syndicated Linux News 0 10-12-2009 06:50 AM
Tell dpkg not to create available-old and status-old files? kushalkoolwal Debian 0 05-16-2008 03:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:04 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration