Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Traveller''s Lunchbox

 Create an AccountHome | Submit News | Your Account  

Tutorial Menu
Linux Tutorial Home
Table of Contents

· Introduction to Operating Systems
· Linux Basics
· Working with the System
· Shells and Utilities
· Editing Files
· Basic Administration
· The Operating System
· The X Windowing System
· The Computer Itself
· Networking
· System Monitoring
· Solving Problems
· Security
· Installing and Upgrading
· Linux and Windows

Man Pages
Linux Topics
Test Your Knowledge

Site Menu
Site Map
Copyright Info
Terms of Use
Privacy Info
Masthead / Impressum
Your Account

Private Messages

News Archive
Submit News
User Articles
Web Links


The Web

Who's Online
There are currently, 74 guest(s) and 0 member(s) that are online.

You are an Anonymous user. You can register for free by clicking here




       jfs_mkfs [options] device


       jfs_mkfs  is  used  to  create  (format)  a JFS partition.
       jfs_mkfs must be run as root.

       device is the  special  file  name  corresponding  to  the
       actual  device (e.g. /dev/hdb1) on which a JFS file system
       and/or JFS journal will be created.

       The default block size is 4096.


       jfs_mkfs will destroy all data on the specified device!


       -c     Check the device for bad blocks before building the
              file system.

       -j journal_device
              (Experimental)  Create  the external JFS journal on
              journal_device , create  the  JFS  file  system  on
              device  ,  and  attach  the external journal to the
              file system.

       -J journal-options
              (Experimental) 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:

                          Create an external JFS journal  on  the
                          given device.

                          Attach an existing external JFS journal
                          located on external-journal to the  JFS
                          file  system  that  will  be created on
                          device.   The  external  journal   must
                          already  have  been  created  using the
                          UUID=UUID  to locate the external jour­
                          nal by either the volume label or  UUID
                          stored   in   the   JFS   external  log
                          superblock at the start of the journal.
                          Use  jfs_tune(8)  to  display a journal
                          device's volume label and  UUID.   (See
                          the   -l,   -L,   and   -U  options  of

              Only one of the journal_dev or device= options  can
              be given per jfs_mkfs issuance.

       -L volume_label
              Set  the  volume  label  for  the  newly  formatted

              If -L volume_label is  used  along  with  -J  jour­
              nal_device,  the  volume  label  of  the  specified
              external  journal  device  will  be  set  to   vol­
              ume_label.   Otherwise, the volume label of the JFS
              file system will be set to volume_label.

       -O     Provide case-insensitive support for  compatibility
              with OS/2.

       -q     Quiet  execution  -  do  not  ask  for confirmation
              before creating the file system.

       -s log_size
              Set the log size (in megabytes) of the inline  log.
              If  the -s option is not used, the default log size
              is 0.4% of the aggregate size.

       -V     Print version information and exit  (regardless  of
              any other chosen options).


       Format  3rd  partition  on  2nd  hard disk with the volume
       label "JFS_hdb3":

              jfs_mkfs -L JFS_hdb3 /dev/hdb3

       Format 5th partition on  1st  hard  disk,  verifying  each
       block created:

       project web site:

       Please  send  as  much  pertinent  information as possible
       including  any  error  messages  resulting  from   running


       mkfs(8),    jfs_fsck(8),    jfs_fscklog(8),   jfs_tune(8),
       jfs_logdump(8), jfs_debugfs(8)


       Barry Arndt  (barndt@us.ibm.com)
       William Braswell, Jr.

       jfs_mkfs is maintained by IBM.
       See the JFS project web site for more details:

                         October 29, 2002             jfs_mkfs(8)

Looking for a "printer friendly" version?



Security Code
Security Code
Type Security Code

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.

Help if you can!

Amazon Wish List

Did You Know?
The Linux Tutorial welcomes your suggestions and ideas.


Tell a Friend About Us

Bookmark and Share

Web site powered by PHP-Nuke

Is this information useful? At the very least you can help by spreading the word to your favorite newsgroups, mailing lists and forums.
All logos and trademarks in this site are property of their respective owner. The comments are property of their posters. Articles are the property of their respective owners. Unless otherwise stated in the body of the article, article content (C) 1994-2013 by James Mohr. All rights reserved. The stylized page/paper, as well as the terms "The Linux Tutorial", "The Linux Server Tutorial", "The Linux Knowledge Base and Tutorial" and "The place where you learn Linux" are service marks of James Mohr. All rights reserved.
The Linux Knowledge Base and Tutorial may contain links to sites on the Internet, which are owned and operated by third parties. The Linux Tutorial is not responsible for the content of any such third-party site. By viewing/utilizing this web site, you have agreed to our disclaimer, terms of use and privacy policy. Use of automated download software ("harvesters") such as wget, httrack, etc. causes the site to quickly exceed its bandwidth limitation and are therefore expressly prohibited. For more details on this, take a look here

PHP-Nuke Copyright © 2004 by Francisco Burzi. This is free software, and you may redistribute it under the GPL. PHP-Nuke comes with absolutely no warranty, for details, see the license.
Page Generation: 0.10 Seconds