- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to perfom fsck on run level s
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 08:49 AM
07-05-2011 08:49 AM
How to perfom fsck on run level s
I have an HP machine B2000 (b .10.20).
Recently, it performs independent boots.
When the system brings up it asks to run fsck.
As much as I know it is better to do it on run level s. I tried to do it unsuccessfully.
I used:
/sbin/fsck -F vxfs -o full /dev/vg00/lvol??
or
fsck -yl /dev/vg00/lvol??
Can someone tells me what is the correct command or how to do it right?
BR,
Yali
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 09:12 AM
07-05-2011 09:12 AM
Re: How to perfom fsck on run level s
You will first need to activate the VG
vgchange -a y /dev/vg00
Then run the fsck
fsck -y -o full /dev/vg00/lvol?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-05-2011 10:51 PM
07-05-2011 10:51 PM
Re: How to perfom fsck on run level s
When I run the command
vgchange -a y /dev/vg00 it says
volume group /dev/vg00 does not exist in /etc/lvmtab.
cat /etc/lvmtab shows:
h/dev/vg00w!9HJ/dev/dsk/c2t6do#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 05:47 AM
07-06-2011 05:47 AM
Re: How to perfom fsck on run level s
Hello,
Please, if you have any suggestion I will be more than glad to hear.
BR
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-06-2011 06:40 AM
07-06-2011 06:40 AM
Re: How to perfom fsck on run level s
To get info from /etc/lvmtab, since it's binary, use:
strings /etc/lvmtab
While vg00 is the normal root VG, you can see all of your (activated) VG names with:
vgdisplay | grep Name
fsck should work fine on an unmounted file system. Single user or LVM maintenance modes might be needed if the LV is needed by the OS.