Tag Info

New answers tagged

3

It won't work, if the filesystem was installed in a partition (e. g. sda1). fsck and its brethren are tools for performing maintenance on filesystems (hence the name: filesystem ccheck), not of block devices. It is, I suppose, theoretically possible to put a filesystem directly onto a block device by way of something like mke2fs -j /dev/sda, but this is ...


5

When fsck runs, it should first try to locate the superblock of a filesystem to begin traversing the filesystem's structure in order to validate it. Since the /dev/sda device corresponds to whole drive, the first portion of the disk will likely contain the partition table or Master Boot Record and fsck will not be able to locate the superblock for a ...


2

First things first, you should check whether or not your process is still attached to your terminal. $ ps -eo comm,tty | grep fsck Now, if you can still see a TTY value next to your process, you can still get its output (from this TTY). You can get your current TTY's ID using tty. However, if there's a ? next to your process, I'm afraid you can't get its ...


2

You should to try to rebuild the catalog file (B-tree) on the specified file system (which is HFS+) by specifying -r option for fsck, for example: $ fsck.hfsplus -fryd /dev/sdd2 This option currently will only work if there is enough contiguous space on the specified file system for a new catalog file and if there is no damage to the leaf nodes in the ...


2

If your partitions are mounted depends on the Live CD, the ones I used until now did not automount harddisk partitions. In general, fsck should not be run on filesystems, which are mounted writeable. To be sure, you can use the -M switch for fsck, which causes an error if the filesystem is mounted. Also, you can use -n to only check, without attempting ...


0

Why do you need to check from a live CD? if your partition is ext2/3/4 which is the most probable scenario, the system checks the disk every X system startups or every X days from the last check. You can vary those periods of time with tune2fs and your drive will be checked when the system is started and the period has been reached. Anyway, you can start ...



Top 50 recent answers are included