{"id":10,"date":"2010-02-09T14:26:13","date_gmt":"2010-02-09T14:26:13","guid":{"rendered":"http:\/\/www.genuinewebhosting.net\/linuxguru\/tutorial\/?p=10"},"modified":"2025-05-23T17:44:16","modified_gmt":"2025-05-23T17:44:16","slug":"file-system-management","status":"publish","type":"post","link":"http:\/\/shijuvarghese.com\/?p=10","title":{"rendered":"File System Management"},"content":{"rendered":"<p><span style=\"font-family: verdana; font-size: x-small;\">This page gives basic information about Redhat Linux file system management.<\/span><\/p>\n<p><span style=\"font-family: verdana; font-size: x-small;\"><strong>Disk Druid:<\/strong> The only tool used for partitioning management at the time of installation<\/span><\/p>\n<p><span style=\"font-family: verdana; font-size: x-small;\">Partitioning management utilities available after installation: <\/span><\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>fdisk<\/li>\n<li>parted<\/li>\n<li>sfdisk<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: verdana; font-size: x-small;\">Total partitions allowed is 63. From the fifth, it will be extended partition.<\/span><\/p>\n<p>A limitation of fdisk is that it will recognize only up to 16 partitions. But we can apply size in MB or even GB.<\/p>\n<p>In &#8220;parted&#8221; tool we can specify size only in cylindrical units.<\/p>\n<p><strong># fdisk -l<\/strong> : Displays the number of devices and partitions.<\/p>\n<p><strong># fdisk \/dev\/sda<\/strong> : To create a new partition in sda<\/p>\n<p>&nbsp;<\/p>\n<ul>\n<li>n = new partition<\/li>\n<li>p = Primary partition<\/li>\n<li>Leave starting block as default<\/li>\n<li>To create a 5 MB partition, use the value +500M<\/li>\n<li>w = save the partition<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-family: verdana; font-size: x-small;\"><br \/>\nThe partition will be identified only after rebooting the system.<\/span><\/p>\n<p><span style=\"font-family: verdana; font-size: x-small;\"><strong># partprobe<\/strong> : This is to inform kernal about the new partition without rebooting the system.<\/span><\/p>\n<p>The command <em>mkfs<\/em> is used to format a disk<\/p>\n<p><strong>File Systems:<\/strong><\/p>\n<table border=\"0\" cellspacing=\"3\">\n<tbody>\n<tr>\n<td width=\"200\"><span style=\"font-family: verdana; font-size: x-small;\">RHL<\/span><\/td>\n<td><span style=\"font-family: verdana; font-size: x-small;\">ext3 (up to 4 TB)<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-family: verdana; font-size: x-small;\">RHL<\/span><\/td>\n<td><span style=\"font-family: verdana; font-size: x-small;\">ext2<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-family: verdana; font-size: x-small;\">Other<\/span><\/td>\n<td><span style=\"font-family: verdana; font-size: x-small;\">reiscnfs<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-family: verdana; font-size: x-small;\">SGA<\/span><\/td>\n<td><span style=\"font-family: verdana; font-size: x-small;\">xfs<\/span><\/td>\n<\/tr>\n<tr>\n<td><span style=\"font-family: verdana; font-size: x-small;\">IBM<\/span><\/td>\n<td><span style=\"font-family: verdana; font-size: x-small;\">ffs<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>The feature &#8220;journaling&#8221; is supported by ext3<\/p>\n<p><strong># mkfs.ext3 \/dev\/sda9<\/strong> : Command to format sda9 with ext3 file system<\/p>\n<p><strong># df -h <\/strong> : Free space in every mounted file system will be displayed<\/p>\n<p>Once formatted the partition could be mounted using the command<br \/>\n<strong># mkdir \/temp<\/strong><br \/>\n<strong># mount \/dev\/sda9 \/temp<\/strong><\/p>\n<p>This is only a temporary mounting. For a permanent setup it had to be done using fstab.<\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"mh-excerpt\"><p>This page gives basic information about Redhat Linux file system management. Disk Druid: The only tool used for partitioning management at the time of installation <a class=\"mh-excerpt-more\" href=\"http:\/\/shijuvarghese.com\/?p=10\" title=\"File System Management\">[&#8230;]<\/a><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=10"}],"version-history":[{"count":5,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":699,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=\/wp\/v2\/posts\/10\/revisions\/699"}],"wp:attachment":[{"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/shijuvarghese.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}