Yedidyah Bar-David wrote:
> Hi all,
>
> On Mon, Jun 10, 2002 at 10:09:20AM +0300, Daniel Feiglin wrote:
>
>>
> [snip]
>
>>>What question? Of creating ext3? That's simple: mke2fs -j.
>>>Converting ext2 to ext3? tune2fs -j (Note I havn't tried
>>
>>this one,
>>
>>>only mk).
>>
>>What you describe is exactly what DID NOT work and at the
>>time was the subject of some rather inconclusive discussions
>>elewhere. The question of how you convert an ext2->ext3 or go
>>directly from something else e.g. FAT32 remains open.
>>
>
>
> #dd if=/dev/zero of=ttt1 bs=1024k count=100
> 100+0 records in
> 100+0 records out
>
> #mke2fs ttt1
> mke2fs 1.26 (3-Feb-2002)
> ttt1 is not a block special device.
> Proceed anyway? (y,n) y
> Filesystem label=
> OS type: Linux
> Block size=1024 (log=0)
> Fragment size=1024 (log=0)
> 25688 inodes, 102400 blocks
> 5120 blocks (5.00%) reserved for the super user
> First data block=1
> 13 block groups
> 8192 blocks per group, 8192 fragments per group
> 1976 inodes per group
> Superblock backups stored on blocks:
> 8193, 24577, 40961, 57345, 73729
>
> Writing inode tables: done
> Writing superblocks and filesystem accounting information: done
>
> This filesystem will be automatically checked every 23 mounts or
> 180 days, whichever comes first. Use tune2fs -c or -i to override.
>
> #dmesg -c
>
> #mount -t ext3 -o loop ttt1 /mnt
> mount: wrong fs type, bad option, bad superblock on /dev/loop0,
> or too many mounted file systems
>
> #dmesg
> ext3: No journal on filesystem on loop(7,0)
>
> #mount -t ext2 -o loop ttt1 /mnt
> (no answer)
>
> #umount /mnt
> (no answer)
>
> #tune2fs -j ttt1
> tune2fs 1.26 (3-Feb-2002)
> Creating journal inode: done
> This filesystem will be automatically checked every 23 mounts or
> 180 days, whichever comes first. Use tune2fs -c or -i to override.
>
> #dmesg -c
>
> #mount -t ext3 -o loop ttt1 /mnt
> (no answer)
>
> #dmesg
> kjournald starting. Commit interval 5 seconds
> EXT3 FS 2.4-0.9.16, 02 Dec 2001 on loop(7,0), internal journal
> EXT3-fs: mounted filesystem with ordered data mode.
>
> #uname -a
> Linux pinky 2.4.17 #4 Mon May 27 19:28:31 IDT 2002 i686 unknown
>
> Is this good enough?
So why didn't you say so the first time?
>
> Repeating myself: This has _nothing_ to do with fat->ext[23]
> conversions, which are _much_ more problematic.
Hmm. One could do it in two steps fat->ext2->ext3.
> ext2 and ext3 have the same on-disk structure, by design. The only
> difference is the journal, which is usually a file (but can also
> be e.g. on another device).
>
>
>>Daniel Feiglin
>
>
> Didi
>
>
P.S. Apologies for multiple send of my last message - Internet Zahav Webmail
screwup.
=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]