{"id":5790,"date":"2017-06-05T10:05:51","date_gmt":"2017-06-05T10:05:51","guid":{"rendered":"https:\/\/cpanelplesk.com\/wp62\/?p=5790"},"modified":"2021-02-01T06:31:50","modified_gmt":"2021-02-01T06:31:50","slug":"mount-unmount-filesystem-linux","status":"publish","type":"post","link":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/","title":{"rendered":"How to Mount and Unmount Filesystem in Linux"},"content":{"rendered":"<p>Mount is a point to access a filesystem in Linux. You can mount a filesystem on any directory and access material by simply entering to that directory. In Linux terms, these directories are known as mount points. This guide will help you to mount and unmount filesystem in Linux system.<!--more--><\/p>\n<h3>1. Use mount Command<\/h3>\n<p>Mostly, each Linux\/Unix operating systems provides mount command. This command is used to mount any file system on any directory. After that you can access the filesystem content.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>mount [-t fstype] filesystem mountpoint<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p>For example, you have added a disk \/dev\/sda on your system. Now you want to mount this on \/data directory. You can use the following command to mount it.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>mount \/dev\/sda \/data<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p>This command will automatically detects the file system on disk. But in some cases, you have to specify the file system type with command.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>mount -t ext4 \/dev\/sda \/data<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<h3>2. Unmount Filesystem<\/h3>\n<p>Use umount command to unmount any mounted filesystem on your system. Run umount command with disk name or mount point name to unmount currently mounted disk.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>umount \/dev\/sda\r\numount \/data<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<h3>3. Mount Disk on System Boot<\/h3>\n<p>You have to mount disk on system boot. So that partitions will be available on system boot. \/etc\/fstab file is used to mount disks. You need to edit \/etc\/fstab and add new entry to mount the partitions automatically.<\/p>\n<p>Edit \/etc\/fstab and append below line at end of file. Change \/dev\/sda with your disk name.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>\/dev\/sda \/data ext4 defaults 0 0<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p>Now run mount -a command to immediate mount all disk defined in \/etc\/fstab file.<\/p>\n<div class=\"space1\"><\/div>\n<div class=\"command-sh\">\n<pre>mount -a<\/pre>\n<\/div>\n<div class=\"space1\"><\/div>\n<p>That\u2019s all we have to do, Previously I have write about How To-Install AjaXplorer ( File Sharing Software ) On Linux. Please check and give your opinion below if you experience any issues or to discuss your ideas and experiences.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Mount is a point to access a filesystem in Linux. You can mount a filesystem on any directory and access material by simply entering to that directory. In Linux terms, these directories are known as mount points. This guide will help you to mount and unmount filesystem in Linux system. [&#8230;]<\/p>\n<p><a class=\"understrap-read-more-link\" href=\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\">Continue Reading&#8230;<\/a><\/p>\n","protected":false},"author":2,"featured_media":5794,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,14],"tags":[],"class_list":["post-5790","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel","category-linux"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v24.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Mount and Unmount Filesystem in Linux - cPanel Plesk<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Mount and Unmount Filesystem in Linux - cPanel Plesk\" \/>\n<meta name=\"twitter:description\" content=\"Mount is a point to access a filesystem in Linux. You can mount a filesystem on any directory and access material by simply entering to that directory. In Linux terms, these directories are known as mount points. This guide will help you to mount and unmount filesystem in Linux system. [...]Continue Reading...\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Seemab Saleem\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\"},\"author\":{\"name\":\"Seemab Saleem\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\"},\"headline\":\"How to Mount and Unmount Filesystem in Linux\",\"datePublished\":\"2017-06-05T10:05:51+00:00\",\"dateModified\":\"2021-02-01T06:31:50+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\"},\"wordCount\":289,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif\",\"articleSection\":[\"Cpanel\",\"Linux\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\",\"name\":\"How to Mount and Unmount Filesystem in Linux - cPanel Plesk\",\"isPartOf\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif\",\"datePublished\":\"2017-06-05T10:05:51+00:00\",\"dateModified\":\"2021-02-01T06:31:50+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif\",\"width\":300,\"height\":300},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/cpanelplesk.com\/wp62\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Mount and Unmount Filesystem in Linux\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#website\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/\",\"name\":\"cPanel Plesk\",\"description\":\"Blog on famous hosting control panels\",\"publisher\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13\",\"name\":\"Farooq Omer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"contentUrl\":\"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png\",\"width\":300,\"height\":44,\"caption\":\"Farooq Omer\"},\"logo\":{\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648\",\"name\":\"Seemab Saleem\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g\",\"caption\":\"Seemab Saleem\"},\"description\":\"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!\",\"sameAs\":[\"https:\/\/cpanelplesk.com\/wp62\"],\"url\":\"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Mount and Unmount Filesystem in Linux - cPanel Plesk","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/","twitter_card":"summary_large_image","twitter_title":"How to Mount and Unmount Filesystem in Linux - cPanel Plesk","twitter_description":"Mount is a point to access a filesystem in Linux. You can mount a filesystem on any directory and access material by simply entering to that directory. In Linux terms, these directories are known as mount points. This guide will help you to mount and unmount filesystem in Linux system. [...]Continue Reading...","twitter_image":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif","twitter_misc":{"Written by":"Seemab Saleem","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#article","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/"},"author":{"name":"Seemab Saleem","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648"},"headline":"How to Mount and Unmount Filesystem in Linux","datePublished":"2017-06-05T10:05:51+00:00","dateModified":"2021-02-01T06:31:50+00:00","mainEntityOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/"},"wordCount":289,"commentCount":0,"publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif","articleSection":["Cpanel","Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/","url":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/","name":"How to Mount and Unmount Filesystem in Linux - cPanel Plesk","isPartOf":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#website"},"primaryImageOfPage":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage"},"image":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif","datePublished":"2017-06-05T10:05:51+00:00","dateModified":"2021-02-01T06:31:50+00:00","breadcrumb":{"@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#primaryimage","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2017\/06\/Mount-and-Unmount-Filesystem-in-Linux.gif","width":300,"height":300},{"@type":"BreadcrumbList","@id":"https:\/\/cpanelplesk.com\/wp62\/mount-unmount-filesystem-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/cpanelplesk.com\/wp62\/"},{"@type":"ListItem","position":2,"name":"How to Mount and Unmount Filesystem in Linux"}]},{"@type":"WebSite","@id":"https:\/\/cpanelplesk.com\/wp62\/#website","url":"https:\/\/cpanelplesk.com\/wp62\/","name":"cPanel Plesk","description":"Blog on famous hosting control panels","publisher":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/cpanelplesk.com\/wp62\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/c78ae1cf9451a09592fb9697d69c0c13","name":"Farooq Omer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","contentUrl":"https:\/\/cpanelplesk.com\/wp62\/wp-content\/uploads\/2020\/11\/cpanelplesk.png","width":300,"height":44,"caption":"Farooq Omer"},"logo":{"@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/"}},{"@type":"Person","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/73d573cc7eaaf6625cf0dbd72191a648","name":"Seemab Saleem","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/cpanelplesk.com\/wp62\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/6a87ff2e53b03e6839250e5278a6bd46?s=96&d=mm&r=g","caption":"Seemab Saleem"},"description":"Linux Server Administrator, Web Hosting engineer. I'm dealing with Linux servers since 2014. I started this blog to share the work i love with the world . let me know if you need any assistance. Thanks!!","sameAs":["https:\/\/cpanelplesk.com\/wp62"],"url":"https:\/\/cpanelplesk.com\/wp62\/author\/cmb\/"}]}},"_links":{"self":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5790","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/comments?post=5790"}],"version-history":[{"count":0,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/posts\/5790\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media\/5794"}],"wp:attachment":[{"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/media?parent=5790"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/categories?post=5790"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cpanelplesk.com\/wp62\/wp-json\/wp\/v2\/tags?post=5790"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}