2
2

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 5 years have passed since last update.

AWS EBSのルートディスク拡張した際のサイズ拡張のやりかた

Posted at

いつも忘れるのでメモっておく
環境はUbuntu14.04

AWSコンソール上

EBSボリュームの「アクション」⇒「Modify Volume」
指定のサイズに設定

対象インスタンス上

# root
sudo su -

# 認識されてるか確認
lsblk

# 現在のサイズ確認
df -hT

# サイズ拡張
growpart /dev/xvda 1
resize2fs /dev/xvda1

# サイズ確認
df -hT
2
2
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
2
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?