reiserfstune

REISERFSTUNE(8)             System Manager's Manual            REISERFSTUNE(8)



åå
       reiserfstune - ReiserFS ãã¡ã¤ã«ã·ã¹ãã ã®ãã¥ã¼ãã³ã°ãã¼ã«

æ¸å¼
       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 ] [ -b | --add-badblocks file ] [ -B |
       --badblocks file ] [ -u | --uuid UUID ] [ -l | --label LABEL ] device

説æ
       reiserfstune 㯠ReiserFS ã調æ´ããããã«ä½¿ãããã ãã®ããã°ã©ã ã¯
       (ã¸ã£ã¼ãã«ãµã¤ãºã¨æ大ãã©ã³ã¶ã¯ã·ã§ã³ãµã¤ãºã¨ãã) 2
       ã¤ã®ã¸ã£ã¼ãã«ãã©ã¡ã¼ã¿ãå¤æ´å¯è½ã§ã ã¸ã£ã¼ãã«ã®å ´æãæå®ãããæ°ãããã‐
       ãã¯ããã¤ã¹ã«ç§»åã§ãã (以åã® ReiserFS
       ã¸ã£ã¼ãã«ã使ç¨ããªãã¾ã¾ã«ãããã¨ãã§ãããã
       ã¦ã¼ã¶ã¼ãªãã·ã§ã³ã«ããç ´æ£ãããã¨ãã§ãã)ã ããã«å ããreiserfstune ã¯ä¸æ£ãã‐
       ãã¯ã®ãªã¹ãã ReiserFS ã«æ ¼ç´ããããUUID ã LABEL ãè¨å®ã§ããã 注æ:
       ãããæ¸ãã¦ããæç¹ã§ã¯ãã¸ã£ã¼ãã«ã®åé置㯠ReiserFS
       ã®ç¹å¥ãªãªã¼ã¹ç¨ã«å®è£ããã¦ããã Linux 2.5 ãããã¾ã§ã¯ã
       ã¡ã¤ã³ã¹ããªã¼ã ã®ã«ã¼ãã«ã«å¥ããäºå®ã¯ãªãã
       ã¤ã¾ãç¾å¨æã£ã¦ããã«ã¼ãã«ã«ç¹å¥ãªããããé©ç¨ããå¿è¦ãããã ãã®ããããé©ç¨ããªãå ´åã
       ã«ã¼ãã«ã¯æ°ããä¿®æ£ããããã¡ã¤ã«ã·ã¹ãã ã®ãã¦ã³ããæå¦ããã
       ãªããããåä½ããªããã説æãã¦ã»ãããã°ã$25 ããã ãããã

       ãã®ã³ã¼ãã®ãã£ã¨ãéè¦ãªå¿ç¨ã¨ãã¦ã¯ã
       ã½ãªããã¹ãã¼ããã£ã¹ã¯ã«ã¸ã£ã¼ãã«ãç½®ããã¨ãèããããã

       device ããã¤ã¹ã«å¯¾å¿ããã¹ãã·ã£ã«ãã¡ã¤ã« (ä¾ãã°ã/dev/hdXX 㯠IDE
              ãã£ã¹ã¯ãã¼ãã£ã·ã§ã³ã§ã /dev/sdXX 㯠SCSI
              ãã£ã¹ã¯ãã¼ãã£ã·ã§ã³ã§ãã)ã

