Newsgroup: it.comp.os.linux.sys
Titolo: Da ext3 a ext2

E' possibile convertire una partizione contenente dati da ext3 a ext2 ? e
come ?
ext 3 ---> ext2
Grazie


Non e' necessaria alcuna conversione. Basta montala come ext2. Credo:-)
--
Alessandro Staltari
staltari(a)
geocities.com

e come ?
devo modificere il /etc/fstab
e fare
mount -o remount -a ????

 devo modificere il /etc/fstab
Io farei cosi'. E poi rivvierei.
Se ci sono dati fondamentali sulla macchina (cioe' non e' "solo un
esperimento") chiedi conferma su quanto ti ho detto a qualcunaltro, ricordo
di averlo fatto, ma non sulla partizione di root, quindi non sono sicuro al
100%.
--
Alessandro Staltari
staltari(a)
geocities.com

Fatto ma è lo stesso
Come faccio checkdisk ???

Ho fatto
fsck
che ha sistemato solo il journaling, poi ho fatto
Ora č a posto.
Grazie

How to move back from ext3 to ext2
----------------------------------
It's quite easy.  If you unmount an ext3 filesystem cleanly, then you
can remount it as ext2 without any other commands.  If you crash and are
left with an unclean ext3 filesystem, on the other hand, the filesystem
will prevent you from mounting it as ext2: it is not safe to mount it
until you have recovered the journal, and the only way to do that for
now is to mount it as ext3.
However, if for any reason you do have an ext3 filesystem which you want
to convert permanently back to ext2, whether it was cleanly unmounted or
not, you can use "debugfs" from e2fsprogs-1.17 or later to do it.
First, run debugfs and open the filesystem (the -w flag means open for
write, and the -f flag forces it to open the filesystem even if there
are unknown journal flags set):
    [root@sarek /root]# debugfs
    debugfs 1.18, 11-Nov-1999 for EXT2 FS 0.5b, 95/08/09
    debugfs:  open -f -w /dev/sdb1
Now, use "features" to see which feature bits are set on the filesystem:
    debugfs:  features
    Filesystem features: has_journal filetype sparse_super
We want to clear the journal bits, then we can quit:
    debugfs:  features -has_journal -needs_recovery
    Filesystem features: filetype sparse_super
    debugfs:  quit
    [root@sarek /root]# debugfs
------------------------------------------------------------
Poi ovviamente bisogna modificare /etc/fstab e mettere ext2
al posto di ext3
NOTA: Questa opzione è molto utile se si deve modificare una partizione
             con Partition Magic (che gestisce solo il filesystem EXT2); poi
si può
             ritrasformare in EXT3 e il gioco è fatto! Io stesso ho eseguito
queste
             operazioni diverse volte...
How to updrade ext2 to ext3:
---------------------------------
To upgrade an existing ext2 filesystem to ext3, just use "tune2fs -j
/dev/<device>".  This will work for mounted and unmounted filesystems,
and will even work on the current root filesystem.  The only thing
that changes if the filesystem is already mounted is that tune2fs will
create the journal in a file ".journal" in the top-level directory of
the filesystem, rather than using a hidden system inode for it.
Be aware that the jfs patch does _not_ change the ext2 code.  Rather, it
makes a copy of ext2 called ext3, and all the fancy footwork takes place
in that.  You don't have to run ext3 on all your valuable filesystems if
you don't want to.
---------------------------------
Noberasco Michele
Documento originale:
http://www.kernel.org/pub/linux/kernel/people/sct/ext3/README