Go to main content

手册页部分 8:系统管理命令

退出打印视图

更新时间: 2022年7月27日 星期三
 
 

shadowadm (8)

名称

shadowadm - Control shadow migrations

用法概要

/usr/sbin/shadowadm list [[-p] -o field[,...]]
/usr/sbin/shadowadm stop /path
/usr/sbin/shadowadm start /path
/usr/sbin/shadowadm cancel /path

描述

The shadowadm command allows an administrator to control background migrations being performed by shadowd. Shadow migration moves data by foreground migration and background migration. Foreground migration occurs when applications and users directly access the migration target. Background migration is done by shadowd accessing the migration target.

子命令

The shadowadm command has the following subcommands:

list

Provides a list of in-progress or stopped migrations.

–o field[,...]

A case-insensitive, comma-separated list of output fields to display. The field name must be one of the fields listed below, or a special value all, to display all fields. For each migration target, the following fields can be displayed:

path

The path where the migration target is mounted.

name

The dataset name of the migration target.

state

The status of the target migration.

–p

Display using a stable machine-parseable format.

stop

Stops background migration for the mount-path.

start

Resumes stopped background migration for the mount-path.

cancel

Cancels both foreground and background migration for the mount-path. Migration cannot be resumed.

A user must have the solaris.admin.shadow-migration.modify authorization to use this command.

属性

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/file-system/shadow-migration
Interface Stability
Committed

另请参见

attributes(7), shadowd(8), shadowstat(8), zfs(8)