Thursday, July 22, 2021

How to attach bootable XFS filesystem volume to another instance on AWS EC2


How to attach boot XFS filesystem volume to the instance

Create directory called bootDisk on the EC2 instance

sudo mkdir /bootDisk

sudo mount /dev/xvdf1 /bootDisk

Note: here you can replace /dev/xvdf1 with your attached harddisk path, you can find path by command "lsblk"

If volume mount fails then check dmesg | tail, if logs says conflict uuid then use option "nouuid" as below

sudo mount -o rw,nouuid /dev/xvdf1 /bootDisk

Contact Me for any help regarding rails/nodejs/php/mysql

Name

Email *

Message *