- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- fsck without prompting
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
Discussions
Forums
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
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
тАО08-06-2003 03:48 AM
тАО08-06-2003 03:48 AM
fsck without prompting
How to reply automaticly yes to all questions to the following command line:
fsck -F vxfs -o full /dev/vgs1010/lvol1
Thanks
Didier
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 03:50 AM
тАО08-06-2003 03:50 AM
Re: fsck without prompting
check the man page but I think if you add a -y it takes yes as the answer to any questions.
Kevin.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 03:51 AM
тАО08-06-2003 03:51 AM
Re: fsck without prompting
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 03:52 AM
тАО08-06-2003 03:52 AM
Re: fsck without prompting
Use the -y option in your command line.
Refer to the fsck_vxfs(1M) man page for mor information.
Cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 03:52 AM
тАО08-06-2003 03:52 AM
Re: fsck without prompting
Just include the -y option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 03:58 AM
тАО08-06-2003 03:58 AM
Re: fsck without prompting
Hi
fsck with -y option will do.But recommented to use charecter special device file for the logical volume.
Unmount the filesystem and
fsck -F vxfs -o full /dev/vg00/rlovl1.
regds,
baiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 05:49 AM
тАО08-06-2003 05:49 AM
Re: fsck without prompting
Since you're automating this, you'll need to add a look in the lost+found dir to your script, in case fsck finds a problem, it will place it there under it's inode number as a file name.
If you know about it, you may be able to put it back.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2003 06:08 AM
тАО08-06-2003 06:08 AM
Re: fsck without prompting
#!/usr/bin/sh
# example for $1 /dev/vg01/rlvol9
echo "A files system check on parameter 1 is commencing\n"
fsck -F vxfs -o full -y $1
This will do it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com