[gentoo-user] Re: memory(gray matter) needs jog-DONE

2009-10-30 Thread walt
On 10/30/2009 10:26 AM, Stroller wrote:
 
 On 30 Oct 2009, at 17:04, Maxim Wexler wrote:
 ...
 Yes I know, ext2 is rather retro, but I was
 persuaded to use it by reading the forums and now it's a lot simpler
 just to run tune2fs rather thman scrap the system and start again.
 
 I know you  can convert an ext3 filesystem to ext4. Can you not do the
 same ext2 - ext3?

Yes, with the -j flag to tune2fs.




Re: [gentoo-user] Re: memory(gray matter) needs jog-DONE

2009-10-30 Thread Maxim Wexler
On 10/30/09, walt w41...@gmail.com wrote:
 On 10/30/2009 10:26 AM, Stroller wrote:

 On 30 Oct 2009, at 17:04, Maxim Wexler wrote:
 ...
 Yes I know, ext2 is rather retro, but I was
 persuaded to use it by reading the forums and now it's a lot simpler
 just to run tune2fs rather thman scrap the system and start again.

 I know you  can convert an ext3 filesystem to ext4. Can you not do the
 same ext2 - ext3?

 Yes, with the -j flag to tune2fs

And it doesn't destroy the files? If so, that's good news.

mw



[gentoo-user] Re: memory(gray matter) needs jog-DONE

2009-10-30 Thread walt
On 10/30/2009 02:12 PM, Maxim Wexler wrote:
 On 10/30/09, walt w41...@gmail.com wrote:
 On 10/30/2009 10:26 AM, Stroller wrote:

 I know you  can convert an ext3 filesystem to ext4. Can you not do the
 same ext2 - ext3?

 Yes, with the -j flag to tune2fs
 
 And it doesn't destroy the files? If so, that's good news.

The man page says you can even do it to a mounted filesystem, but I'd
be more comfortable running tune2fs -j from a live CD or similar.

I haven't actually done this since ext3 became the standard many years
ago, but I'm pretty sure I converted unmounted partitions.

YMMV, naturally, and you might want to sacrifice a live chicken in front
of the computer before starting.  Couldn't hurt.






[gentoo-user] Re: memory(gray matter) needs jog

2009-10-29 Thread walt
On 10/29/2009 03:46 PM, Albert Hopkins wrote:
 On Thu, 2009-10-29 at 15:54 -0600, Maxim Wexler wrote:
 Hi group,
 A while back I needed help with an ext2 file system that required
 checking every boot before mounting...

 I'm not sure why your system needed to be checked for each boot...

Boy, my 'little gray cells' need a tonic, too.  I've been using ext3
(i.e.with journaling) for so long I can't even remember using ext2.

Wasn't it normal in the old days to fsck an ext2 fs with every boot?




Re: [gentoo-user] Re: memory(gray matter) needs jog

2009-10-29 Thread Albert Hopkins
On Thu, 2009-10-29 at 17:05 -0700, walt wrote:
  I'm not sure why your system needed to be checked for each boot...
 
 Boy, my 'little gray cells' need a tonic, too.  I've been using ext3
 (i.e.with journaling) for so long I can't even remember using ext2.
 
 Wasn't it normal in the old days to fsck an ext2 fs with every boot?
 

You should put your drink down.  And maybe go for a walk :)

No, I'm not aware of it *ever* being standard to fsck on every boot.
Perhaps you were using a bad distribution?  True, Linux does run fsck on
every boot, but fsck exits immediately if it determines your filesystem
was unmounted cleanly on the last shutdown.  It's only if you force a
fsck (e.g. with -f or /forcefsck) that it will run fsck on a clean
filesystem.

And remember, ext2 has *no* journal, so fsck was always very very slow.
To run it every time on a reboot would have been so painful that I
believe ext3 would have been invented in the early '90s instead of
2001 :)






Re: [gentoo-user] Re: memory(gray matter) needs jog

2009-10-29 Thread Albert Hopkins
On Thu, 2009-10-29 at 20:21 -0400, Albert Hopkins wrote:
 It's only if you force a
 fsck (e.g. with -f or /forcefsck) that it will run fsck on a clean
 filesystem. 

I stand corrected, it also forces a fsck after the user-tunable maximum
time between fscks.

-a