I'll follow up my original post with some more details (no solution
yet, though). The problem is that when I try to do an NFS mount
during the post section of the kickstart, I get the following error:
mount.nfs: Input/output error
I modified my kickstart script to not shut down, and when the install
completed, I fit Ctrl-Alt-F2 to get to the console. I typed the
exact same mount command and it worked. Then I did a "chroot /mnt/
sysimage" and tried the mount command again. This time it failed
with the same error and it takes almost 2 minutes for it to time
out. Here are the last few lines from an strace of the mount:
11:07:07.320919 lstat64("/etc/mtab", {st_mode=S_IFREG|0644,
st_size=24, ...}) = 0
11:07:07.321019 stat64("centosmirror:/local/www/html", 0xbf81ead0) =
-1 ENOENT (No such file or directory)
11:07:07.321093 stat64("/sbin/mount.nfs", {st_mode=S_IFREG|S_ISUID|
0755, st_size=55012, ...}) = 0
11:07:07.321195 clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|
CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7ff1928) = 4981
11:07:07.323011 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 32}],
0, NULL) = 4981
11:08:52.343024 --- SIGCHLD (Child exited) @ 0 (0) ---
11:08:52.343135 exit_group(32) = ?
Have there been some changes to the mount command in CentOS 5 that
are causing this problem? Anyone else successfully mounted an NFS
share in the %post section of a kickstart script?
Alfred
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos