Resizing AWS Linux image volume

More Less
2 min readFeb 27, 2018

Modify volume size inside AWS console first.

then log into your command line environment of your virtual machine.

  1. If you are unsure of which file system you are using, you can use the file -s command to list the file system data for a device. The following example shows a Linux ext4 file system and an SGI XFS file system.
[ec2-user ~]$ sudo file -s /dev/xvd*
/dev/xvda1: Linux rev 1.0 ext4 filesystem data ...
/dev/xvdf: SGI XFS filesystem data ...

--

--

More Less

自由撰稿人,时评人,平等公义追求者