1838619 Members
2144 Online
110128 Solutions
New Discussion

Re: FSCK

 
SOLVED
Go to solution
Nobody's Hero
Valued Contributor

FSCK

How do you fsck a specific disk ?
command ?
UNIX IS GOOD
4 REPLIES 4
Steve Steel
Honored Contributor
Solution

Re: FSCK

Hi

To verify filesystem integrity perform a
full fsck (without log replay) but with the
"-n" option.

# fsck -F vxfs -n /dev/vgxx/rlovlyy



Steve Steel

If you want truly to understand something, try to change it. (Kurt Lewin)
Rusty Sapper
Frequent Advisor

Re: FSCK

/usr/sbin/fsck [-F FSType] [-m] [-V] [special ...]

where special is the disks' physical path. i.e. /dev/rdsk/c1d0s8

hth

-Rusty

Darrell Allen
Honored Contributor

Re: FSCK

Hi Bob,

fsck is for filesystem checking, not for disks. You can fsck each of the filesystems on a disk but with LVM they may span other disks as well.

You fsck against the logical volume the filesystem is mounted on and the filesystem should be unmounted.

Darrell
"What, Me Worry?" - Alfred E. Neuman (Mad Magazine)
Ceesjan van Hattum
Esteemed Contributor

Re: FSCK

Look for diskspecification with:
$> ioscan -fnCdisk
then fsck for example like:
$> fsck -m /dev/rdsk/c1t0d0
and read fsck...

.. or are there some problems?
Regards,
Ceesjan