Solaris11.4 ファイルシステムの管理の使い方のサンプル

環境
Oracle Solaris11.4

1.ボリュームグループ(ZFSプール)の構成表示

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
root@arkhost:~# zpool status
pool: rpool
state: ONLINE
scan: none requested
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c2t0d0 ONLINE 0 0 0
errors: No known data errors
root@arkhost:~# zpool status pool: rpool state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c2t0d0 ONLINE 0 0 0 errors: No known data errors
root@arkhost:~# zpool status
  pool: rpool
 state: ONLINE
  scan: none requested
config:

        NAME      STATE      READ WRITE CKSUM
        rpool     ONLINE        0     0     0
          c2t0d0  ONLINE        0     0     0

errors: No known data errors

2. ボリュームグループ(ZFSプール)の一覧表示

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
root@arkhost:~# zpool list
NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT
rpool 15.6G 9.02G 6.61G 57% 1.00x ONLINE -
root@arkhost:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP HEALTH ALTROOT rpool 15.6G 9.02G 6.61G 57% 1.00x ONLINE -
root@arkhost:~# zpool list
NAME    SIZE  ALLOC   FREE  CAP  DEDUP  HEALTH  ALTROOT
rpool  15.6G  9.02G  6.61G  57%  1.00x  ONLINE  -

3.論理ボリューム(ZFSデータセット)の一覧表示

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
root@arkhost:~# zfs list
NAME USED AVAIL REFER MOUNTPOINT
rpool 9.02G 6.36G 4.33M /rpool
rpool/ROOT 6.98G 6.36G 31K none
rpool/ROOT/solaris 6.98G 6.36G 5.35G /
rpool/ROOT/solaris/var 1.50G 6.36G 1.29G /var
rpool/VARSHARE 34.3M 6.36G 2.82M /var/share
rpool/VARSHARE/kvol 27.7M 6.36G 31K /var/share/kvol
rpool/VARSHARE/kvol/dump_summary 1.22M 6.36G 1.02M -
rpool/VARSHARE/kvol/ereports 10.2M 6.36G 10.0M -
root@arkhost:~# zfs list NAME USED AVAIL REFER MOUNTPOINT rpool 9.02G 6.36G 4.33M /rpool rpool/ROOT 6.98G 6.36G 31K none rpool/ROOT/solaris 6.98G 6.36G 5.35G / rpool/ROOT/solaris/var 1.50G 6.36G 1.29G /var rpool/VARSHARE 34.3M 6.36G 2.82M /var/share rpool/VARSHARE/kvol 27.7M 6.36G 31K /var/share/kvol rpool/VARSHARE/kvol/dump_summary 1.22M 6.36G 1.02M - rpool/VARSHARE/kvol/ereports 10.2M 6.36G 10.0M - 略
root@arkhost:~# zfs list
NAME                               USED  AVAIL  REFER  MOUNTPOINT
rpool                             9.02G  6.36G  4.33M  /rpool
rpool/ROOT                        6.98G  6.36G    31K  none
rpool/ROOT/solaris                6.98G  6.36G  5.35G  /
rpool/ROOT/solaris/var            1.50G  6.36G  1.29G  /var
rpool/VARSHARE                    34.3M  6.36G  2.82M  /var/share
rpool/VARSHARE/kvol               27.7M  6.36G    31K  /var/share/kvol
rpool/VARSHARE/kvol/dump_summary  1.22M  6.36G  1.02M  -
rpool/VARSHARE/kvol/ereports      10.2M  6.36G  10.0M  -
略

 

Solaris

Posted by arkgame