11-21-2000 12:51 AM
When a mounted filesystem first is present and later automatic is unmounted during the creation of a recovery archive, a warning is written into the logfiles saying something like:
"Lstat failed for file /tmp_mnt/usrdsk1. Skipping. No such file or directory (errno = 2)"
I've tried to exclude the catalogs used by automount (/net and /tmp_mnt) but it doesn't make a difference. The command I'm using is:
It's like Ignite still is trying to include the /net katalog in the recovery archive.
Any suggestions what I can try to avoid the problem ??
11-21-2000 01:12 AM
I dont think ignite is trying to include /net in the image archive. We get hundreds of similar errors whenever we run make_net_recovery, all "errno = 2" indicating links to files on different mountpoints which arent followed because they will be captured when the individual mountpoints are backed up themselves (if in vg00). Its nothing to worry about. Weve backed up lots of servers with warnings like this and restored quite a few and the restore works perfectly every time.
11-21-2000 02:21 AM
thanks for your answer.
I'm aware that the warnings are just at they are called - warnings, and they should not have any influence on the validity of a recovery archive.
But I would like to suppress the specific warnings concerning the automounted filesystems because they just confuse the operators checking the result of a new network recovery archive. If there sometimes or always are warnings attached to a new recovery archive, the operator might miss a 'real' warning that does influence the validity of the recovery archive.
When a filesystem is mounted during the whole creation of the recovery archive no warning appears. So I guess it's only if a file is moved or deleted (or a filesystem unmounted) the warning will appear.
In this case though, I specific tell make_net_recovery to ignore /net and /tmp_mnt and still the warnings concerning files/filesystems linked in /net and /tmp_mnt appear - that shuld not be !!
Isen't my argument right ??
11-21-2000 03:05 AM
The only way I can see to supress the warnings is to redirect the output of the make_net_recovery command to a logfile, so nothing displayed, then check the logfile afterwards to see if it completed successfully - else display an error and the error msg from the log.
As for errors from /tmp_mnt and /net, can you post a copy of some of them then we can look into it further.
11-21-2000 06:56 AM
Thanks for the offering to analyze the logfile though.