{"id":3464,"date":"2022-12-20T17:08:44","date_gmt":"2022-12-20T20:08:44","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/jfs_mkfs-man8\/"},"modified":"2022-12-20T17:08:44","modified_gmt":"2022-12-20T20:08:44","slug":"jfs_mkfs-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/jfs_mkfs-man8\/","title":{"rendered":"jfs_mkfs (man8)"},"content":{"rendered":"<h1 align=\"center\">jfs_mkfs<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#WARNING\">WARNING<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#EXAMPLES\">EXAMPLES<\/a><br \/> <a href=\"#REPORTING BUGS\">REPORTING BUGS<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jfs_mkfs<\/b> \u2212 create a JFS formatted partition<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jfs_mkfs<\/b> [options] <i>device<\/i> [ blocks ]<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jfs_mkfs<\/b> is used to create (format) a JFS partition. <b>jfs_mkfs<\/b> must be run as root.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><i>device<\/i> is the special file name corresponding to the actual device (e.g. <i>\/dev\/hdb1<\/i>) on which a JFS file system and\/or JFS journal will be created. <i>blocks<\/i> is the number of blocks to be used for the file system. If omitted, <b>jfs_mkfs<\/b> automatically figures the file system size.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The default block size is <b>4096<\/b>.<\/p>\n<h2>WARNING <a name=\"WARNING\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jfs_mkfs<\/b> will destroy all data on the specified device!<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p style=\"margin-top: 1em\"><b>\u2212c<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p style=\"margin-top: 1em\">Check the device for bad blocks before building the file system.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>-j<\/b> <i>journal_device<\/i><\/p>\n<p style=\"margin-left:22%;\">Create the external JFS journal on <i>journal_device<\/i> , create the JFS file system on <i>device<\/i> , and attach the external journal to the file system.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212J<\/b> <i>journal-options<\/i><\/p>\n<p style=\"margin-left:22%;\">Create the JFS journal on its own device or attach an external JFS journal to the JFS file system using options specified on the command-line. The following journal options are supported:<\/p>\n<p style=\"margin-left:29%;\"><b>journal_dev<\/b><\/p>\n<p style=\"margin-left:40%;\">Create an external JFS journal on the given device.<\/p>\n<p style=\"margin-left:29%;\"><b>device=<\/b><i>external-journal<\/i><\/p>\n<p style=\"margin-left:40%;\">Attach an existing external JFS journal located on <i>external-journal<\/i> to the JFS file system that will be created on <i>device<\/i>. The external journal must already have been created using the command<\/p>\n<p style=\"margin-left:40%; margin-top: 1em\"><b>jfs_mkfs -J journal_dev<\/b> <i>external-journal<\/i><\/p>\n<p style=\"margin-left:40%; margin-top: 1em\">Attach the external journal to the file system being created by using the command<\/p>\n<p style=\"margin-left:40%; margin-top: 1em\"><b>jfs_mkfs -J device=<\/b><i>external-journal device<\/i><\/p>\n<p style=\"margin-left:40%; margin-top: 1em\">Instead of specifying a device name directly, <i>external-journal<\/i> can also be specified by either <b>LABEL=<\/b><i>label<\/i> or <b>UUID=<\/b><i>UUID<\/i> to locate the external journal by either the volume label or UUID stored in the JFS external log superblock at the start of the journal. Use <b>jfs_tune<\/b>(8) to display a journal device\u2019s volume label and UUID. (See the <b>-l<\/b>, <b>-L<\/b>, and <b>-U<\/b> options of <b>jfs_tune<\/b>(8).)<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">Only one of the <b>journal_dev<\/b> or <b>device=<\/b> options can be given per <b>jfs_mkfs<\/b> issuance.<\/p>\n<p style=\"margin-left:11%;\"><b>-L<\/b> <i>volume_label<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the volume label for the newly formatted device.<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\">If <b>-L<\/b> <i>volume_label<\/i> is used along with <b>-J journal_device<\/b>, the volume label of the specified external journal device will be set to <i>volume_label<\/i>. Otherwise, the volume label of the JFS file system will be set to <i>volume_label<\/i>.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212O<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Provide case-insensitive support for compatibility with OS\/2.<\/p>\n<\/td>\n<\/tr>\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212q<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Quiet execution &#8211; do not ask for confirmation before creating the file system.<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<p style=\"margin-left:11%;\"><b>-s<\/b> <i>log_size<\/i><\/p>\n<p style=\"margin-left:22%;\">Set the log size (in megabytes) of the inline log. If the <b>\u2212s<\/b> option is not used, the default log size is 0.4% of the aggregate size.<\/p>\n<table width=\"100%\" border=\"0\" rules=\"none\" frame=\"void\" cellspacing=\"0\" cellpadding=\"0\">\n<tr valign=\"top\" align=\"left\">\n<td width=\"11%\"><\/td>\n<td width=\"3%\">\n<p><b>\u2212V<\/b><\/p>\n<\/td>\n<td width=\"8%\"><\/td>\n<td width=\"78%\">\n<p>Print version information and exit (regardless of any other chosen options).<\/p>\n<\/td>\n<\/tr>\n<\/table>\n<h2>EXAMPLES <a name=\"EXAMPLES\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Format 3rd partition on 2nd hard disk with the volume label &#8220;JFS_hdb3&#8221;:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>jfs_mkfs -L JFS_hdb3 \/dev\/hdb3<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Format 5th partition on 1st hard disk, verifying each block created:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>jfs_mkfs -c \/dev\/hda5<\/b><\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Format 3rd partition on 2nd hard disk as external journal, format 4th partition on 1st hard disk as JFS file system, and attach the external journal to the file system:<\/p>\n<p style=\"margin-left:22%; margin-top: 1em\"><b>jfs_mkfs -j \/dev\/hdb3 \/dev\/hda4<\/b><\/p>\n<h2>REPORTING BUGS <a name=\"REPORTING BUGS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">If you find a bug in <b>JFS<\/b> or <b>jfs_mkfs<\/b>, please report it via the bug tracking system (&#8220;Report Bugs&#8221; section) of the JFS project web site: <br \/> http:\/\/jfs.sourceforge.net\/<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">Please send as much pertinent information as possible including any error messages resulting from running <b>jfs_mkfs<\/b>.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>mkfs<\/b>(8)<b>, jfs_fsck<\/b>(8)<b>, jfs_fscklog<\/b>(8)<b>, jfs_tune<\/b>(8)<b>, jfs_logdump<\/b>(8)<b>, jfs_debugfs<\/b>(8)<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">Barry Arndt (barndt@us.ibm.com) <br \/> William Braswell, Jr.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>jfs_mkfs<\/b> is maintained by IBM. <br \/> See the JFS project web site for more details: <br \/> http:\/\/jfs.sourceforge.net\/<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  jfs_mkfs \u2212 create a JFS formatted partition <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,4,40],"class_list":["post-3464","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-man8","tag-mkfs"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3464","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3464"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3464\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3464"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3464"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3464"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}