4.18. storagedomain
stuoredomain リソースタイプは、Red Hat Virtualization 環境のストレージドメインリソースをすべてグループ化します。
表4.44 ストレージドメインのパラメーター
| 名前 | タイプ | 説明 | 必須 | ユーザーが作成可能 | ユーザーが更新可能 |
|---|---|---|---|---|---|
--name
|
文字列
|
ストレージドメイン名
|
いいえ
|
はい
|
はい
|
--format
|
ブール値
| v1、v2、v3 など、データセンターのメタデータ形式
|
はい
|
はい
|
いいえ
|
--host-id|name
|
文字列
|
ストレージドメインの初期化を行うホストへの参照。このホストの唯一の制約は、指定した物理ストレージにアクセス可能である必要があることです。
|
はい
|
はい
|
いいえ
|
--storage-address
|
文字列
|
ストレジデバイスの IP アドレスまたはホスト名
|
はい
|
はい
|
いいえ
|
--storage-logical_unit
|
コレクション
|
ストレージデバイスの論理ユニット情報
|
下記参照
|
はい
|
いいえ
|
--storage-mount_options
|
文字列
|
ストレージドメインのマウントオプション
|
下記参照
|
はい
|
いいえ
|
--storage-override_luns
|
ブール値
|
論理ユニット番号をオーバーライドするかどうかを定義します。このステータスは
true または false のいずれかです。
|
下記参照
|
はい
|
いいえ
|
--storage-path
|
文字列
|
ストレージドメインを使用するストレージデバイスのパス
|
下記参照
|
はい
|
いいえ
|
--storage-type
|
文字列
| iscsi、fcp、nfs、glusterfs、localfs または posixfs など、データセンターのストレージタイプ
|
はい
|
はい
|
いいえ
|
--storage-vfs_type
|
文字列
|
ストレージドメインのファイルシステムタイプを定義します。
|
下記参照
|
はい
|
いいえ
|
--type
|
文字列
| data、iso、export などのストレージドメインタイプ
|
はい
|
はい
|
いいえ
|
--storage-logical_unit パラメーターは、以下の表にあるすべてのサブパラメーターを必要とするコレクションです。
表4.45 storage-logical_unit パラメーター
| 名前 | タイプ | 説明 |
|---|---|---|
logical_unit.address
|
文字列
|
ストレージデバイスを格納しているサーバーのアドレス
|
logical_unit.port
|
整数
|
サーバーのポート番号
|
logical_unit.target
|
文字列
|
ストレージデバイスのターゲット IQN
|
logical_unit.username
|
文字列
|
ターゲットにログインするための CHAP ユーザー名
|
logical_unit.password
|
文字列
|
ターゲットにログインするための CHAP パスワード
|
logical_unit.serial
|
文字列
|
ターゲットのシリアル ID
|
logical_unit.vendor_id
|
文字列
|
ターゲットのベンダー名
|
logical_unit.product_id
|
文字列
|
ターゲットの製品コード
|
logical_unit.lun_mapping
|
整数
|
ターゲットの論理ユニット番号デバイスマッピング
|
logical_unit.portal
|
文字列
|
論理ユニットポータル
|
logical_unit.paths
|
整数
|
論理ユニットパス
|
logical_unit.id
|
文字列
|
論理ユニット ID への参照
|
storage-type に応じて以下のパラメーターを使用します。
表4.46 ストレージタイプのパラメーター
| タイプ | パラメーター |
|---|---|
nfs
| --storage-address, --storage-path
|
iscsi または fcp
| --storage-address, --storage-logical_unit, --storage-override_luns
|
glusterfs
| --storage-address, --storage-path, --storage-vfs_type
|
local
| --storage-path
|
posixfs
| --storage-path, --storage-vfs_type, --storage-address, --storage-mount_options
|
storagedomain オプションをまとめています。
表4.47 その他のコマンドオプション
| オプション | 説明 |
|---|---|
--datacenter-identifier | サブリソースとして datacenter にストレージドメインを追加します。 |
例4.36 新規ストレージドメインの作成
[RHEVM shell (connected)]# add storagedomain --name DataStorage --datacenter-name Default -type data
例4.37 Gluster ストレージドメインの追加
[RHEVM shell (connected)]# add storagedomain --type data --storage-type glusterfs --name RHS_01 --storage-address 192.0.2.0 --storage-path Vol_ONE --storage-vfs_type glusterfs
例4.38 ストレージドメインの更新
[RHEVM shell (connected)]# update storagedomain DataStorage --name DataStorageOld
例4.39 ストレージドメインの削除
[RHEVM shell (connected)]# remove storagedomain DataStorage
表4.48 ストレージドメインのアクション
| アクション | 説明 |
|---|---|
activate | データセンター上でストレージドメインをアクティブ化します。 |
deactivate | データセンター上でストレージドメインを非アクティブ化します。 |

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.