extending the root disk in AWS servers
1)
Create snapshot for root disk from AWS console
2)
Create the volume from snapshot
3)
Attach the Volume to server as extra disk ( Note: You can extend the size of
volume at this point if needed )
4)
Mount the volume on server
mount
-t xfs -o nouuid /dev/xvdh2 /mnt
5)
Verify the right disk added
6)
unmount /mnt
6
) parted -a optimal /dev/xvdh
< print >
<
unit GB >
<
resizepart <No> >
<
Size wants to be >
<
print >
<
quit >
7)
Mount the volume on server
mount
-t xfs -o nouuid /dev/xvdh2 /mnt
8)
xfs_growfs /mnt
9)
verify the file system with size (df -Ph )
10)
unmount the file system
11)
Shut down the server
12)
Detach the extended volume & root volume from Instance
13)
Attach the extended volume as root volume to instance
14)
Boot the Instance
15
) Verify the root file system size.
This is exceedingly helpful information, very good work. Thanks for sharing and let me wait for further updates.
ReplyDeleteAWS Training in Chennai
AWS course in Chennai
DevOps Training in Chennai
DevOps Certification in Chennai
Cloud Computing Training in Chennai
Cloud Computing Courses in Chennai
AWS Training in Velachery
AWS Training in Tambaram
AWS course in Chennai