How to check hdd?

Hi,

i’m new to Linux, so i have to ask some stupid questions…

I have a server with a RAID 5 config and want to check the HDDs. Which tools can i use in SUSE for that?

I’ve already tried “fsck -n” (don’t know if this outputs enough information), here is the output:


fsck 1.40.2 (12-Jul-2007)
e2fsck 1.40.2 (12-Jul-2007)
Warning!  /dev/disk/by-id/scsi-36001c230d6838f000ed86a148107d291-part2 is mounted.
Warning: skipping journal recovery because doing a read-only filesystem check.
/dev/disk/by-id/scsi-36001c230d6838f000ed86a148107d291-part2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 3876873 has zero dtime.  Fix? no

Inodes that were part of a corrupted orphan linked list found.  Fix? no

Inode 4578582 was part of the orphaned inode list.  IGNORED.
Inode 4578584 was part of the orphaned inode list.  IGNORED.
Inode 4578589 was part of the orphaned inode list.  IGNORED.
Inode 4578593 was part of the orphaned inode list.  IGNORED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -(7769560--7769613) -(9199618--9201663) -(9201666--9203718) -9203897 -(9203904--9204350) -(9204731--9205759) -(9205763--9207807) -9208322 -(9208328--9208824) -(9208835--9211430) -(9211433--9212363) -(9212911--9213951) -(9213960--9214894) -(9215922--9216000) -(9216002--9216404)
Fix? no

Free blocks count wrong (11539844, counted=11476781).
Fix? no

Inode bitmap differences:  -3876873 -4578582 -4578584 -4578589 -4578593
Fix? no

Free inodes count wrong (6386403, counted=6383487).
Fix? no


/dev/disk/by-id/scsi-36001c230d6838f000ed86a148107d291-part2: ********** WARNING: Filesystem still has errors **********

/dev/disk/by-id/scsi-36001c230d6838f000ed86a148107d291-part2: 170749/6557152 files (6.3% non-contiguous), 1569196/13109040 blocks
fsck.ext3 /dev/disk/by-id/scsi-36001c230d6838f000ed86a148107d291-part2 failed (status 0x4). Run manually!

Maybe can give me some hint what to do next…

Thanks in advance!

> i’m new to Linux, so i have to ask some stupid questions…

NO such thing as a stupid question…only stupid answers (i hope
mine is not)…

> I have a server with a RAID 5 config and want to check the HDDs. Which
> tools can i use in SUSE for that?

the tools to use depend entirely on what you mean when you say you
“want to check the HDDs”…

what were you trying to “check” when you did the “fsck -n”?

do you have or suspect a problem with your raid array?

note: any problem you might find or suspect can only be repaired if
the disk is NOT mounted!


see caveat: http://tinyurl.com/6aagco
DenverD (Linux Counter 282315) via NNTP, Thunderbird 2.0.0.14, KDE
3.5.7, SUSE Linux 10.3, 2.6.22.18-0.2-default #1 SMP i686 athlon