ZFS. Основные команды: различия между версиями

Материал из Wiki
Перейти к навигации Перейти к поиску
Строка 22: Строка 22:
<code>zfs set mountpoint=/mnt/<pool-name> <pool-name></code>
<code>zfs set mountpoint=/mnt/<pool-name> <pool-name></code>


=== To see what is actually moved from/to the disks ===
=== Disk performance ===
To see what is actually moved from/to the disks
 
<code>zpool iostat -v 3</code>
<code>zpool iostat -v 3</code>


=== To see how much busy-time the disks have, as perceived by the OS, and how big the requests tend to be ===
To see how much busy-time the disks have, as perceived by the OS, and how big the requests tend to be
 
<code>systat -v</code>
<code>systat -v</code>
Other


<code>gstat -daop</code>
<code>gstat -daop</code>
<code>iostat -x</code>


__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__
__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__
[[Категория:ZFS]]
[[Категория:ZFS]]

Версия 11:32, 1 мая 2024

Найти и импортировать все разделы

zpool import -a

Монтировать все найденные разделы

zfs mount -a

Статус подключенных разделов (Dataset)

zfs list

zfs list -o volsize,used,logicalused,available,quota,name,sharenfs,mountpoint

Статус подключенных пулов

zpool list

Статус монтирования разделов

zfs get mounted

Статус пулов

zpool status

Изменить точку монтирования

zfs set mountpoint=/mnt/<pool-name> <pool-name>

Disk performance

To see what is actually moved from/to the disks

zpool iostat -v 3

To see how much busy-time the disks have, as perceived by the OS, and how big the requests tend to be

systat -v

Other

gstat -daop

iostat -x