Listing Information About All Storage Pools or a You can use the zpool list command to display basic Viewing I/O Statistics for ZFS Storage Poolsĭetermining the Health Status of ZFS Storage Pools All three types of storage pool information are covered in this section.ĭisplaying Information About ZFS Storage Pools Into three categories: basic usage information, I/O statistics, and health The information available generally falls The zpool list command provides several ways to request That can be used for diagnostic purposes. Use the -i option to display internal event information 14:13:15 zpool create tank mirror c1t2d0 c1t3d0 The user name, the host name, and the zone in which the operation was performed. Use the -l option to display a long format that includes 08:10:54 zfs snapshot zfs clone tank/ws01bugfix To identify the command history of a specific storage pool, use syntax The size of the log or changing the location of the log is unnecessary. The log requires no administration, which means that tuning Of the pool size, where the size is determined The minimum sizeįor smaller pools, the maximum size is capped at 1 percent The log is saved persistently on disk, which means that the The features of the history log are as follows: You can use similar output on your system to identify the actual ZFSĬommands that were executed to troubleshoot an error condition. 11:11:10 zpool set bootfs=rpool/ROOT/zfsBE rpool 10:19:04 zfs create -o mountpoint=/export rpool/export 10:19:02 zfs set mountpoint=/ rpool/ROOT/zfsBE 10:19:02 zpool set bootfs=rpool/ROOT/zfsBE rpool 10:19:01 zfs create -o canmount=noauto rpool/ROOT/zfsBE 10:18:56 zfs create -o mountpoint=legacy rpool/ROOT 10:18:55 zfs set mountpoint=/rpool rpool 10:18:54 zpool create -f -o failmode=continue -R /a -m legacy -oĬachefile=/tmp/root/etc/zfs/zpool.cache rpool mirror c1t0d0s0 c1t1d0s0 This information canīe displayed by using the zpool history command.įor example, the following syntax displays the command output for the ZFS automatically logs successful zfs and zpool commands that modify pool state information. For example, to request a list of all pool names on the system,ĭisplaying ZFS Storage Pool Command History To aid programmatic uses of the command, the -H option canīe used to suppress the column headings and separate fields by tabs, rather The default output for the zpool list command isĭesigned for readability and is not easy to use as part of a shell script. The column names correspond to the properties that are listed in Listing Information About All Storage Pools or a Specific Pool. This option provides custom reports or a quick way to list pertinent information.įor example, to list only the name and size of each pool, you use the following Specific statistics can be requested by using the -o option. You can also gather statistics for a specific pool by specifying the The alternate root of the pool, if one exists.įor more information about alternate root pools, see Using ZFS Alternate Root Pools. The amount of disk space used, expressed as a percentage ofįor more information about pool health, see Determining the Health Status of ZFS Storage Pools. The amount of unallocated space in the pool. Note that this amount differs from the amount of disk spaceįor more information about determining available file system space, The amount of physical space allocated to all datasets and The total size of the pool, equal to the sum of the sizes This command output displays the following information: NAME The following information for all pools on the system: With no arguments, the zpool listcommand displays Displaying Information About ZFS Storage Pools
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |