1848223 Members
6840 Online
104022 Solutions
New Discussion

Re: mounting filesystem

 
Poonam Rane
Occasional Contributor

mounting filesystem

Does mounting happens to incosistency file system, how do you ensure to check there is no incosistency? (hp-ux 11.0)
4 REPLIES 4
Robert-Jan Goossens
Honored Contributor

Re: mounting filesystem

# umount /filesystem
# fsck -o full /dev/vgxx/rlvoly

Regards,
Robert-Jan
Poonam Rane
Occasional Contributor

Re: mounting filesystem

thanks..
but can I mount an incosistent file system without usin fsck directly?
Robert-Jan Goossens
Honored Contributor

Re: mounting filesystem

well hard to say, you could try mounting it with the read only option.

# mount /dev/vgxx/lvoly -o ro /filesystem

Don Wilt
Advisor

Re: mounting filesystem

I don't think that the os will mount a filesystem unless it is marked 'clean'.
The fsck command audits and interactively repairs inconsistent
conditions for HP-UX file systems on mass storage device files
identified by special. If the file system is consistent, the number
of files on that file system and the number of used and free blocks
are reported. If the file system is inconsistent, fsck provides a
mechanism to fix these inconsistencies, depending on which form of the
fsck command is used.