Automatic conversion to ext3 doesn't work. mkinitramfs problem?

2009-08-15 Thread Nicolas

Hello,

I read the following in tune2fs manpage:
On some distributions, such as Debian, if an initial ramdisk is used,
the  initrd  scripts  will automatically convert an ext2 root filesystem
to ext3 if the /etc/fstab  file  specifies  the ext3  filesystem  for
the  root  filesystem  in order to avoid requiring the use of a rescue
floppy to add an ext3 journal  to the root filesystem.

I tried it, but it didn't work on my computer (Debian squeeze).
The script which is used to perform the conversion during boot is
/usr/share/e2fsprogs/initrd.ext3-add-journal. It is supposed to be added
 to the initrd scripts by /usr/share/initrd-tools/scripts/e2fsprogs.

I wonder if this is due to the fact that mkinitramfs doesn't take this
script into account (it was probably written in the time of mkinitrd).

What do you think about this? Should I fill a bug against e2fsprogs?

Thanks,
Nicolas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Automatic conversion to ext3 doesn't work. mkinitramfs problem?

2009-08-15 Thread Nicolas

Hello,

I read the following in tune2fs manpage:
On some distributions, such as Debian, if an initial ramdisk is used,
the  initrd  scripts  will automatically convert an ext2 root filesystem
to ext3 if the /etc/fstab  file  specifies  the ext3  filesystem  for
the  root  filesystem  in order to avoid requiring the use of a rescue
floppy to add an ext3 journal  to the root filesystem.

I tried it, but it didn't work on my computer (Debian squeeze).
The script which is used to perform the conversion during boot is
/usr/share/e2fsprogs/initrd.ext3-add-journal. It is supposed to be added
 to the initrd scripts by /usr/share/initrd-tools/scripts/e2fsprogs.

I wonder if this is due to the fact that mkinitramfs doesn't take this
script into account (it was probably written in the time of mkinitrd).

What do you think about this? Should I fill a bug against e2fsprogs?

Thanks,
Nicolas


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org




Conversion to ext3

2002-04-15 Thread Mark Carroll
Quick question - how do I convert my root partition to ext3 without
introducing lots of .journal files? Can I make a bootdisk or something
that can convert what's normally my root partition? It looks like, if the
FS is mounted, you get .journal files.

I've not found this in a FAQ yet but if I just missed it, a pointer will
suffice.

-- Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Patrick Kirk
On Mon, Apr 15, 2002 at 10:07:54AM -0400, Mark Carroll wrote:
Quick question - how do I convert my root partition to ext3 without
introducing lots of .journal files? Can I make a bootdisk or something
that can convert what's normally my root partition? It looks like, if the
FS is mounted, you get .journal files.

Perhaps I'm utterly mistaken here but I think the .journal is the
journal part of journalling file system.  A quick look at the ext3
howto says how to put it on another file system but I don't know why
you would bother with ext3 if you don't have a journal.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Andrew Agno
Patrick Kirk writes:
  Perhaps I'm utterly mistaken here but I think the .journal is the
  journal part of journalling file system.  A quick look at the ext3
  howto says how to put it on another file system but I don't know why
  you would bother with ext3 if you don't have a journal.

I think it was a request for how to get journalling without actually
seeing the .journal file.  Some people don't like having .journal
files around.

Andrew.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Patrick Kirk
On Mon, Apr 15, 2002 at 07:33:45AM -0700, Andrew Agno wrote:
Patrick Kirk writes:
  Perhaps I'm utterly mistaken here but I think the .journal is the
  journal part of journalling file system.  A quick look at the ext3
  howto says how to put it on another file system but I don't know why
  you would bother with ext3 if you don't have a journal.

I think it was a request for how to get journalling without actually
seeing the .journal file.  Some people don't like having .journal
files around.

Does ext3 work without these .journal files?

Patrick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Andrew Agno
Patrick Kirk writes:
  On Mon, Apr 15, 2002 at 07:33:45AM -0700, Andrew Agno wrote:
  Patrick Kirk writes:
Perhaps I'm utterly mistaken here but I think the .journal is the
journal part of journalling file system.  A quick look at the ext3
howto says how to put it on another file system but I don't know why
you would bother with ext3 if you don't have a journal.
  
  I think it was a request for how to get journalling without actually
  seeing the .journal file.  Some people don't like having .journal
  files around.
  
  Does ext3 work without these .journal files?

Yes.  They only get created when you create a journal on an mounted
filesystem (unless they changed things since I last created a ext3
fs).  For unmounted filesystems, they become invisible, although the
file is there in one form or another.

Andrew.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Shawn McMahon
begin  Mark Carroll quotation:
 Quick question - how do I convert my root partition to ext3 without
 introducing lots of .journal files? Can I make a bootdisk or something
 that can convert what's normally my root partition? It looks like, if the
 FS is mounted, you get .journal files.

Without lots of .journal files?  Just convert it, you should have just
one .journal file.


-- 
Shawn McMahon| McMahon's Laws of Linux support:
http://www.eiv.com   | 1) There's more than one way to do it
AIM: spmcmahonfedex, smcmahoneiv | 2) Somebody thinks your way is wrong


pgpeXV6c3B3XV.pgp
Description: PGP signature


Re: Conversion to ext3

2002-04-15 Thread Jeffrey W. Baker
On Mon, 2002-04-15 at 07:07, Mark Carroll wrote:
 Quick question - how do I convert my root partition to ext3 without
 introducing lots of .journal files? Can I make a bootdisk or something
 that can convert what's normally my root partition? It looks like, if the
 FS is mounted, you get .journal files.

What's this about lots of .journal files?  There will be exactly one
(1) .journal file in your root directory.  If that bothers you, boot
from another boot disk (cdrom, floppy, etc.) and convert the ext2 to
ext3 while your partition is unmounted.

-jwb


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Conversion to ext3

2002-04-15 Thread Jeremy Nickurak
On Mon, 2002-04-15 at 08:07, Mark Carroll wrote:
 Quick question - how do I convert my root partition to ext3 without
 introducing lots of .journal files? Can I make a bootdisk or something
 that can convert what's normally my root partition? It looks like, if the
 FS is mounted, you get .journal files.
 
 I've not found this in a FAQ yet but if I just missed it, a pointer will
 suffice.

As others have mentioned, if you create the journal with the filesystem
unmounted, you don't get a .journal.
Furthermore, and I'm not entire sure about this, I believe fsck.ext3 in
sid removed a .journal for me the last time I used it manually.


signature.asc
Description: This is a digitally signed message part