Re: file system check, and defrag

From: Ron Johnson (ron.l.johnson_at_cox.net)
Date: 11/04/03

  • Next message: Karsten M. Self: "Re: Apt-get error with package diff"
    To: Debian-User <debian-user@lists.debian.org>
    Date: Tue, 04 Nov 2003 04:30:54 -0600
    
    

    On Tue, 2003-11-04 at 03:47, Kordula Martin wrote:
    > Hi all,
    >
    > being real new to Debian, and fairly new to Linux, I have the following
    > questions -
    >
    > I have 3.0r1 Woody installed with ext3 file systems and would like to
    > periodically check, and then defrag, the file system(s).
    >
    > 1. How (and what is the best way) to do this?

    You don't need to defragment files unless you use DOS/Windows
    filesystems like FAT or NTFS.

    > 2. Other distributions I've had installed, run a file system check at
    > bootup. Why not Debian?

    Debian most certainly will/does do fsck at boot time, just not
    every time. Imagine how long boots would be with modern-sized
    disks. Look at the tune2fs mn page, and search for the -c and -i
    options, for the reason.

    To force an fsck on the next boot, "# touch /forcefsck". See
    /etc/init.d/checkroot.sh for example.

    > 3. How can I setup Debian to check at bootup?

    See answer #2.

    > Thanks in advance!
    > Kordula

    -- 
    -----------------------------------------------------------------
    Ron Johnson, Jr. ron.l.johnson@cox.net
    Jefferson, LA USA
    Spit in one hand, and wish for peace in the other.
    Guess which is more effective...
    -- 
    To UNSUBSCRIBE, email to debian-user-request@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Karsten M. Self: "Re: Apt-get error with package diff"

    Relevant Pages

    • penguin logo during boot time.
      ... i am working in Debian from Past 7 year. ... when i boot my box everything is working fine but i havent seen a penguin logo which i used to see during a boot time. ...
      (Debian-User)

    • ... i am working in Debian from Past 7 year. ... logo which i used to see during a boot time. ...
      (Debian-User)
    • Re: Bootloader
      ... load the Debian based stuff. ... # array will desync and will not let you boot your system. ... ## should update-grub add savedefault to the default options ... # This entry automatically added by the Debian installer for a non-linux OS ...
      (alt.os.linux)
    • RE: Debian LIVE CD
      ... Bootcd is very simple. ... it will boot to the same machine as it was created from. ... Creating a LIVE CD with Debian Testing ... PXE/TFTP Boot server within a M$ DHCP Environment ...
      (Debian-User)
    • Re: install
      ... The boot loader is ... Mandrake lilo. ... Mandrake lilo may ... Mandrake or Debian, edit /etc/lilo.conf (in Debian. ...
      (Debian-User)