手册页部分 1M: 系统管理命令

退出打印视图

更新时间: 2014 年 7 月
 
 

nsdb-list(1M)

名称

nsdb-list, nsdb-nces, nsdb-resolve-fsn - FedFS observability utilities

用法概要

nsdb-nces [-l nsdb] [-r port]
nsdb-list [-l nsdb] [-r port] [-e nce]
nsdb-resolve-fsn [-l nsdb] [-r port] fsn

描述

The tools described here permit observability into FedFS data stored in FedFS NSDBs (LDAP servers which store FedFS information).

nsdb-nces will list the naming contexts on the LDAP server that contains FedFS data, and the relative distinguished name of the FedFS container.

The nsdb-list command will list all FedFS data stored in the LDAP server, showing FedFS fileset names (FSNs) and all fileset locations (FSLs) for each.

nsdb-resolve-fsn will show the FSLs that correspond to the passed FSN.

示例

The following options are supported:

–l nsdb

Specify the LDAP server implementing the NSDB.

–r port

Specify the port on which the LDAP server implementing the NSDB is listening.

–e nce

Specify the distinguished name of the container of FedFS information on the LDAP server implementing the NSDB; this will often be a single unambiguous location and need not be specified.

示例

示例 1 Using the NSDB Tools

The following sequence of commands illustrates the use of all of the NSDB tools.

# nsdb-nces
Host: nsdb.cthon.org:389
  namingContext 'dc=cthon,dc=org' is a FedFS NCE, DIT starts at ''

# nsdb-list
NSDB: nsdb.cthon.org:389, dc=cthon,dc=org
  FSN UUID: 7cc0bf04-5459-11e1-8083-80093d11d889
    FSL UUID: 7cc33c02-5459-11e1-8084-00093d11d889 = filer-a:/tmp
  FSN UUID: db48f160-5858-11e1-b459-80093d11d889
    FSL UUID: db4998c2-5858-11e1-b45a-00093d11d889 = filer-j:/tmp

# nsdb-resolve-fsn 7cc0bf04-5459-11e1-8083-80093d11d889
For FSN UUID 7cc0bf04-5459-11e1-8083-80093d11d889
  FSL UUID: 7cc33c02-5459-11e1-8084-00093d11d889
    Location: filer-a:/tmp

退出状态

0

Successful completion.

>0

An error occurred.

属性

See attributes(5) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
service/file-system/nfs
Interface Stability
Committed

另请参见

nsdbparams(1M), nfsref(1M), attributes(5), fedfs(5)