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

Материал из Wiki
Перейти к навигации Перейти к поиску
Строка 21: Строка 21:
=== Изменить точку монтирования ===
=== Изменить точку монтирования ===
<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 ===
<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 ===
<code>systat -v</code>
__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__
__ОБЯЗАТЕЛЬНОЕ_ОГЛАВЛЕНИЕ__
[[Категория:ZFS]]
[[Категория:ZFS]]

Версия 14:28, 29 апреля 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>

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