ãªãã·ã§ã³
       -j | --journal-device FILE
              FILE ã¯ãã¡ã¤ã«ã·ã¹ãã ãç¾å¨ (reiserfstune ãå®è¡ããåã«)
              ã¸ã£ã¼ãã«ãç½®ãã¦ãããããã¯ããã¤ã¹ã®ãã¡ã¤ã«åã§ããã
              ãã®ãªãã·ã§ã³ã¯ãã¡ã¤ã³ãã¼ã¿ããã¤ã¹ã¨ã¯å¥ã®ããã¤ã¹ã«
              æ¢ã«ã¸ã£ã¼ãã«ãç½®ããã¦ããå ´åã«å¿è¦ã«ãªã (--no-journal-available
              ãæå®ããã°ã使ããªããã¨ãã§ãã)ã
              ãã®ãªãã·ã§ã³ã§ã¸ã£ã¼ãã«ããã¤ã¹ãæå®ããªãå ´åã reiserfstune
              ã¯ã¸ã£ã¼ãã«ãã¡ã¤ã³ããã¤ã¹ã«ããã¨ä»®å®ããã

       --no-journal-available
              ç¾å¨ã®ã¸ã£ã¼ãã«ã®ãããã¯ããã¤ã¹ãæ¢ã«ä½¿ç¨ä¸è½ãªå ´åã§ãã
              reiserfstune ã«å¦çãå®è¡ãããã
              ãã®ãããªã±ã¼ã¹ã¯ããã£ã¹ã¯ãæéãã¦ã¸ã£ã¼ãã«ãåé¤ã (ãã®å¾ã« fsck
              ããã¦ãã) ã¨ãã£ãå ´åã«èµ·ãã

       --journal-new-device FILE
              FILE ã¯ãã¡ã¤ã«ã·ã¹ãã ã®æ°ããã¸ã£ã¼ãã«ãå¥ãã ãã‐
              ãã¯ããã¤ã¹ã®ãã¡ã¤ã«åã§ããã ãã®ãªãã·ã§ã³ãæå®ããªãå ´åã reiserfstune
              ã¯ã¸ã£ã¼ãã«ããã¤ã¹ã以åã¨åããã®ã§ããã¨ä»®å®ããã

        -s | --journal-new-size N
              N ã¯æ°ããã¸ã£ã¼ãã«ã®ãµã¤ãºãã©ã¡ã¼ã¿ã§ããã
              ã¸ã£ã¼ãã«ãå¥ã®ããã¤ã¹ã«ããå ´åã ã¸ã£ã¼ãã«ããã¤ã¹ã®ãã‐
              ãã¯æ°ãããã©ã«ããµã¤ãºã«ãªãã
              ã¸ã£ã¼ãã«ããã¡ã¤ã«ã·ã¹ãã ã¨åãããã¤ã¹ã«ããå ´åã mkreiserfs
              ã§ä½æãããã¸ã£ã¼ãã«ã®ç·ãããã¯æ°ãããã©ã«ãã«ãªãã ã©ã¡ãã®å ´åã§ãæå°å¤ã¯
              513 ã§ããã

        -o | --journal-new-offset N
              N ã¯ãã¸ã£ã¼ãã«ãå¥ã®ããã¤ã¹ã«ããå ´åã® ã¸ã£ã¼ãã«ã®éå§ãªãã»ãã
              (ãã¤ãåä½) ã§ããã ããã©ã«ã㯠0 ã§ããã
              ã¸ã£ã¼ãã«ããã¡ã¤ã«ã·ã¹ãã ã¨åãããã¤ã¹ã«ããå ´åã¯ä½ãå½±é¿ããªãã
              ã»ã¨ãã©ã®ã¦ã¼ã¶ã¼ã«ã¯ããã®æ©è½ã¯å¿è¦ãªãã ãã®ãªãã·ã§ã³ã¯ã
              è¤æ°ã®ãã¡ã¤ã«ã·ã¹ãã ã®ã¸ã£ã¼ãã«ãåãããã¤ã¹ä¸ã«ç½®ããããã
              ãã®ããã¤ã¹ããã¼ãã£ã·ã§ã³åå²ããããªãã
              ã¾ãã¯åå²ã§ããªãã¨ãã£ãå ´åã«ä½¿ããã

        -t | --maximal-transaction-size N
              N ã¯æ°ããã¸ã£ã¼ãã«ã®ãã©ã³ã¶ã¯ã·ã§ã³ãµã¤ãºãã©ã¡ã¼ã¿ã®æ大å¤ã§ããã
              ããã©ã«ãå¤ã¨æå®å¯è½ãªæ大å¤ã¯ 1024 ãããã¯ã§ããã
              ã¸ã£ã¼ãã«ãµã¤ãºã®åå以ä¸ã«ãã¹ãã§ããã ä¸æ‐
              £ãªå¤ãæå®ãããå ´åã¯èª¿æ´ãããã

        -b | --add-badblocks file
              file ã¯ããã¡ã¤ã«ã·ã¹ãã ä¸ã§ä¸æ£ã¨ãã¼ã¯ãããäºå®ã® ãã‐
              ãã¯ã®ãªã¹ããæ¸ããããã¡ã¤ã«ã®ååã§ããã ãã®ãªã¹ãã¯ãã¡ã¤ã«ã·ã¹ãã ã®ä¸æ‐
              £ãããã¯ã®ãªã¹ãã«è¿½å ãããã

        -B | --badblocks file
              file ã¯ããã¡ã¤ã«ã·ã¹ãã ä¸ã§ä¸æ£ã¨ãã¼ã¯ãããäºå®ã® ãã‐
              ãã¯ã®ãªã¹ããæ¸ããããã¡ã¤ã«ã®ååã§ããã ãã¡ã¤ã«ã·ã¹ãã ä¸ã®ä¸æ£ãã‐
              ãã¯ã®ãªã¹ãã¯ã file
              ã§æå®ããããªã¹ãããã¡ã¤ã«ã·ã¹ãã ã«è¿½å ãããåã«åé¤ãããã

       -f | --force
              é常 reiserfstune ã¯ãã¸ã£ã¼ãã«ã®åéç½®ã³ã¼ããã以åã«ä½æããã
              ãã¡ã¤ã«ã·ã¹ãã ã®ã¸ã£ã¼ãã«ã®å¤æ´ã¯ããªãã ããã¯ã¸ã£ã¼ãã«ãå¤æ´ããã¨ã
              (ç¹å¥ãªãªãã·ã§ã³ --make-journal-standard ã使ããã«)
              以åã®ã«ã¼ãã«ã«æ»ããã¨ãåºæ¥ãªããªãããã§ããã
              以åã®ã«ã¼ãã«ã§ã¯ä»ããæ©è½ãåå¨ããã
              ãã¡ã¤ã«ã·ã¹ãã ã使ããã¨ãã§ããªããªãã
              ãã®ãªãã·ã§ã³ã¯å¼·å¶çã«ã¸ã£ã¼ãã«ã®å¤æ´ãè¡ãã ãã®ãªãã·ã§ã³ã 2
              ã¤ä»¥ä¸æå®ããã¨ã 確èªãè¡ããªãããã«ãããã¨ãã§ããã

       --make-journal-standard
              ä¸ã§è¿°ã¹ãããã«ããã¡ã¤ã«ã·ã¹ãã ã«æ¨æºçãªã¸ã£ã¼ãã«ããªãå ´åã
              ã¸ã£ã¼ãã«ã®åéç½®ã³ã¼ãããªãã«ã¼ãã«ã§ã¯ãã¦ã³ãã§ããªãã
              ãã®ãããªåé¡ã解決ãããã¨ãã§ãããã
              æ¨æºã¸ã£ã¼ãã«ã®ã¡ã¤ã³ããã¤ã¹ã®äºç´é åã 8193 ãã‐
              ãã¯ããªããã°ãããªãã¨ããå¯ä¸ã®æ¡ä»¶ããã
              (æ¨æºã¸ã£ã¼ãã«ãéæ¨æºã¸ã£ã¼ãã«ã«å¤æããå ´åãªã©ã«å¿è¦ã§ãã)ã
              ã¸ã£ã¼ãã«ã以åã®ãã®ã«åéç½®ãç´ãå ´åã¯ã
              åã«ãã®ãªãã·ã§ã³ãæå®ããã°è¯ãã ã¡ã¤ã³ããã¤ã¹ã«æ¢ã«ã¸ã£ã¼ãã«ãå‐
              å¨ããå ´åãåéç½®ã¯ããªãã

       -u | --uuid UUID
              ãã¡ã¤ã«ã·ã¹ãã ã® universally unique identifier (UUID)
              (æ±ã·ã¹ãã çã«ä»ã¨ã¯éãªããªãèå¥å) ã UUID ã«è¨å®ããã (uuidgen(8)
              ãåç§)ã UUID ã®ãã©ã¼ãããã¯ãã¤ãã³ã§åºåã£ã 16 é²æ°ã®æååã§ããã
              "c1b9d5a2-f162-11cf-9ece-0020afc76f16" ã®ãããªãã©ã¼ãããã§ããã

       -l | --label LABEL
              ãã¡ã¤ã«ã·ã¹ãã ã®ããªã¥ã¼ã ã©ãã«ãè¨å®ããã LABEL ã¯æ大 16 æåã§ããã
              17 æå以ä¸ã®å ´åãmkreiserfs ã¯æååãåãè©°ããã

