Re: reiserfs question
Hall Stevenson saw fit to inform me that: >> >I plan to try the reiserfs, but an curious about >> >the fsck. In particular, about when it runs after >> >so many boots. Do I have to disable this somehow. >> >I suspect a e2fsck on a reiserfs would be bad. >> >> tune2fs -i 0 -C 0 >> >> is what u need. > >I read this on the ext3 patch page but I've got questions >about it... > > - Should that command be in a startup script ?? If so, use >/etc/rc.boot ?? > - Is there a permanent config file this could be spec'd in ?? > >I've ran the command and it reported that it work (cycle count >set to "0", etc) but I have a feeling that after a reboot, it >will be "forgotten". Is that correct ?? No need to put it in rc.boot. After running that command, reboot and type tune2fs -l /dev/hdXX where XX is your partition. You will see what I mean. >PS I believe the "-C" above should be lower-case, as in "-c". >At least that's what the patch page showed... maybe they're >equivalents. Sorry. Typo. It is indeed -c. >From man tune2fs : -- -c max-mount-counts adjust the maximal mounts count between two filesystem checks. -i interval-between-checks[d|m|w] adjust the maximal time between two filesystem checks. No postfix or d result in days, m in months, and w in weeks. A value of zero will dis? able the timedependent checking. -C mount-count set the number of times the filesystem has been mounted. -l list the contents of the filesystem superblock. -- Warm Regards -- -- Rajesh Fowkar [EMAIL PROTECTED] Kurtarkar Nagari,Bldg-C,T4, http://rajesh.computers.webjump.com Santacruz,Ponda-Goa-403401-INDIAPowered By : Debian GNU/Linux 2.2 R-3 Kernel 2.4.7(with ext3),Mutt 1.3.19i,IceWM "Silence is the true friend that never betrays." - Confucious --
Re: reiserfs question
> >I plan to try the reiserfs, but an curious about > >the fsck. In particular, about when it runs after > >so many boots. Do I have to disable this somehow. > >I suspect a e2fsck on a reiserfs would be bad. > > tune2fs -i 0 -C 0 > > is what u need. I read this on the ext3 patch page but I've got questions about it... - Should that command be in a startup script ?? If so, use /etc/rc.boot ?? - Is there a permanent config file this could be spec'd in ?? I've ran the command and it reported that it work (cycle count set to "0", etc) but I have a feeling that after a reboot, it will be "forgotten". Is that correct ?? Regards Hall PS I believe the "-C" above should be lower-case, as in "-c". At least that's what the patch page showed... maybe they're equivalents.
Re: reiserfs question
Karsten M. Self saw fit to inform me that: >on Sun, Jul 29, 2001 at 03:52:24PM -0500, Kevin C. Smith ([EMAIL PROTECTED]) >wrote: >> Maybe this is a stupid question but: >> >> I plan to try the reiserfs, but an curious about the fsck. >> In particular, about when it runs after so many boots. >> Do I have to disable this somehow. I suspect a e2fsck on a reiserfs >> would be bad. > >This behavior is dictated by your /etc/fstab. ext2fs filesystems will >fsck on some count of mounts (with appropriate mount options). By >specifying 'reiserfs' as the filesystem type, which is necessary to >mount the reiserfs filesystem(s), you'll avoid this behavior. > >Compare, e.g.: vfat, minix, iso9660, and other filesystem types, which >don't run automatic filesystem checks on mount counts. > >e2fsck on a non-ext2fs filesystem will exit with errors, no harm done >(not sure in case of ext3fs). Just yesterday Converted my ext2 file system of Potato to ext3. It was a smooth shift. debian:~# mount /dev/hda3 on / type ext3 (rw,errors=remount-ro,errors=remount-ro) proc on /proc type proc (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) /dev/cdrom on /cdrom type iso9660 (ro,noexec,nosuid,nodev,user=rajesh) /dev/hda6 on /mnt/funstuff type vfat (rw,noexec,nosuid,nodev,errors=remount-ro) /dev/hda5 on /mnt/data type vfat (rw,noexec,nosuid,nodev,errors=remount-ro) /dev/hda1 on /mnt/windows type vfat (rw,noexec,nosuid,nodev,errors=remount-ro) /dev/hda9 on /mnt/ext3 type ext3 (rw,errors=remount-ro) debian:~# debian:~# e2fsck /dev/hda9 e2fsck 1.22, 22-Jun-2001 for EXT2 FS 0.5b, 95/08/09 /dev/hda9: clean, 12/134784 files, 175293/269080 blocks No problems with e2fsck on ext3. However see to it that u have the latest version of e2fsprogs. The current one is 1.22 which works quite well. Warm Regards -- -- Rajesh Fowkar [EMAIL PROTECTED] Kurtarkar Nagari,Bldg-C,T4, http://rajesh.computers.webjump.com Santacruz,Ponda-Goa-403401-INDIAPowered By : Debian GNU/Linux 2.2 R-3 Kernel 2.4.7(with ext3),Mutt 1.3.19i,IceWM "Silence is the true friend that never betrays." - Confucious --
Re: reiserfs question
Kevin C. Smith saw fit to inform me that: >Maybe this is a stupid question but: > >I plan to try the reiserfs, but an curious about the fsck. >In particular, about when it runs after so many boots. >Do I have to disable this somehow. I suspect a e2fsck on a reiserfs >would be bad. tune2fs -i 0 -C 0 is what u need. However make sure that u run e2fsck on your ext2 partitions periodically. HTH Warm Regards -- -- Rajesh Fowkar [EMAIL PROTECTED] Kurtarkar Nagari,Bldg-C,T4, http://rajesh.computers.webjump.com Santacruz,Ponda-Goa-403401-INDIAPowered By : Debian GNU/Linux 2.2 R-3 Kernel 2.4.7(with ext3),Mutt 1.3.19i,IceWM "Silence is the true friend that never betrays." - Confucious --
Re: reiserfs question
on Sun, Jul 29, 2001 at 03:52:24PM -0500, Kevin C. Smith ([EMAIL PROTECTED]) wrote: > Maybe this is a stupid question but: > > I plan to try the reiserfs, but an curious about the fsck. > In particular, about when it runs after so many boots. > Do I have to disable this somehow. I suspect a e2fsck on a reiserfs > would be bad. This behavior is dictated by your /etc/fstab. ext2fs filesystems will fsck on some count of mounts (with appropriate mount options). By specifying 'reiserfs' as the filesystem type, which is necessary to mount the reiserfs filesystem(s), you'll avoid this behavior. Compare, e.g.: vfat, minix, iso9660, and other filesystem types, which don't run automatic filesystem checks on mount counts. e2fsck on a non-ext2fs filesystem will exit with errors, no harm done (not sure in case of ext3fs). Cheers. -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org Free Dmitry!! Boycott Adobe!! Repeal the DMCA!! http://www.freedmitry.org pgpbEuAcpXMpM.pgp Description: PGP signature