{"id":2977,"date":"2012-09-05T13:45:57","date_gmt":"2012-09-05T13:45:57","guid":{"rendered":"http:\/\/www.theperfectarts.com\/?p=2977"},"modified":"2014-11-21T06:55:57","modified_gmt":"2014-11-21T06:55:57","slug":"mount-command","status":"publish","type":"post","link":"https:\/\/www.ktchost.com\/blog\/mount-command\/","title":{"rendered":"Mount command"},"content":{"rendered":"<p>The mount command is used to mount the file system in\u00a0sequence\u00a0under the server main root \/ partition as per partition required by the clients like plain server mounting all the partition under the \/ root partition but cPanel\/Plesk panel required the following file system structure.<\/p>\n<p>For cPanel control panel<\/p>\n<blockquote><p><strong>\/\u00a0<\/strong><br \/>\n<strong>\/var<\/strong><br \/>\n<strong>\/usr\u00a0<\/strong><br \/>\n<strong>swap\u00a0<\/strong><br \/>\n<strong>\/tmp\u00a0<\/strong><br \/>\n<strong>\/home<\/strong><\/p><\/blockquote>\n<p>For Plesk panel<\/p>\n<blockquote><p><strong>\/\u00a0<\/strong><br \/>\n<strong>\/\u00a0usr<\/strong><br \/>\n<strong>swap\u00a0<\/strong><br \/>\n<strong>\/tmp<\/strong><br \/>\n<strong>\/var<\/strong><\/p><\/blockquote>\n<p>To mount the above partiton all the label name and file type entries are stored under the file \/etc\/fstab, so that when ever server rebooted file system will be mounted as per entry present under the \/etc\/fstab file.<\/p>\n<p>Some time while maintaining the server, we have to mount the file system manually at that time following options will be used.<\/p>\n<p><strong>mount -t type device dir<\/strong><\/p>\n<p>In above command the <strong>-t<\/strong> option is used for the file system type to mount the directory and some time if you don&#8217;t want to give users to write any files present under the specific partition like backup etc than you can refer the following command to mount the file system in read only mode, so that no one can make the changes.<\/p>\n<p><strong>mount -r type device dir<\/strong><\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>The mount command is used to mount the file system in\u00a0sequence\u00a0under the server main root \/ partition as per partition required by the clients like <a class=\"mh-excerpt-more\" href=\"https:\/\/www.ktchost.com\/blog\/mount-command\/\" title=\"Mount command\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2977","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2977"}],"collection":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/comments?post=2977"}],"version-history":[{"count":7,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2977\/revisions"}],"predecessor-version":[{"id":3774,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/posts\/2977\/revisions\/3774"}],"wp:attachment":[{"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/media?parent=2977"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/categories?post=2977"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.ktchost.com\/blog\/wp-json\/wp\/v2\/tags?post=2977"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}