Am getting the following error while trying to mount a ec2 volume
[ec2-user@ip-172-XX-XX-XX-XX ~]$ sudo mount /dev/xvdf /mnt
mount: /dev/xvdf is write-protected, mounting read-only
mount: unknown filesystem type '(null)'
Also, tried to mount the part as below
[ec2-user@ip-172-XX-XX-XX ~]$ sudo mount /dev/xvdf2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/xvdf2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so.
Posting the solution that worked for me as I did not find this else where.....
First checked the dmesg to see the actual error
and found the error with duplicate UUID
so to fix this use the nouuid option