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