Xfs parameter introduction

Source: Internet
Author: User

Age_buffer_centisecs

Age_buffer_centisecs :( Min: 100 Default: 1500 Max: 720000) How long should it be set to dirty data?

Xfsbufd_centisecs

Xfsbufd_centisecs: (Min: 50 Default: 100Max: 3000) xfsbufd scan dirty buffer interval

Xfssyncd_centisecs

Xfssyncd_centisecs: (Min: 100 Default: 3000 Max: 720000) xfssyncd refresh interval (written to disk)

XFS sysctls-Debug

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

Detailed information is displayed when a file system error occurs.

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

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

-Current threshold (threshold) values are:

• XFS_ERRLEVEL_OFF: 0

• XFS_ERRLEVEL_LOW: 1

• XFS_ERRLEVEL_HIGH: 5

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

Call a BUG when a specified error occurs () (used for debugging)

• XFS_NO_PTAG 0

* XFS_PTAG_IFLUSH 0x00000001

• XFS_PTAG_LOGRES 0x00000002

• XFS_PTAG_AILDELETE 0x00000004

• XFS_PTAG_ERROR_REPORT 0x00000008

• Xfs_ptag_shutdown_0000upt 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)

Specifies whether the symbolic link mode is 0777 (default)

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

Put a file that is not in the same group ID as the folder in this folder. Will the group ID change to the group ID of the folder. (Not by default)

 

XFS sysctls-Attribute Inheritence

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

Set the sync flag for the chattr command in xfs_io

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

Directory to be inherited by files in that directory.

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

Set the nodump flag for the chattr command in xfs_io

-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)

Set the noatime flag by the chattr command under xfs_io

-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)

Set the nosymlinks flag for the chattr command in xfs_io

-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)

Clear status information

If it is set to 1, the accumulated status of the xfs system will be cleared and the status will be reset to 0 immediately.

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

Whether the controlled user can use chown to change the file owner

 

Xfs parameter introduction

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.