ndb_print_file 从 NDB 集群磁盘数据文件中获取信息。ndb_print_file obtains information from an NDB Cluster Disk Data file.
用法Usage
ndb_print_file [-v] [-q] file_name+
file_name 是 NDB 集群磁盘数据文件的名称。可以接受多个文件名,用空格分隔。file_name is the name of an NDB
Cluster Disk Data file. Multiple filenames are accepted,
separated by spaces.
像 ndb_print_schema_file 和 ndb_print_sys_file(与大多数其他 NDB 实用程序不同,这些实用程序通常在管理服务器主机上运行或连接到管理服务器),ndb_print_file 必须在 NDB 集群数据节点上运行,因为它直接访问数据节点文件系统。由于它不使用管理服务器,因此当管理服务器未运行,甚至当集群已完全关闭时,也可以使用此实用程序。Like ndb_print_schema_file and
ndb_print_sys_file (and unlike most of the
other NDB utilities that are
intended to be run on a management server host or to connect to
a management server) ndb_print_file must be
run on an NDB Cluster data node, since it accesses the data node
file system directly. Because it does not make use of the
management server, this utility can be used when the management
server is not running, and even when the cluster has been
completely shut down.
选项Options
ndb_print_file 支持以下选项:ndb_print_file supports the following options:
--file-key,-K命令行格式Command-Line Format --file-key=hex_data从
stdin、tty或my.cnf文件提供文件系统加密或解密密钥。Supply file system encryption or decryption key fromstdin,tty, or amy.cnffile.命令行格式Command-Line Format --file-key-from-stdin类型Type 布尔Boolean 默认值Default Value FALSE有效值Valid Values TRUE从
stdin提供文件系统加密或解密密钥。Supply file system encryption or decryption key fromstdin.--help,-h,-?命令行格式Command-Line Format --help--help打印帮助信息并退出。Print help message and exit.
--quiet,-q命令行格式Command-Line Format --quiet抑制输出(安静模式)。Suppress output (quiet mode).
--usage,-?命令行格式Command-Line Format --usage打印帮助信息并退出。Print help message and exit.
--verbose,-v命令行格式Command-Line Format --verbose--verbose使输出详细。Make output verbose.
--version,-v命令行格式Command-Line Format --version打印版本信息并退出。Print version information and exit.
有关更多信息,请参见 第 25.6.11 节,“NDB Cluster 磁盘表”。For more information, see Section 25.6.11, “NDB Cluster Disk Data Tables”.