Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $ sudo fsck -y /dev/sdc1
- fsck from util-linux 2.27.1
- e2fsck 1.42.13 (17-May-2015)
- /dev/sdc1: clean, 304068/1368064 files, 3255041/5469696 blocks
- $ sudo fsck -y /dev/sdc
- fsck from util-linux 2.27.1
- e2fsck 1.42.13 (17-May-2015)
- ext2fs_open2: Bad magic number in super-block
- fsck.ext2: Superblock invalid, trying backup blocks...
- fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc
- The superblock could not be read or does not describe a valid ext2/ext3/ext4
- filesystem. If the device is valid and it really contains an ext2/ext3/ext4
- filesystem (and not swap or ufs or something else), then the superblock
- is corrupt, and you might try running e2fsck with an alternate superblock:
- e2fsck -b 8193 <device>
- or
- e2fsck -b 32768 <device>
- Select a media (use Arrow keys, then press Enter):
- Disk /dev/sda - 1000 GB / 931 GiB - HGST HTS541010A9E680
- Disk /dev/sdb - 120 GB / 111 GiB - Mass Storage Device
- Disk /dev/sdc - 31 GB / 29 GiB - Generic- SD/MMC
- Disk /dev/mmcblk0 - 31 GB / 28 GiB
- Intel partition table type has been detected.
- Disk /dev/sdc - 31 GB / 29 GiB - CHS 30436 64 32
- Current partition structure:
- Partition Start End Size in sectors
- 1 * Linux 71 0 1 21436 63 32 43757568
- Warning: Bad ending sector (CHS and LBA don't match)
- 2 P HPFS - NTFS 21437 0 1 30435 63 32 18429952
- Warning: Bad starting sector (CHS and LBA don't match)
- *=Primary bootable P=Primary L=Logical E=Extended D=Deleted
- Disk /dev/sdc - 31 GB / 29 GiB - CHS 30436 64 32
- Partition Start End Size in sectors
- * Linux 0 1 32 21366 1 31 43757568
- P HPFS - NTFS 21437 0 1 30435 63 32 18429952
- No partition 21366 1 32 21436 63 32 145345
- [Cylinder] [ Head ] [ Sector ] [Cylinder] [ Head ] [ Sector ]
- [ Type ] [ Done ]
- GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
- Libparted 3.2
- Check and repair file system (ext2) on /dev/sdc1 00:00:43 ( SUCCESS )
- calibrate /dev/sdc1 00:00:00 ( SUCCESS )
- path: /dev/sdc1 (partition)
- start: 145408
- end: 43902975
- size: 43757568 (20.87 GiB)
- check file system on /dev/sdc1 for errors and (if possible) fix them 00:00:43 ( SUCCESS )
- e2fsck -f -y -v -C 0 /dev/sdc1 00:00:43 ( SUCCESS )
- 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
- 304068 inodes used (22.23%, out of 1368064)
- 18194 non-contiguous files (6.0%)
- 341 non-contiguous directories (0.1%)
- # of inodes with ind/dind/tind blocks: 15830/280/0
- 3255041 blocks used (59.51%, out of 5469696)
- 0 bad blocks
- 1 large file
- 238364 regular files
- 35989 directories
- 1 character device file
- 0 block device files
- 0 fifos
- 35 links
- 29140 symbolic links (27509 fast symbolic links)
- 565 sockets
- ------------
- 304094 files
- e2fsck 1.42.13 (17-May-2015)
- grow file system to fill the partition 00:00:00 ( SUCCESS )
- resize2fs -p /dev/sdc1 00:00:00 ( SUCCESS )
- resize2fs 1.42.13 (17-May-2015)
- The filesystem is already 5469696 (4k) blocks long. Nothing to do!
Add Comment
Please, Sign In to add comment