REISERFSTUNE ã使ç¨ããå¯è½æ§ã®ããã·ããªãª:
       1. ReiserFS ã /dev/hda1 ã«ããã ããã¤ã¹ /dev/journal
       ã«ã¸ã£ã¼ãã«ãç½®ãã¦åä½ããããå ´åã

              ç¹å¥ãªãã¸ã£ã¼ãã«åéç½®ã®ãµãã¼ããããããé©ç¨ãã
              ã«ã¼ãã«ã§ãã¼ããã
              reiserfstune /dev/hda1 --journal-new-device /dev/journal -f
              mount /dev/hda1
              ã¨ãã¦ä½¿ç¨ãããã¨ã

              ãã©ã³ã¶ã¯ã·ã§ã³ãµã¤ãºã®æ大å¤ã 512 ãããã¯ã«å¤æ´ããå ´åã¯ã
              以ä¸ã®ããã«ãããã¨ã
              reiserfstune -t 512 /dev/hda1

              åéç½®å¯è½ã¸ã£ã¼ãã«ããµãã¼ããã¦ããªãå¥ã®ã«ã¼ãã«ã§
              ãã¡ã¤ã«ã·ã¹ãã ã使ããã¨ããå ´åã¯ã
              umount /dev/hda1
              reiserfstune /dev/hda1 -j /dev/journal \
                --journal-new-device /dev/hda1 --make-journal-standard
              mount /dev/hda1
              ã¨ãã¦ä½¿ç¨ãããã¨ã

       2. /dev/hda1 ã ReiserFS ã«ãã¦ãå¥ã®ã¸ã£ã¼ãã«ã«åãæ¿ãããå ´å
       (ãã¡ã¤ã«ã·ã¹ãã ãããããã¤ã¹ã«ã¸ã£ã¼ãã«ãç½®ããã¨ãå«ã)ã

              ç¹å¥ãªãã¸ã£ã¼ãã«åéç½®ã®ãµãã¼ããããããé©ç¨ãã
              ã«ã¼ãã«ã§ãã¼ããã
              mkreiserfs /dev/hda1
              ãè¡ãã

              ã½ãªããã¹ãã¼ããã£ã¹ã¯ã使ã
              (SCSI ãã£ã¹ã¯ã¨è¦ãªãããã®ã§ãå¤å /dev/sda ãªã©ã«ãªã)ã
              reiserfstune --journal-new-device /dev/sda1 -f /dev/hda1

              æ©æ 3 æã« SCSI ããã¤ã¹ãæ»ãã§ã
              IDE ããã¤ã¹ãä½ã£ã¦ããå ´åã¯ã
              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
              ãå®è¡ãã¦ãããããé©ç¨ããã«ã¼ãã«ã§ /dev/hda1 ã使ç¨ããã

èè
       ãã®ãã¼ã¸ã§ã³ã® reiserfstune ã¯ã Vladimir Demidov <vova@namesys.com> ã¨
       Edward Shishkin <edward@namesys.com> ã«ãã£ã¦æ¸ãããã

ãã°
       ãã°ã¯ãã§ããéãå¤ãã®æå ± (ãã¼ãã¦ã§ã¢ã»ã«ã¼ãã«ã»ãããã»è¨å®ã»
       表示ãããå¨ã¦ã®ã¡ãã»ã¼ã¸) ã¨ã¨ãã«ã ReiserFS ã®éçºè <reiserfs-
       dev@namesys.com> ã«å ±åãã¦ã»ããã é¢é£ããæå ±ããããããããªãã®ã§ syslog
       ã調ã¹ã¦ã»ããã

é¢é£é ç®
       reiserfsck(8), debugreiserfs(8), mkreiserfs(8)



Reiserfsprogs-3.6.19             February 2004                 REISERFSTUNE(8)