system management
1748053 メンバー
4674 オンライン
108758 解決策
新規ポスト

make_tape_recoveryのエラー

 
circular_name
新しいメンバー

make_tape_recoveryのエラー

こんにちは。
HP-UX11.00を まだ使っています。
Ignite-UXのバージョンを B.3.3.116からC.7.2.94に上げた後、以下のエラーに遭遇しております。
web上の情報からは circular link の存在が原因とされていますが、
#export INST_DEBUG=2
#/opt/ignite/lbin/list_expander > /tmp/list_expander.log
として確認したところ、循環のエラーは挙がりませんでした。
その他の原因があるとすれば何か、ご教示いただければと思います。


* Creating local directories for configuration files and archive.

======= 12/18/09 18:04:32 JST Started make_tape_recovery. (Fri Dec 18
18:04:32 JST 2009)
@(#)Ignite-UX Revision C.7.2.94
@(#)ignite/net_recovery (opt) $Revision: 10.882 $ $Date: 2007/02/28
17:10:48 $

* Testing for necessary pax patch.
* Recovery Archive Description = Recovery Archive

* Recovery Archive Location = /dev/rmt/0mn

* Number of Archives to Save = 2

* Pax type = tar


In? dsk/vg name minor# Associated disks/mountpoints
2 v /dev/vg00 0x00 /dev/dsk/c3t5d0 /dev/dsk/c3t6d0
/dev/vg00/lvol1 /stand 2
/dev/vg00/lvol2
/dev/vg00/lvol3 / 2
/dev/vg00/lvol4 /tmp 2
/dev/vg00/lvol5 /opt 2
/dev/vg00/lvol6 /opt/omni 2
/dev/vg00/lvol7 /usr 2
/dev/vg00/lvol8 /var 2
/dev/vg00/lvol9 /var/opt/omni 2
/dev/vg00/lvol10 /var/adm/crash 2
/dev/vg00/lvol11 /opt/oracle 2
/dev/vg00/lvol12 /var/opt/OV 2
/dev/vg00/lvol13 /opt/OV 2

** 0 - The Volume Group or Filesystem is Not included in the
System Recovery Archive
** 1 - The Volume Group or Filesystem is Partially included in the
System Recovery Archive
** 2 - The Volume Group or Filesystem is Fully included in the
System Recovery Archive

* Checking Versions of Ignite-UX filesets
* Creating System Configuration.
* /opt/ignite/bin/save_config -f
/var/opt/ignite/recovery/2009-12-18,18:04/system_cfg vg00
* Backing Up Volume Group /dev/vg00
* /usr/sbin/vgcfgbackup /dev/vg00
* Creating Map Files for Volume Group /dev/vg00
* /usr/sbin/vgexport -s -p -m /etc/lvmconf/vg00.mapfile /dev/vg00

* Creating Control Configuration.
* Creating Archive File List
ERROR: list_expander returned an error.
ERROR: list_expander returned an error.
ERROR: Failed to get the archive size and the list of files which will be in
archive.

======= 12/18/09 18:06:17 JST make_tape_recovery completed unsuccessfully
6件の返信6
masaakio65_1
アドバイザー

make_tape_recoveryのエラー

これ経験あります。
書いていらっしゃる通りですが、/var/opt/ignite以下のどこかにflistというファイルが、make_tape_recovery の実行時にできると思います。
バックアップ対象のリストですが、そのファイルの最後にあるファイルがそういうリンクファイルになってました。

確認して貰えませんか。
circular_name
新しいメンバー

make_tape_recoveryのエラー

masaakio65様
早速の返信ありがとうございます。

以下のコマンドにて、root以下の全てを対象にcircular linkを検索しました。

# find / -follow > /opt/(任意のファイル名)

その結果、/var/opt/ignite以下ではありませんでしたがcircular linkが見つかっております。

これらは全て自身を指すlinkなので、全て不必要といえるのでしょうか。

ご返信をお待ちしております。

# ll /usr/bin/X11/cdx
lrwxr-xr-x 1 root sys 3 Oct 29 13:11 /usr/bin/X11/cdx -> cdx
# ll /opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26
lrwxr-xr-x 1 root sys 10 Oct 29 13:38 /opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26 -> solaris-26
# ll /usr/bin/X11/cdx
lrwxr-xr-x 1 root sys 3 Oct 29 13:11 /usr/bin/X11/cdx -> cdx
# ll /usr/adm/crash/opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26
lrwxr-xr-x 1 root sys 10 Oct 29 15:52 /usr/adm/crash/opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26 -> solaris-26
# ll /var/adm/crash/opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26
lrwxr-xr-x 1 root sys 10 Oct 29 15:52 /var/adm/crash/opt/omni/databases/vendor/da/sun/sparc/solaris-9/solaris-26 -> solaris-26
# ll /bin/X11/cdx
lrwxr-xr-x 1 root sys 3 Oct 29 13:11 /bin/X11/cdx -> cdx
#
masaakio65_1
アドバイザー

make_tape_recoveryのエラー

説明がうまくなかったのかもしれませんが、
make_tape_recovery が作成するいくつかのログファイルの一つがflist です。こちらに残っていたログファイルをみてみると、

/var/opt/ignite/recovery/latest/flist

もしくは、

/var/opt/ignite/recovery//flist

というパスに存在するファイルですが、現象発生時このファイルの一番最後は、以下のような記述で終わっていていました。

7 etc/etc 120755 1254710814 3 0 NA 1 0xf81 0x40000003

/etc/etc は、/etc にリンクが貼ってありました。
元々存在しないファイルですし、この/etc/etc を削除して、問題を回避しました。

今回確認したファイルは、自分自身を指定しているので削除してみたらどうでしょうか。
ファイルの存在が必要なのであれば、touch コマンドで同じファイル名でファイルを作成しておけば問題ないんじゃないですか。

以下は、MACOSX での実行した例ですけど、

$ cd /tmp
$ ln -s link link
$ ls -l /tmp/link
lrwxr-xr-x 1 macuser1 wheel 4 1 6 07:51 /tmp/link -> link

こんな感じに削除して、touch で作ってみます。
$ rm /tmp/link
$ touch /tmp/link

chmod やchown で、オーナーやパーミッションは整える必要はあるかもしれません。
circular_name
新しいメンバー

make_tape_recoveryのエラー

昨日、/usr/bin/X11/cdx と /bin/X11/cdxをrmしましたところ、
Igniteバックアップを正常終了させることが出来ました。

そして今朝、PCから対象サーバーにftpでログインして
logをgetしようとしたところ、
200 PORT command successful.
425 Can't build data connection: Connection timed out.
となり、ファイル転送が不能となってしまいました。

これは今回のrm実施と何か関係があるのでしょうか。
ご存知でしたら教えていただきたいと思います。
なお、対象のマシンは Visualize j6000 Workstation です。

よろしくお願いします。
masaakio65_1
アドバイザー

make_tape_recoveryのエラー

cdx というファイルを消したのと、ftpの問題は関連ないでしょうね。

425 Can't build data connection: Connection timed out.

ftpは、/etc/services にあるようにcontrolとdata 二つのコネクションを必要とするのですが、なぜdata 用の接続ができなかったのか、これだけだとわかりませんが、その後もずっとftpできないのでしょうか。
syslog.log に何か残ってたりしますか。
circular_name
新しいメンバー

make_tape_recoveryのエラー

ftp不良の問題ですが、クライアント側に原因があったようです。
同セグメント上の他クライアントからテストを実施したところ、問題なくftp転送が出来ました。

ご支援誠にありがとうございました。