Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
+1 vote
2 views
in AWS by (29.3k points)
EBS volume is created and then attached to one EC2 instance .
After that volume is made one filesystem using mkfs command and then it is mounted onto one directory. Later i was unmounted that filesystem.
How to check EBS volume is formatted  or not previously?

1 Answer

0 votes
by (50.2k points)

To check the file system you can use the below commands that will help you to resolve the issue:

sudo file -s /volume/name
sudo fsck /volume/name
Output:
For more information refer to this AWS Cheat Sheet

Related questions

0 votes
0 answers
Want to get 50% Hike on your Salary?

Learn how we helped 50,000+ professionals like you !

0 votes
1 answer
asked Oct 10, 2019 in Python by Sammy (47.6k points)
0 votes
1 answer

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...