Zmena FS z EXT3 > EXT2

Marian Cavojsky cavojsky na soria-grey.sk
Čtvrtek Srpen 22 10:32:41 CEST 2002


On Thu, Aug 22, 2002 at 10:06:41AM +0200, hanc wrote:
> Zdravim,
> 
> existuje nejaky postup, aby se bez ztraty dat prevedl filesystem z EXT3 na
> EXT2 ?
> Neco jako opak tune2fs -j /dev... ?
> 

man tune2fs

       -O [^]feature[,...]
              Set  or clear the indicated filesystem features (options) in the
              filesystem.  More than one filesystem feature can be cleared  or
              set  by  separating  features  with commas.  Filesystem features
              prefixed with a caret character ('^') will  be  cleared in  the
              filesystem's  superblock;  filesystem  features without a prefix
              character or prefixed with a plus character ('+') will be added
              to the filesystem.

              The  following  filesystem  features can be set or cleared using
              tune2fs:

                   sparse_super
                          Limit the number of backup superblocks to save space
                          on large filesystems.

                   filetype
                          Store file type information in directory entries.

                   has_journal
                          Create  an ext3 journal (as if using the -j option).

              After setting or clearing sparse_super and  filetype filesystem
              features,  e2fsck(8) must be run on the filesystem to return the
              filesystem to a consistent state.  Tune2fs will print a message
              requesting that the system administrator run e2fsck(8) if neces-
              sary. 

              Warning: Linux kernels before 2.0.39 and many 2.1 series kernels
              do  not  support the filesystems that use any of these features.
              Enabling certain filesystem features may prevent the filesystem
              from  being  mounted  by kernels which do not support those fea-
              tures.

tune2fs -O ^has_journal /dev/...

Inak netreba rusit journal ak ho chcete dat do pocitaca, kde to kernel
nezvladne. Proste journal pouzivat nebude.

-- 
Marian Cavojsky <cavojsky @ soria-grey.sk>
Spravca siete, Soria & Grey s.r.o, reklamna agentura



Další informace o konferenci Linux