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?

More than 1 year has passed since last update.

インスタンスのVolume(HDD)サイズを拡張したいときの手順
実際に試した際にはインスタンスを停止して実施しましたが、動かしたままでもいけるかも

  • volumeリストで対象のIDを確認する
openstack volume list
  • ステータスをavailableに設定
openstack volume set --state available [volume id]
  • ボリュームのサイズを変更する
openstack volume set --size 40 [volume id]
  • サイズとステータスを再確認(ステータスはin-useに戻る)
openstack volume show [volume id]
  • その後、OS上でpartedresize2fsコマンドなどを使ってファイルシステムを拡張する
    LVMの場合はpvresizeなども必要
1
0
0

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?