認可されたクライアントのアクセスリストと、NFS サーバーから設定したその他のエクスポートオプションを表示するには、次のコマンドを実行します。
dbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.DisplayExport uint16:Export_Id
# dbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.DisplayExport uint16:Export_Id
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
このコマンドは ACL とともに、エクスポートボリュームのフルパス、擬似パス、タグなどの他の情報を取得します。完全パスと擬似パスは、エクスポートボリュームのマウントに使用されます。
dbus DisplayExport コマンドは、エクスポートボリュームのクライアント詳細を提供します。出力構文は以下のようになります。
uint16 export_id
string fullpath
string pseudopath
string tag
array[
struct {
string client_type
int32 CIDR_version
byte CIDR_address
byte CIDR_mask
int32 CIDR_proto
uint32 anonymous_uid
uint32 anonymous_gid
uint32 expire_time_attr
uint32 options
uint32 set
}
struct {
.
.
.
}
.
.
.
]
uint16 export_id
string fullpath
string pseudopath
string tag
array[
struct {
string client_type
int32 CIDR_version
byte CIDR_address
byte CIDR_mask
int32 CIDR_proto
uint32 anonymous_uid
uint32 anonymous_gid
uint32 expire_time_attr
uint32 options
uint32 set
}
struct {
.
.
.
}
.
.
.
]
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow
#dbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.DisplayExport uint16:2
method return time=1559209192.642525 sender=:1.5491 -> destination=:1.5510 serial=370 reply_serial=2
uint16 2
string "/mani1"
string "/mani1"
string ""
array [
struct {
string "10.70.46.107/32"
int32 0
byte 0
byte 255
int32 1
uint32 1440
uint32 72
uint32 0
uint32 52441250
uint32 7340536
}
struct {
string "10.70.47.152/32"
int32 0
byte 0
byte 255
int32 1
uint32 1440
uint32 72
uint32 0
uint32 51392994
uint32 7340536
}
]
#dbus-send --type=method_call --print-reply --system --dest=org.ganesha.nfsd /org/ganesha/nfsd/ExportMgr org.ganesha.nfsd.exportmgr.DisplayExport uint16:2
method return time=1559209192.642525 sender=:1.5491 -> destination=:1.5510 serial=370 reply_serial=2
uint16 2
string "/mani1"
string "/mani1"
string ""
array [
struct {
string "10.70.46.107/32"
int32 0
byte 0
byte 255
int32 1
uint32 1440
uint32 72
uint32 0
uint32 52441250
uint32 7340536
}
struct {
string "10.70.47.152/32"
int32 0
byte 0
byte 255
int32 1
uint32 1440
uint32 72
uint32 0
uint32 51392994
uint32 7340536
}
]
Copy to Clipboard
Copied!
Toggle word wrap
Toggle overflow