Tru64 Unix
1748265 會員
4049 線上
108760 解決方案
發表新文章

Tru64 AdvFS transaction log

 
watermelonyu
教授

Tru64 AdvFS transaction log



請問大家,



When you create a file system domain, AdvFS creates a transaction log file for it. During crash recovery, AdvFS reads the transaction log file to confirm file system transactions.



這裏的transaction log是指記錄這個Filesystem上所有檔案和資料的異動嗎? 還是只記錄fileset或其他架構上的異動?



謝謝

3則回覆 3
watermelonyu
教授

Tru64 AdvFS transaction log

Hi,



> 這裏的transaction log是指記錄這個Filesystem上所有檔案和資料的異動嗎?

> 還是只記錄fileset或其他架構上的異動?

它只記錄fileset上資料的異動, And Makes an "undo" log

or file's recovered page ranges will be listed

in a log file if necessary.



See "man nvlogpg":

nvlogpg - displays domain transaction LOG.



至於Filesystem上所有檔案和資料的異動

則存於 root tag file, and fileset tag files.

nvtagpg - displays root and fileset TAG files.



Best regards,

Richard.

watermelonyu
教授

Tru64 AdvFS transaction log



感謝你的解答,

但是我執行

/sbin/advfs/nvlogpg his_db1 -d his_db1.log

會出現:

open_vol: open for volume "/dev/disk/dsk13c" failed: Device busy



其他的Domain也一樣,請問不知是否有其他方法看transaction log,或者在那裏的路徑可以看到?



謝謝

watermelonyu
教授

Tru64 AdvFS transaction log

Hi,



> open_vol: open for volume "/dev/disk/dsk13c" failed: Device busy

It means the dsk13c is mounted by processes running.

Please umount it before running the command "nvlogpg" to dsk13c or the other Domains.



Best regards,

Richard.