Welcome to Linux Knowledge Base and Tutorial
"The place where you learn linux"
Kitty Hooch

 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, 59 guest(s) and 0 member(s) that are online.

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




       reiserfstune [ -f ] [ -j | --journal-device FILE ] [ --no-
       journal-available  ]  [  --journal-new-device  FILE  ]   [
       --make-journal-standard  ] [ -s | --journal-new-size N ] [
       -o | --journal-new-offset N ] [  -t  |  --max-transaction-
       size  N  ]  [  -u  |  --uuid UUID ] [ -l | --label LABEL ]


       reiserfstune is used for tuning the ReiserFS  journal.  It
       can change two parameters (journal size and maximum trans­
       action size), and it can move the journal's location to  a
       new  specified  block  device. (The old ReiserFS's journal
       may be kept unused, or discarded at  the  user's  option.)
       Note:  At the time of writing this feature was implemented
       for a special release of ReiserFS, and was not expected to
       be  put  into  the  mainstream  kernel until approximately
       Linux 2.5.  This means that if you have the  stock  kernel
       you  must  apply  a  special patch. Without this patch the
       kernel will refuse to mount the newly modified  file  sys­
       tem.  We will charge $25 to explain this to you if you ask
       us why it doesn't work.

       Perhaps the most interesting application of this  code  is
       to put the journal on a solid state disk.

       device is  the  special  file  corresponding  to the newly
              specified block device (e.g /dev/hdXX for IDE  disk
              partition  or  /dev/sdXX  for  the SCSI disk parti­


       -j | --journal-device FILE
              FILE is the file name of the block device the  file
              system  has  the  current journal (the one prior to
              running reiserfstune) on. This option  is  required
              when  the  journal  is already on a separate device
              from the main  data  device  (although  it  can  be
              avoided  with --no-journal-available). If you don't
              specify journal device by this option, reiserfstune
              suppose that journal is on main device.

              allows  reiserfstune  to  continue when the current
              journal's block  device  is  no  longer  available.
              This might happen if a disk goes bad and you remove
              it (and run fsck).

       --journal-new-device FILE
              FILE is the file name of  the  block  device  which
              will  contain  the new journal for the file system.
              If you don't specify  this,  reiserfstune  supposes
              from  when  journal  is to be on a separate device.
              Default is 0. Has no effect when journal is  to  be
              on  the  same device as the filesystem.  Most users
              have no need to use this feature.  It can  be  used
              when  you  want the journals from multiple filesys­
              tems to reside on the same device,  and  you  don't
              want to or cannot partition that device.

        -t | --maximal-transaction-size N
               is  the maximum transaction size parameter for the
              new journal. The default, and max  possible,  value
              is  1024  blocks.  It  should be less than half the
              size of the journal. If  specifed  incorrectly,  it
              will be adjusted.

       -f | --force
              Normally reiserfstune will refuse to change a jour­
              nal of a file system that was created  before  this
              journal  relocation  code.  This  is because if you
              change the journal, you  cannot  go  back  (without
              special  option  --make-journal-standard) to an old
              kernel that lacks this feature and be able  to  use
              your  filesytem.  This option forces it to do that.
              Specified more than once it allows to avoid  asking
              for confirmation.

              As  it was mentioned above, if your file system has
              non-standard journal, it can not be mounted on  the
              kernel  without  journal relocation code. The thing
              can be changed, the only condition is that there is
              reserved  area on main device of the standard jour­
              nal size 8193 blocks  (it will be so  for  instance
              if  you  convert standard journal to non-standard).
              Just specify this option when you relocate  journal
              back,  or without relocation if you already have it
              on main device.

       -u | --uuid UUID
              Set  the  universally  unique  identifier ( UUID  )
              of  the  filesystem  to UUID (see also uuidgen(8)).
              The  format  of  the  UUID  is  a series   of   hex
              digits    separated   by   hypthens,   like   this:

       -l | --label LABEL
              Set  the  volume  label  of  the filesystem.  LABEL
              can  be at most 16 characters long; if it is longer
              than 16 characters, reiserfstune will truncate  it.


       1. You have ReiserFS on /dev/hda1, and you wish to have it
       switch between different journals including journal located on the
       device containing the filesystem.

              boot kernel patched with special "relocatable journal support" patch
              mkreiserfs /dev/hda1
              you got solid state disk (perhaps /dev/sda, they typically look like scsi disks)
              reiserfstune --journal-new-device /dev/sda1 -f /dev/hda1
              Your scsi device dies, it is three in the morning, you have an extra IDE device
              lying around
              reiserfsck --no-journal-available /dev/hda1
              reiserfsck --rebuild-tree --no-journal-available /dev/hda1
              reiserfstune --no-journal-available --journal-new-device /dev/hda1 /dev/hda1
              using /dev/hda1 under patched kernel


       This version of reiserfstune has been written by  Vladimir
       Demidov    <vova@namesys.com>    and    Edward    Shishkin


       Please repoort bugs to the ReiserFS mail  list  <reiserfs-


       reiserfsck(8), debugreiserfs(8), mkreiserfs(8)

Reiserfsprogs-3.6.9         April 2003            REISERFSTUNE(8)
Show your Support for the Linux Tutorial

Purchase one of the products from our new online shop. For each product you purchase, the Linux Tutorial gets a portion of the proceeds to help keep us going.



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?
You can get all the latest Site and Linux news by checking out our news page.


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.09 Seconds