Announcement

Collapse
No announcement yet.

chdsk

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    chdsk

    Is there any form of chdsk on kubuntu and if there is how do I run it

    #2
    Re: chdsk

    The "general" answer is File System Check = fsck

    Learn all about about it either with
    Code:
    man fsck
    in a console window on your system, or online someplace like this:

    http://www.oreillynet.com/linux/cmd/

    But the "particular" answer for your ext2/3/4 filesystem is e2fsck, which is also found on the link I gave you. Use the "-pvy" options to fix any errors and see the results.

    Note that your selected partition must be un-mounted before you run the check on it. Use a Live CD if you need to check your root filesystem.

    Comment


      #3
      Re: chdsk

      Did that just yesterday.

      Booted a LiveCD.
      Opened a Konsole and issued
      fdisk -l
      to see how my HD device was mapped. (/dev/sda1)
      Then I issued

      e2fsck -pvy /dev/sda1

      If I understand it correctly, fsck is just a front end which selects the specific fs checker. e2fsck bypasses fschk and allows the use of some extra parameters. Windows users are always concerned about fragmentation, and rightly so. When they migrate to Linux they bring that concern with them. e2fsl can also check file fragmentation:

      e2fsck -D fragcheck /dev/sda1

      That's a fragcheck, NOT a defragmenter. BUT, ext2, ext3 and ext4 are very efficient in their use of hard drive space, and rarely does the fragmentation exceed 4%. So, basically, running fragcheck is a waste of time.
      "A nation that is afraid to let its people judge the truth and falsehood in an open market is a nation that is afraid of its people.”
      – John F. Kennedy, February 26, 1962.

      Comment

      Working...
      X