{"id":23317,"date":"2021-03-29T17:45:11","date_gmt":"2021-03-29T21:45:11","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/mount-ebs-volumes-using-ubuntu-command-aws-stuff-root-by-sayed-ahmed\/"},"modified":"2021-03-29T17:45:11","modified_gmt":"2021-03-29T21:45:11","slug":"mount-ebs-volumes-using-ubuntu-command-aws-stuff-root-by-sayed-ahmed","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=23317","title":{"rendered":"Mount EBS Volumes using Ubuntu Command: AWS stuff #Root #By Sayed Ahmed"},"content":{"rendered":"<p><strong>Tried as follows and worked<\/strong><\/p>\n<p>&gt;&gt; sudo fdisk -l<br \/>\nDisk \/dev\/xvdb: &#8230;.<\/p>\n<p>Then format<br \/>\n&gt;&gt; sudo mkfs -t ext4 \/dev\/xvdf<\/p>\n<p>Create mount dir<br \/>\n&gt;&gt;mkdir \/mnt<\/p>\n<p>you can mount now<br \/>\n&gt;&gt;sudo mount \/dev\/xvdb \/mnt<\/p>\n<p>Check if it has been mounted correctly with:<br \/>\n&gt;&gt;mount -l<br \/>\n\/dev\/xvdb on \/mnt type ext4 (rw)<\/p>\n<p>mount automatically &#8211; this will be there &#8211; nothing to do<br \/>\n&gt;&gt;sudo vim  \/etc\/fstab<\/p>\n<p>this will be there &#8211; nothing to do if not add this:<br \/>\n\/dev\/xvdf       \/mnt1   auto    defaults,nobootwait     0       0<\/p>\n<p>BTW by some reason AWS Console shows \/dev\/xvdf as \/dev\/sdf From: http:\/\/sitestree.com\/?p=4450<br \/> Categories:Root, By Sayed Ahmed<br \/>Tags:<br \/> Post Data:2016-11-03 16:49:23<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Tried as follows and worked &gt;&gt; sudo fdisk -l Disk \/dev\/xvdb: &#8230;. Then format &gt;&gt; sudo mkfs -t ext4 \/dev\/xvdf Create mount dir &gt;&gt;mkdir \/mnt you can mount now &gt;&gt;sudo mount \/dev\/xvdb \/mnt Check if it has been mounted correctly with: &gt;&gt;mount -l \/dev\/xvdb on \/mnt type ext4 (rw) mount automatically &#8211; this will be &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=23317\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[1917],"tags":[],"class_list":["post-23317","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":78691,"url":"http:\/\/bangla.sitestree.com\/?p=78691","url_meta":{"origin":23317,"position":0},"title":"Q &amp; A:  Linux: Switch Users, Boot Process, File System","author":"Sayed","date":"June 1, 2026","format":false,"excerpt":"Quiz: Root Access, Boot Process, File Systems, Partitions, and Mounting 1. True\/False The root user is the superuser account and has the highest access rights on a Linux system. Answer: True 2. True\/False It is recommended to stay logged in as root for normal daily work because it is faster.\u2026","rel":"","context":"In &quot;Anything Linux&quot;","block_context":{"text":"Anything Linux","link":"http:\/\/bangla.sitestree.com\/?cat=1976"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":22421,"url":"http:\/\/bangla.sitestree.com\/?p=22421","url_meta":{"origin":23317,"position":1},"title":"Linux Commands Used: AWS or not #Root #By Sayed Ahmed #RHCSA","author":"Author-Check- Article-or-Video","date":"March 14, 2021","format":false,"excerpt":"Remove MySQL Completely: sudo apt-get purge mysql-server mysql-client mysql-common mysql-server-core-5.5 mysql-client-core-5.5 sudo rm -rf \/etc\/mysql \/var\/lib\/mysql sudo apt-get autoremove sudo apt-get autoclean Did not try but might work as well [ sudo apt-get remove --purge mysql-server mysql-client mysql-common sudo apt-get autoremove sudo apt-get autoclean sudo rm -rf \/var\/lib\/mysql sudo rm\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":21831,"url":"http:\/\/bangla.sitestree.com\/?p=21831","url_meta":{"origin":23317,"position":2},"title":"Some Ubuntu Linux Commands used in AWS platform #Unix\/Linux #RHCSA","author":"Author-Check- Article-or-Video","date":"March 7, 2021","format":false,"excerpt":"Some Ubuntu Linux Commands used in AWS platform Some might be run by the parent commands This is kinda cleaned up from .bash_history (removed repeating and sensitive commands), still not perfectly cleaned up - so you will see lots of ls, cd, dir or similar \u00a0 sudo apt-get update sudo\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":14038,"url":"http:\/\/bangla.sitestree.com\/?p=14038","url_meta":{"origin":23317,"position":3},"title":"On File Systems and Linux Commands (Redhat\/CentOs\/Fedora)","author":"Sayed","date":"December 26, 2017","format":false,"excerpt":"On File Systems and Linux Commands (Redhat\/CentOs\/Fedora) echo \"Dec 26th, 2017, Sayed Ahmed, Justetc Technologies\" On file Systems - Target Audience: Technical People. Software Developers and System\/Network Administrators or DevOps\u00a0 (or wanna be) \/ and \/boot are the default Linux file systems you can also configure \/home, \/opt, \/var, \/tmp,\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":23321,"url":"http:\/\/bangla.sitestree.com\/?p=23321","url_meta":{"origin":23317,"position":4},"title":"On Data Transfer: AWS to Local to AWS. Between EC2 Instances #Root #By Sayed Ahmed","author":"Author-Check- Article-or-Video","date":"March 29, 2021","format":false,"excerpt":"Sure, used some of the approaches Share Data among Multiple EC2 instances https:\/\/objectivefs.com\/howto\/how-to-share-files-between-ec2-instances scp and rsync commands also works for transferring files across EC2 instances AWS Import\/Export Snowball https:\/\/aws.amazon.com\/importexport\/ Related: Managing AWS, Sure, Used this. http:\/\/www.skeddly.com\/ https:\/\/app.skeddly.com\/Credentials\/Create?type=amazon-iam-role Related to Setting up an NFS server for Sharing Files across EC2 instances\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":9652,"url":"http:\/\/bangla.sitestree.com\/?p=9652","url_meta":{"origin":23317,"position":5},"title":"\u0987\u0989\u09a8\u09bf\u0995\u09cd\u09b8\u0983 \u09ab\u09be\u0987\u09b2 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u09ac\u09c7\u09b8\u09bf\u0995 (Unix &#8211; File System Basics)","author":"Author-Check- Article-or-Video","date":"July 9, 2015","format":false,"excerpt":"\u09b0\u09bf\u09a6\u0993\u09df\u09be\u09a8 \u09ac\u09bf\u09a8 \u09b6\u09be\u09ae\u09c0\u09ae \u00a0 \u09ab\u09be\u0987\u09b2 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u09b9\u09b2 \u09aa\u09be\u09b0\u09cd\u099f\u09bf\u09b6\u09a8 \u09ac\u09be \u09a1\u09bf\u09b8\u09cd\u0995\u09c7 \u09ab\u09be\u0987\u09b2\u09c7\u09b0 \u09b2\u099c\u09bf\u0995\u09be\u09b2 \u0995\u09be\u09b2\u09c7\u0995\u09b6\u09a8\u0964 \u09aa\u09be\u09b0\u09cd\u099f\u09bf\u09b6\u09a8 \u0987\u09a8\u09ab\u09b0\u09ae\u09c7\u09b6\u09a8\u09c7\u09b0 \u0995\u09a8\u09cd\u099f\u09c7\u0987\u09a8\u09be\u09b0 \u09b9\u09bf\u09b8\u09c7\u09ac\u09c7 \u0995\u09be\u099c \u0995\u09b0\u09c7 \u098f\u09ac\u0982 \u09aa\u09cd\u09b0\u09df\u09cb\u099c\u09a8\u09c7 \u09aa\u09c1\u09b0\u09cb \u09b9\u09be\u09b0\u09cd\u09a1\u09a1\u09bf\u09b8\u09cd\u0995 \u09b8\u09cd\u09aa\u09be\u09a8 \u0995\u09b0\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u0964 \u09b9\u09be\u09b0\u09cd\u09a1\u09a1\u09cd\u09b0\u09be\u0987\u09ad\u09c7 \u0985\u09a8\u09c7\u0995\u0997\u09c1\u09b2\u09cb \u09aa\u09be\u09b0\u09cd\u099f\u09bf\u09b6\u09a8 \u09a5\u09be\u0995\u09a4\u09c7 \u09aa\u09be\u09b0\u09c7 \u09af\u09c7\u0997\u09c1\u09b2\u09cb \u09ae\u09c2\u09b2\u09a4 \u098f\u0995\u099f\u09bf\u09ae\u09be\u09a4\u09cd\u09b0 \u09ab\u09be\u0987\u09b2 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u09ab\u09b2\u09cb \u0995\u09b0\u09ac\u09c7\u0964 \u09aa\u09cd\u09b0\u09a4\u09bf\u099f\u09be \u09aa\u09be\u09b0\u09cd\u099f\u09bf\u09b6\u09a8\u09c7\u09b0 \u099c\u09a8\u09cd\u09af \u098f\u0995\u099f\u09bf\u09ae\u09be\u09a4\u09cd\u09b0 \u09ab\u09be\u0987\u09b2 \u09b8\u09bf\u09b8\u09cd\u099f\u09c7\u09ae \u098f\u099f\u09bf\u09b0 \u09b8\u09c1\u09b7\u09cd\u09a0\u09c1 \u09ac\u09cd\u09af\u09ac\u09b8\u09cd\u09a5\u09be\u09aa\u09a8\u09be \u0993 \u09b0\u0995\u09cd\u09b7\u09a3\u09be\u09ac\u09c7\u0995\u09cd\u09b7\u09a3\u2026","rel":"","context":"In &quot;\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix&quot;","block_context":{"text":"\u09b2\u09bf\u09a8\u09be\u0995\u09cd\u09b8 \u098f\u09ac\u0982 \u0989\u09a8\u09bf\u0995\u09cd\u09b8 \u0964 Linux and Unix","link":"http:\/\/bangla.sitestree.com\/?cat=1231"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/23317","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=23317"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/23317\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=23317"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=23317"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=23317"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}