Re: date wrong when ext3 fs mounted, 2.6.12-rc kernels

2005-06-17 Thread Ken Moffat
On Thu, 16 Jun 2005, Ken Moffat wrote:


  Last night I booted, and after I'd logged in I looked at dumpe2fs for
 the /home fs - although I'd only just mounted it, the 'last mount time'
 was Mon Aug 22 02:33:35 2005 instead of the expected Wed Jun 15 23:45:00
 2005 or thereabouts.  By the time I logged in, ntp had corrected the
 date.  Somebody on another list said he'd seen something similar on a
 mac mini around 2.6.12-rc4 and it was solved by altering something in
 his .config, but there are a *lot* of differences there - anybody got
 any pointers on what to look at for this ?


Looks as if CONFIG_DEVFS_FS=y was the problem (hmm, wonder where _that_
crap got into my config ?) - a look at my logs suggests that the
date/time were somewhat random with it set, but mostly not far enough
adrift to force an fsck (e.g. my last duff kernel booted up about 29.5
hours slow).

Possibly, something introduced in the 2.6.12 series has broken it, or
perhaps it's always been a bit random, but since devfs is going away
whenever linus picks up the patches, there isn't a lot of point looking
more deeply at it.

Ken
-- 
 das eine Mal als Tragdie, das andere Mal als Farce



date wrong when ext3 fs mounted, 2.6.12-rc kernels

2005-06-16 Thread Ken Moffat
Hi,

 this isn't specifically a debian issue.  I've been running 2.6.12-rc6
on an iBook G4 for a week or so, and it's recently started to fsck /home
on boot because it hasn't been checked for an unfeasibly large number of
days.  Fortunately, I think I've now got pbbuttonsd tamed, so I'm not
having to poweroff/boot very often now.

 Last night I booted, and after I'd logged in I looked at dumpe2fs for
the /home fs - although I'd only just mounted it, the 'last mount time'
was Mon Aug 22 02:33:35 2005 instead of the expected Wed Jun 15 23:45:00
2005 or thereabouts.  By the time I logged in, ntp had corrected the
date.  Somebody on another list said he'd seen something similar on a
mac mini around 2.6.12-rc4 and it was solved by altering something in
his .config, but there are a *lot* of differences there - anybody got
any pointers on what to look at for this ?

Ken
-- 
 das eine Mal als Tragdie, das andere Mal als Farce



Re: Ext3 fs

2003-11-27 Thread Jason E. Stewart
Harvey Ussery [EMAIL PROTECTED] writes:

 I recently installed (from official CD set) DebPPC3.0(Woody) on
 800Mhz iMac 17 LCD. When it came time to install/format the
 filesystem I was only given the option of ext2, which surprised me,
 since ext3 has been available for some time. Did I miss something?
 (I know that you add a -j to the format command if working from the
 command line; but I was not at the command line, I was simply
 responding to the installer's prompts.) Will I be able to reformat
 my Deb install to ext3 later?  Thanks.  --Harvey

Yes, all you need to do is rune 'tune2fs -j /dev/hdaN' to add
journalling to an existing partition. Then you simply change the entry
in /etc/fstab to be ext3. No repartitioning needed.

Cheers,
jas.



Ext3 fs

2003-11-26 Thread Harvey Ussery
I recently installed (from official CD set) DebPPC3.0(Woody) on 800Mhz 
iMac 17 LCD. When it came time to install/format the filesystem I was 
only given the option of ext2, which surprised me, since ext3 has been 
available for some time. Did I miss something? (I know that you add a -j 
to the format command if working from the command line; but I was not at 
the command line, I was simply responding to the installer's prompts.) 
Will I be able to reformat my Deb install to ext3 later? Thanks.   
--Harvey




Re: Ext3 fs

2003-11-26 Thread CWenn

Interesting that you should mention this, Harvey, as I was just looking
through some ext3 documentation today. By far the best rundown on the
features and tweaks of ext3 is Andrew Morton's, at
http://www.zip.com.au/~akpm/linux/ext3/ext3-usage.html

Furthermore, Daniel Robbins has a couple of articles on the filesystem at
IBM developerWorks -
http://www-106.ibm.com/developerworks/linux/library/l-fs7/ and
http://www-106.ibm.com/developerworks/linux/library/l-fs8/

Basically, ensure you have a ext3-capable kernel and current versions of
util-linux and e2fsprogs, then you can

tune2fs -j /dev/hdXX

which will non-destructively convert your ext2 filesystem to ext3

Edit your /etc/fstab and replace any instance of 'ext2' for the partition
you have tuned with 'ext3', reboot and you're away!

If you want to disable the periodic fsck of your ext3 partition, simply

tune2fs -i 0 -c 0 /dev/hdxx

Hope that helps!

Chris



Chris Wenn
Web Administrator
Technology Services
State Library of Victoria
328 Swanston Street
Melbourne VIC 3000
Tel: +613 8664 7117