Operating System - HP-UX
1753774 Members
6986 Online
108799 Solutions
New Discussion юеВ

What is the step to fsck journal filesystem?

 
restrospec
Contributor

What is the step to fsck journal filesystem?

What is the step to fsck journal filesystem?

Please suggest me.
5 REPLIES 5
Robert-Jan Goossens
Honored Contributor

Re: What is the step to fsck journal filesystem?

Hi,

# umount filesystem
# fsck -F vxfs -o full /dev/vgxx/rlvoly
You could add the -y option if you do not need to interact with the fsck process.

# man fsck_vxfs
for more info.

Regards,
Robert-Jan
Steven E. Protter
Exalted Contributor

Re: What is the step to fsck journal filesystem?

Shalom,

Note also that a reboot will check the filesystem state. If it was not closed cleanly it will fsck it.

This check is not as complete as the check in the first post to your thread.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
fabio sibillano
Advisor

Re: What is the step to fsck journal filesystem?

And, generally, you should not need to check a journ. filesystem...after all if you want to do it you should always unmont it, so the system can't be up and runnig (teorically).
Do do a boot, and if the "dirty bit" for the filesystem is set an autofsck will occour.


Regards.

Fabio
karthik_in83
Frequent Advisor

Re: What is the step to fsck journal filesystem?

Hi restrospec,

Before run fsck,you should unmount the FS,then you can proceed.
If you run fsck for /lvol3 in /vg02,

#umount /lvol3
#fsck -F vxfs -y -o full /dev/vg02/rmarketing
#mount /lvol3

by KK
karthik_in83
Frequent Advisor

Re: What is the step to fsck journal filesystem?

Hi restrospec,

Before run fsck,you should unmount the FS,then you can proceed.
If you run fsck for /lvol3 in /vg02,

#umount /lvol3
#fsck -F vxfs -y -o full /dev/vg02/rmarketing
#mount /lvol3

here,
-F - FS type, -y - yes to all the questions, -o - flag....

by KK