01-13-2011
running fsck on aix in startup
Hi,
I would like to know in which file I can get the option of enabling/disabling of running fsck on particular file system.
As I know in /etc/filesystems these parameter should be there just like in Linux /etc/fstab
I have created file system aix test but unable to find the option of running fsck on jfs2 file system in startup
below are parameters which I have seen in /etc/filesystems after creating new file systems.
/test:
dev = /dev/data_lv
vfs = jfs2
log = /dev/loglv00
mount = true
options = rw
account = false
Please suggest
Regards
Manoj
9 More Discussions You Might Find Interesting
1. AIX
Dear Gurus,
I would like to know if fsck is executed automatically during reboot for AIX?
Is there any logs which I can refer to? or any documentation reference for this?
Thank You. (2 Replies)
Discussion started by: cteoh88
2 Replies
2. Shell Programming and Scripting
Hi friends i have a script "backup.sh" which is stored in "/var/lib/pgsql" directory.
I want it to run as a cron so that it executes every time the system starts.
I tried the follwing method
I logged in as the root user and typed "crontab -e"
The file was completly blank so i put the... (3 Replies)
Discussion started by: perk_bud
3 Replies
3. Solaris
sorry i got this already... (3 Replies)
Discussion started by: itik
3 Replies
4. UNIX for Advanced & Expert Users
Hi, I have the problem that in the fstab indicating that the check is made of a particular filesystem during the boot process, if for any reason I have deleted, if it is to check the filesystem on boot, Linux will not start and asks password to enter maintenance mode. What I want is to keep an... (1 Reply)
Discussion started by: jailcreator
1 Replies
5. Red Hat
Hi, I am using scientific linux with is a red hat cloning.
I have written a script and I want it to be run during startup before the user log in.
How do I do that?
I know that there is some connection to the run level and the directory /etc/rc.d.
But I don't know how exactly to do it ?... (4 Replies)
Discussion started by: programAngel
4 Replies
6. Solaris
What can I fix this issue? I have ran below commands but everything is same.:confused:
WARNING: Last shutdown is later than time on time-of-day chip: check date.
The / file system (/dev/rdsk/c1t0d0s0) is being checked
WARNING - unable to repair the / filesystem. Run fsck manually (fsck -F... (4 Replies)
Discussion started by: getrue
4 Replies
7. Shell Programming and Scripting
Hi all,
i have a small simple perl that i cant make it work it is really stupid but i cant find solution and i needed fast.
im trying to copy running to startup on a cisco router and show me the output like is ok
Destination filename ?
Building configuration...
so the code i have is ... (0 Replies)
Discussion started by: IvanMP
0 Replies
8. AIX
Hi All,
I would like to schedule auto IPL (shutdown and start-up) by using a shell script.
Can you please give me some idea?
want to test on my lab box first.
shell script should bring AIX LPAR down and then need to start/activate the LPAR after 30 min
any idea is highly... (3 Replies)
Discussion started by: System Admin 77
3 Replies
9. UNIX for Advanced & Expert Users
I am having check.sh script and check.service which I include to /etc/systemd/system/
chmod 744 /usr/local/bin/check.sh
chmod 664 /etc/systemd/system/check.service
systemctl daemon-reload
systemctl enable check.servicecheck.sh:
websockify 5555 localhost:7000 &
date >... (9 Replies)
Discussion started by: tomislav91
9 Replies
LEARN ABOUT REDHAT
xchklog
xchklog(8) JFS utility - extract fsck.jfs log xchklog(8)
NAME
xchklog - extract a log from the JFS fsck workspace into a file
SYNOPSIS
xchklog [ -f output.file ] [ -p ] [ -V ] device
DESCRIPTION
xchklog extracts the contents of either the most recent or immediately prior JFS fsck service log from the specified device, and writes the
output into a specified or default file. (The default file name is <pwd>fscklog.new. If the -p option is used, the default file name is
<pwd>fscklog.old.)
The contents of the output file can be formatted into text by using the JFS utility xchkdmp.
device is the special file name corresponding to the actual device from which the fsck log will be extracted (e.g. /dev/hdb1 ).
OPTIONS
-f output.file
Specify the output file name, overriding the default file name.
output.file must be 127 characters or less in length.
output.file will be created in the present working directory unless it is fully qualified.
-p Extract the prior log (as opposed to the most recent log).
-V Print version information and exit (regardless of any other chosen options).
EXAMPLES
Extract the most recent log on /dev/hda5 into <pwd>fscklog.new:
xchklog /dev/hda5
Extract the most recent log on /dev/hdb3 into /temp/l9651107.log:
xchklog -f /temp/l9651107.log /dev/hdb3
Extract the prior log on /dev/hdb4 into <pwd>fscklog.old:
xchklog -p /dev/hdb4
REPORTING BUGS
If you find a bug in JFS or xchklog, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:
http://oss.software.ibm.com/jfs
Please send as much pertinent information as possible, including any xchklog error messages and the complete output of running fsck.jfs
with the -v option on the JFS device.
SEE ALSO
xchkdmp(8), mkfs.jfs(8), fsck.jfs(8), logdump(8), logredo(8), xpeek(8)
AUTHOR
Barry Arndt (barndt@us.ibm.com)
xchklog is maintained by IBM.
See the JFS project web site for more details:
http://oss.software.ibm.com/jfs
January 11, 2002 xchklog(8)