日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 编程资源 > 综合教程 >内容正文

综合教程

xfs参数简介

發布時間:2024/6/21 综合教程 43 生活家
生活随笔 收集整理的這篇文章主要介紹了 xfs参数简介 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

age_buffer_centisecs

age_buffer_centisecs:(Min: 100 Default: 1500 Max: 720000) 多長時間設置為臟數據

xfsbufd_centisecs

xfsbufd_centisecs: (Min: 50 Default: 100Max: 3000)xfsbufd掃瞄臟buffer的時間間隔

xfssyncd_centisecs

xfssyncd_centisecs: (Min: 100 Default: 3000 Max: 720000)xfssyncd 刷新時間間隔(寫到磁盤)

XFS sysctls - Debug

error_level (Min: 0 Default: 3 Max: 11)

文件系統出錯時會顯示詳細信息

– A volume knob for error reporting when internal errors occur.

– This will generate detailed messages & backtraces for filesystem shutdowns, for example.

– Current threshold(閥值) values are:

? XFS_ERRLEVEL_OFF: 0

? XFS_ERRLEVEL_LOW: 1

? XFS_ERRLEVEL_HIGH: 5

panic_mask (Min: 0 Default: 0 Max: 127)

遇到指定的錯誤時調用BUG()(調試時用)

? XFS_NO_PTAG 0

? XFS_PTAG_IFLUSH 0x00000001

? XFS_PTAG_LOGRES 0x00000002

? XFS_PTAG_AILDELETE 0x00000004

? XFS_PTAG_ERROR_REPORT 0x00000008

? XFS_PTAG_SHUTDOWN_CORRUPT 0x00000010

? XFS_PTAG_SHUTDOWN_IOERROR 0x00000020

? XFS_PTAG_SHUTDOWN_LOGERROR 0x00000040

? This option is intended for debugging only.

XFS sysctls - Compatibility

irix_symlink_mode (Min: 0 Default: 0 Max: 1)

控制符號鏈接的模式是不是0777(默認)

irix_sgid_inherit (Min: 0 Default: 0 Max: 1)

把一個和文件夾不是同一個組ID的文件,放在這個文件夾里。組ID會不會變成文件夾的組ID。(默認不會)

XFS sysctls – Attribute Inheritence

inherit_sync (Min: 0 Default: 1 Max: 1)

xfs_io 下chattr 命令設置sync標志

– Setting this to "1" will cause the "sync" flag set by the xfs_io(8) chattr command on a

directory to be inherited by files in that directory.

inherit_nodump (Min: 0 Default: 1 Max: 1)

xfs_io 下chattr 命令設置nodump標志

– Setting this to "1" will cause the "nodump" flag set by the xfs_io(8) chattr command

on a directory to be inherited by files in that directory.

inherit_noatime (Min: 0 Default: 1 Max: 1)

xfs_io 下chattr 命令設置noatime標志

– Setting this to "1" will cause the "noatime" flag set by the xfs_io(8) chattr command

on a directory to be inherited by files in that directory.

inherit_nosymlinks (Min: 0 Default: 1 Max: 1)

xfs_io 下chattr 命令設置nosymlinks標志

– Setting this to "1" will cause the "nosymlinks" flag set by the xfs_io(8) chattr

command on a directory to be inherited by files in that directory.

XFS sysctls - Misc

stats_clear (Min: 0 Default: 0 Max: 1)

清除狀態信息

設為1的話,會清除xfs系統累積的狀態,并馬上重置為0

restrict_chown (Min: 0 Default: 1 Max: 1)

控制的用戶是否能夠用chown來改變,文件的擁有者

總結

以上是生活随笔為你收集整理的xfs参数简介的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。