Skip to content

Instantly share code, notes, and snippets.

@kaioken
Created December 16, 2017 17:05
Show Gist options
  • Select an option

  • Save kaioken/dfde0deed4a119a714fa96d5b3e19191 to your computer and use it in GitHub Desktop.

Select an option

Save kaioken/dfde0deed4a119a714fa96d5b3e19191 to your computer and use it in GitHub Desktop.
AWS Centos 7 - Mount new volumn

make sure the new volumen is there

root / # lsblk
NAME    MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
xvda    202:0    0  250G  0 disk
└─xvda1 202:1    0  250G  0 part /
xvdf    202:80   0   16T  0 disk /vol-azure *here

#format it

mkfs -t ext4 /dev/xvdf

create mount folder

mkdir /folder

now mount it

mount /dev/xvdf /folder/

#errors and found the error with duplicate UUID [ec2-user@ip-172-XX-XX-XX ~]$ sudo mount -o nouuid /dev/xvdf2 /mnt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment