removido
(usa Nenhuma)
Enviado em 04/12/2010 - 00:34h
# fsck.ext4 /dev/sda6
e2fsck 1.41.12 (17-May-2010)
/dev/sda6 is mounted.
WARNING!!! The filesystem is mounted. If you continue you ***WILL***
cause ***SEVERE*** filesystem damage.
Do you really want to continue (y/n)? cancelled!
check aborted.
* Estava montada, vou desmontar a partição:
# umount /dev/sda6
usarei o modo verbose:
# fsck.ext4 -cv /dev/sda6
e2fsck 1.41.12 (17-May-2010)
Checking for bad blocks (read-only test): done
/dev/sda6: Updating bad block inode.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/sda6: ***** FILE SYSTEM WAS MODIFIED *****
4719 inodes used (0.71%)
17 non-contiguous files (0.4%)
1 non-contiguous directory (0.0%)
# of inodes with ind/dind/tind blocks: 0/0/0
Extent depth histogram: 4703
126155 blocks used (4.72%)
0 bad blocks
1 large file
4073 regular files
631 directories
0 character device files
0 block device files
0 fifos
0 links
6 symbolic links (6 fast symbolic links)
0 sockets
--------
4710 files
file-system ext4, opções -c e -v, para maiores detalhes:
# fsck --help
fsck from util-linux-ng 2.17.2
fsck.ext4: invalid option -- 'h'
Usage: fsck.ext4 [-panyrcdfvtDFV] [-b superblock] [-B blocksize]
[-I inode_buffer_blocks] [-P process_inode_size]
[-l|-L bad_blocks_file] [-C fd] [-j external_journal]
[-E extended-options] device
Emergency help:
-p Automatic repair (no questions)
-n Make no changes to the filesystem
-y Assume "yes" to all questions
-c Check for bad blocks and add them to the badblock list
-f Force checking even if filesystem is marked clean
-v Be verbose
-b superblock Use alternative superblock
-B blocksize Force blocksize when looking for superblock
-j external_journal Set location of the external journal
-l bad_blocks_file Add to badblocks list
-L bad_blocks_file Set badblocks list
é isso que você quer?