1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

仮想メディア・リポジトリーの仮想光メディアの削除

Posted at

はじめに

VIOS上の仮想メディア・リポジトリーに配置されている仮想光メディアを削除した際の作業メモです。

実施環境

  • VIOS
    • LPAR名: s922vios21
    • OS: VIOS4.1.1.00
    • 仮想メディア・リポジトリー
      • 仮想光メディア: AIX73_03_00_dvd
    • 仮想光デバイス
      • AIX73_03_00_cd0

仮想光デバイス(AIX73_03_00_cd0)に仮想光メディア(AIX73_03_00_dvd)がロードされている状態から作業を開始しました。
仮想メディア・リポジトリーに配置されているAIX73_03_00_dvdを削除しました。

image.png

実施内容

rmvoptコマンドにより、AIX73_03_00_dvdを削除しようとしたところ、AIX73_03_00_dvdがロードされているため、AIX73_03_00_dvdを削除できませんでした。

$ rmvopt -name AIX73_03_00_dvd
Unable to perform operation while the virtual DVD is loaded.

unloadoptコマンドにより、AIX73_03_00_cd0からAIX73_03_00_dvdを削除しました。

$ lsvopt
VTD             Media                                                 Size(mb)
AIX73_03_00_cd0 AIX73_03_00_dvd                                           7953
$
$ unloadopt -release -vtd AIX73_03_00_cd0
$
$ lsvopt
VTD             Media                                                 Size(mb)
AIX73_03_00_cd0 No Media                                                   n/a

rmvoptコマンドにより、AIX73_03_00_dvdを削除しました。

$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
   20480    12444 rootvg                  6104064          6049792

Name                                                  File Size Optical         Access
AIX73_03_00_dvd                                            7953 None            rw
$
$ rmvopt -name AIX73_03_00_dvd
$
$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
   20480    20396 rootvg                  6104064          6049792

補足

image.png

rmvdevコマンドにより、AIX73_03_00_cd0を削除しました。

$ lsdev -dev AIX73_03_00_cd0
name             status      description
AIX73_03_00_cd0  Available   Virtual Target Device - File-backed Optical
$
$ rmvdev -vtd AIX73_03_00_cd0
AIX73_03_00_cd0 deleted
$
$ lsdev -dev AIX73_03_00_cd0
$

image.png

rmrepコマンドにより仮想メディア・リポジトリーを削除しました。

$ lsrep
Size(mb) Free(mb) Parent Pool         Parent Size      Parent Free
   20480    20396 rootvg                  6104064          6049792
$
$ rmrep
Virtual Media Repository Removed
$
$ lsrep
The DVD repository has not been created yet.

以上

1
0
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?