I am unable to mount more than one EBS volumes in an EC2 instance. I have 3 EBS Volumes which are 'root-volume' leftovers from previously terminated EC2 instances(Named: /dev/xvdf1
, /dev/xvdg1
, /dev/xvde1
). I was successfully able to mount /dev/xvde1
using the following command:
#mount /dev/xvde1 /home/ec2-user/xvde1
But when I repeat this procedure for xvdf1 and xvdg1 I am getting this Error:
ec2-user]# mount -t xfs /dev/xvdf1 /home/ec2-user/xvdf1
**mount: wrong fs type, bad option, bad superblock on /dev/xvdf1,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.**
Supporting Outputs:
1)
ec2-user]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
xvda 202:0 0 8G 0 disk
└─xvda1 202:1 0 8G 0 part /
xvdf 202:80 0 8G 0 disk
└─xvdf1 202:81 0 8G 0 part
xvdg 202:96 0 8G 0 disk
└─xvdg1 202:97 0 8G 0 part
xvde 202:64 0 8G 0 disk
└─xvde1 202:65 0 8G 0 part /home/ec2-user/xvde1* **-->I was able to mount this one successfully.**
ec2-user]# blkid
/dev/xvda1: LABEL="/" UUID="f25f5092-0401-4edb-9fac-c57f3c673803" TYPE="ext4" PARTLABEL="Linux" PARTUUID="893c59db-bd86-4d67-b40f-221bc82c14c8"
/dev/xvdf1: LABEL="/" UUID="f5bd1ae0-85b5-4686-85ff-ed8deb328c92" TYPE="xfs" PARTLABEL="Linux" PARTUUID="870dbb7e-9386-480b-a946-4d0f7ab5c405"
/dev/xvdg1: LABEL="/" UUID="f5bd1ae0-85b5-4686-85ff-ed8deb328c92" TYPE="xfs" PARTLABEL="Linux" PARTUUID="870dbb7e-9386-480b-a946-4d0f7ab5c405"
/dev/xvde1: LABEL="/" UUID="f5bd1ae0-85b5-4686-85ff-ed8deb328c92" TYPE="xfs" PARTLABEL="Linux" PARTUUID="870dbb7e-9386-480b-a946-4d0f7ab5c405"
ec2-user]# file -s /dev/xvdf1
*/dev/xvdf1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)*
ec2-user]# file -s /dev/xvdg1
*/dev/xvdg1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)*
ec2-user]# file -s /dev/xvde1
*/dev/xvde1: SGI XFS filesystem data (blksz 4096, inosz 512, v2 dirs)*
ec2-user]# mkfs -t xfs /dev/xvdf1 //Tried formatting xvdf1
*mkfs.xfs: No such file or directory*