-
address ::nfs_expvis
- exportinfo visible list の内容を表示します(visible list があるのは pseudo ノードだけ)。
> 0x60017e6ddc0::nfs_expvis
exportinfo->exp_visible = 60017e6ddc0
/Install/Images/sc_3.2_u2
addr: 60017e6ddc0 exp : 0 ref: 1
vp : 60014a34b00 ino : 13 (0xd)
seci: 6001679c300 nsec: 1
Security Flavors :
sys ref: 1 flag: 0x0 ()
-
address ::nfs_expinfo
- exportinfo 構造体の内容を表示します。
> 60017d50e40::nfs_expinfo
/Install/Images (pseudo) 60017d50e40
rtvp: 600138becc0 ref : 1 flag: 0x4080 (EX_PSEUDO,EX_ROOT) VROOT
dvp : 0 anon: 0 logb: 0
seci: 6001679c180 nsec: 1 fsid: (0x19a8ce 0x49514308)
Security Flavors :
sys ref: 5 flag: 0x1 (M_RO)
PseudoFS Nodes:
/Install/Images/sc_3.2_u2
addr: 60017e6ddc0 exp : 0 ref: 1
vp : 60014a34b00 ino : 13 (0xd)
seci: 6001679c300 nsec: 1
Security Flavors :
sys ref: 1 flag: 0x0 ()
/Install/Images/sc_3.2_u2/mnt
addr: 60017db9b80 exp : 1 ref: 1
vp : 600124d6980 ino : 36 (0x24)
seci: 0 nsec: 0
:
:
-
[ address ] ::nfs_exptable
- exportinfo テーブルの内容を表示します。
> ::nfs_exptable
/ (pseudo) 30015afcfc0
rtvp: 30007095a40 ref : 1 flag: 0x4080 (EX_PSEUDO,EX_ROOT) VROOT
dvp : 0 anon: 0 logb: 0
seci: 30015b12a80 nsec: 1 fsid: (0xd198852e 0x53d64408)
Security Flavors :
sys ref: 1 flag: 0x1 (M_RO)
PseudoFS Nodes:
/install
addr: 3001632d000 exp : 0 ref: 1
vp : 3001572f840 ino : 90701 (0x1624d)
seci: 0 nsec: 0
/install 300176c43c0
rtvp: 3001593c000 ref : 1 flag: 0x4000 (EX_ROOT) VROOT
dvp : 30007095a40 anon: 0 logb: 0
seci: 3000820b8c0 nsec: 1 fsid: (0xcc3e9a5f 0xca41b308)
Security Flavors :
sys ref: 1 flag: 0x21 (M_RO,M_EXP)
-
::nfs_nstree [-v]
- nfs pseudo namespace tree の内容を表示します。-v オプションを指定した場合、exportinfo と exp_visible 構造体の内容を表示します。
> ::nfs_nstree
TREENODE:
/
addr: 30014446e38
tree_parent: 0
tree_child_first: 30014446280
tree_sibling: 0
tree_exi: 30015afcfc0
tree_vis: 0
TREENODE:
/install
addr: 30014446280
tree_parent: 30014446e38
tree_child_first: 0
tree_sibling: 0
tree_exi: 300176c43c0
tree_vis: 3001632d000
> ::nfs_nstree -v
TREENODE:
/
Dump treenode:
addr: 30014446e38
tree_parent: 0
tree_child_first: 30014446280
tree_sibling: 0
tree_exi: 30015afcfc0
tree_vis: 0
Dump exportinfo:
/ (pseudo) 30015afcfc0
rtvp: 30007095a40 ref : 1 flag: 0x4080 (EX_PSEUDO,EX_ROOT) VROOT
dvp : 0 anon: 0 logb: 0
seci: 30015b12a80 nsec: 1 fsid: (0xd198852e 0x53d64408)
Security Flavors :
sys ref: 1 flag: 0x1 (M_RO)
PseudoFS Nodes:
/install
addr: 3001632d000 exp : 0 ref: 1
vp : 3001572f840 ino : 90701 (0x1624d)
seci: 0 nsec: 0
:
:
-
[ address ] ::nfs_mntinfo [-v]
- mntinfo_t 構造体の情報を表示します。
> ::nfs_mntinfo
NFS Version=2
mi_flags: MI_HARD,MI_INT,MI_NOAC,MI_DYNAMIC
mount point: /vol
mount from : b100-2:vold(pid750)
> ::nfs_mntinfo -v
NFS Version=2
mi_flags: MI_HARD,MI_INT,MI_NOAC,MI_DYNAMIC
mount point: /vol
mount from : b100-2:vold(pid750)
mi_zone=18bd768
mi_curread=8192, mi_curwrite=512, mi_retrans=5, mi_timeo=350
mi_acregmin=3000000000, mi_acregmax=60000000000, mi_acdirmin=30000000000, mi_acdirmax=60000000000
Server list: 300045b9968
b100-2.vold
Current Server: 300045b9968 b100-2.vold
Total: Server Non-responses = 0 Server Failovers = 0
IO statistics for this mount
No. of bytes read 0
No. of read operations 0
No. of bytes written 0
No. of write operations 0
Async Request queue: max_threads = 8 active_threads = 0
number requests queued:
READ_AHEAD = 0 PUTPAGE = 0 PAGEIO = 0 READDIR = 0 COMMIT = 0 INACTIVE = 0
-
-
-
address ::nfs_servinfo [-v]
- servinfo_t 構造体の情報を表示します。
> 300045b9968::nfs_servinfo
b100-2.vold
> 300045b9968::nfs_servinfo -v
secdata ptr = 30004271560
address = 1/loopback/-/b100-2.vold
hostname = for volume management (/vol)
filehandle = 0000000000000001000000010000000000000000000000000000000000000000
-
::nfs_stat [-csb][-234][-anr] | $[count]
- NFS statistics を表示します。以下の様な nfsstat コマンドと似たスイッチです。
::nfs_stat [-csb][-234][-anr]
::nfs_stat -c -> Client Statistics.
::nfs_stat -s -> Server Statistics.
::nfs_stat -b -> Callback Stats. (V4 only)
::nfs_stat -r -> RPC Statistics.
::nfs_stat -n -> NFS Statistics.
::nfs_stat -a -> ACL Statistics.
::nfs_stat -2 -> Version 2.
::nfs_stat -3 -> Version 3.
::nfs_stat -4 -> Version 4.
-csb のどちらも指定されていない場合は、3つ全てが想定されます。
-arn のどちらも指定されていない場合は、3つ全てが想定されます。
-234
のどちらも指定されていない場合は、3つ全てが想定されます。
-b は、-234 のフラグとは独立して動作します。
次の一般的な(非NFS固有の)形式がサポートされています。
<kstat addr>::nfs_stat $[count] -> kstat_named 配列の`count ' 要素内のステータスを表示します。
> ::nfs_stat -b
CALLBACK STATISTICS:
delegations cb_getattr cb_recall cb_null
0 0 0 0
cb_dispatch delegaccept_r delegaccept_rw delegreturn
0 0 0 0
callbacks claim_cur claim_cur_ok recall_trunc
0 0 0 0
recall_failed return_limit_wr return_limit_ad deleg_recover
0 0 0 0
cb_illegal
0
> ::nfs_stat -a4
CALLBACK STATISTICS:
delegations cb_getattr cb_recall cb_null
0 0 0 0
cb_dispatch delegaccept_r delegaccept_rw delegreturn
0 0 0 0
callbacks claim_cur claim_cur_ok recall_trunc
0 0 0 0
recall_failed return_limit_wr return_limit_ad deleg_recover
0 0 0 0
cb_illegal
0
SERVER STATISTICS:
ACL Statistics:
Version 4:
(0 calls)
null getacl setacl
0 0% 0 0% 0 0%
CLIENT STATISTICS:
ACL Statistics:
Version 4:
(0 calls)
null getacl setacl
0 0% 0 0% 0 0%
-
::nfs_vfs [-v]
- 全ての nfs vfs 構造体を表示します。
> ::nfs_vfs
vfs_t->300000a5840 , data = 30003cca6c0 , ops = 1872f78
mount point: /vol
mount from : b100-2:vold(pid750)
> ::nfs_vfs -v
vfs_t->300000a5840 , data = 30003cca6c0 , ops = 1872f78
mount point: /vol
mount from : b100-2:vold(pid750)
vfs_flags:
mount-time: 2012 May 16 09:01:56
mount opts: remount, ro, rw, suid, nosuid, devices, nodevices, setuid, nosetuid, nbmand, nonbmand, exec, noexec, ignore, noquota
NFS Version=2
mi_flags: MI_HARD,MI_INT,MI_NOAC,MI_DYNAMIC
mi_zone=18bd768
mi_curread=8192, mi_curwrite=512, mi_retrans=5, mi_timeo=350
mi_acregmin=3000000000, mi_acregmax=60000000000, mi_acdirmin=30000000000, mi_acdirmax=60000000000
Server list: 300045b9968
b100-2.vold
Current Server: 300045b9968 b100-2.vold
Total: Server Non-responses = 0 Server Failovers = 0
IO statistics for this mount
No. of bytes read 0
No. of read operations 0
No. of bytes written 0
No. of write operations 0
Async Request queue: max_threads = 8 active_threads = 0
number requests queued:
READ_AHEAD = 0 PUTPAGE = 0 PAGEIO = 0 READDIR = 0 COMMIT = 0 INACTIVE = 0
-
nfs_expinfo
- exportinfo table を調査して、exportinfo 構造体のセットに対して反復適用します。
> ::walk nfs_expinfo |::print exportinfo_t exi_export.ex_path
exi_export.ex_path = 0x300162dea98 "/ (pseudo)"
exi_export.ex_path = 0x3001745d6d0 "/install"
-
nfs_expinfo_path
- exportinfo path hash table を調査して、exportdata 構造体のセットに対して反復適用します。
> ::walk nfs_expinfo_path |::print exportdata_t
{
ex_version = 0x2
ex_path = 0x3001745d6d0 "/install"
ex_pathlen = 0x9
ex_flags = 0x4000
ex_anon = 0
ex_seccnt = 0x1
ex_secinfo = 0x3000820b8c0
ex_index = 0
ex_log_buffer = 0
ex_log_bufferlen = 0
ex_tag = 0
ex_taglen = 0
}
{
ex_version = 0
ex_path = 0x300162dea98 "/ (pseudo)"
ex_pathlen = 0xa
ex_flags = 0x4080
ex_anon = 0
ex_seccnt = 0x1
ex_secinfo = 0x30015b12a80
ex_index = 0
ex_log_buffer = 0
ex_log_bufferlen = 0
ex_tag = 0
ex_taglen = 0
}
-
-
nfs_expvis
- exp_visible 構造体のセットに対して反復適用します。
> 60017e6ddc0::walk nfs_expvis |::print exp_visible_t vis_next
vis_next = 0x60017db9b80
vis_next = 0x60017f6ef40
vis_next = 0x60017f6ebc0
vis_next = 0x60018458f00
vis_next = 0x6001859e140
vis_next = 0x60017f6ec40
vis_next = 0x60018459380
vis_next = 0x60017db9a80
vis_next = 0x60018545880
vis_next = 0x60017f6eb40
vis_next = 0
-
-
nfs_mnt
- NFS-mounted vfs 構造体を調べて(vfs_data)、mntinfo 構造体のセットに対して反復適用します。
> ::walk nfs_mnt |::print mntinfo_t
{
mi_lock = {
_opaque = [ 0 ]
}
mi_servers = 0x600167b5058
mi_curr_serv = 0x600167b5058
mi_failover_cv = {
_opaque = 0
}
mi_readers = 0
mi_vfsp = 0x60013263e00
mi_type = 2 (VDIR)
mi_flags = 0x55
mi_tsize = 0x2000
mi_stsize = 0x200
mi_timeo = 0x15e
mi_retrans = 0x5
:
:
-
-
nfs_mnt
- 全ての NFS-mounted vfs 構造体のセットに対して反復適用します。
> ::walk nfs_vfs |::print vfs_t
{
vfs_next = 0x600127cea80
vfs_prev = 0x60013942100
vfs_op = vfssw+0x3b8
vfs_vnodecovered = 0x60015e4d640
vfs_flag = 0x2000
vfs_bsize = 0x2000
vfs_fstype = 0x7
vfs_fsid = {
val = [ 0x5ec0001, 0x7 ]
}
vfs_data = 0x60017a36680
vfs_dev = 0x17b00000001
vfs_bcount = 0
vfs_list = zfs_ace_fuid_get_mask
vfs_hash = 0
vfs_reflock = {
_opaque = [ 0, zfs_ace_fuid_set_flags ]
}
vfs_count = 0x10
vfs_mntopts = {
mo_count = 0x11
mo_list = 0x60015db64c0
}
vfs_resource = 0x60017b245e0
vfs_mntpt = 0x60017abefb0
vfs_mtime = 2012 May 7 08:20:23
vfs_implp = 0x60017a9c040
vfs_zone = zone0
vfs_zone_next = 0x600127cea80
vfs_zone_prev = 0x60013942100
}
-
nfs_mnt
- 全ての NFS-mounted vfs 構造体のセットに対して反復適用します。
> ::walk nfs_vfs |::print vfs_t
{
vfs_next = 0x600127cea80
vfs_prev = 0x60013942100
vfs_op = vfssw+0x3b8
vfs_vnodecovered = 0x60015e4d640
vfs_flag = 0x2000
vfs_bsize = 0x2000
vfs_fstype = 0x7
vfs_fsid = {
val = [ 0x5ec0001, 0x7 ]
}
vfs_data = 0x60017a36680
vfs_dev = 0x17b00000001
vfs_bcount = 0
vfs_list = zfs_ace_fuid_get_mask
vfs_hash = 0
vfs_reflock = {
_opaque = [ 0, zfs_ace_fuid_set_flags ]
}
vfs_count = 0x10
vfs_mntopts = {
mo_count = 0x11
mo_list = 0x60015db64c0
}
vfs_resource = 0x60017b245e0
vfs_mntpt = 0x60017abefb0
vfs_mtime = 2012 May 7 08:20:23
vfs_implp = 0x60017a9c040
vfs_zone = zone0
vfs_zone_next = 0x600127cea80
vfs_zone_prev = 0x60013942100
}
0 件のコメント:
コメントを投稿