RAID volumes and fsck

I’m getting messages from SMART about one of the partitions in my RAID-5.

If I --fail, --remove the partition can I run fsck on it as it’s not a
normal Linux fs?

Alan


email =~ s/nospam/fudokai/

No, because then you don’t have a filesystem. A RAID array has to be treated as integral by any filesystem driver. Especially as it’s RAID5.

ken yap wrote:

>
> No, because then you don’t have a filesystem. A RAID array has to be
> treated as integral by any filesystem driver. Especially as it’s RAID5.
>
>

So is here any way of managing bad sectors short of rebooting with ubcd and
running some sort of hard disc utility?

Alan


email =~ s/nospam/fudokai/

Why not replace the disk?

When you get bad sectors showing up in fsck, it means that the disk already has used up all its spare sectors transparently substituting for bad sectors. (Those controllers are quite smart.) Therefore there isn’t much life left in the disk and you’d be better off replacing it.

ken yap wrote:

>
> Why not replace the disk?
>
> When you get bad sectors showing up in fsck, it means that the disk
> already has used up all its spare sectors transparently substituting for
> bad sectors. (Those controllers are quite smart.) Therefore there isn’t
> much life left in the disk and you’d be better off replacing it.
>
>

Not absolutely sure the disk is failing - the smartd messages refer to…

Device: /dev/sdb, 9 Currently unreadable (pending) sectors
Device: /dev/sdb, 8 Offline uncorrectable sectors

other have said not to worry about these but I’d like to clear them for my
own peace of mind.

Plus - the disks are still under (3 yr) warranty and I doubt they’ll replace
them unless they actually do fail :slight_smile:

Alan

email =~ s/nospam/fudokai/