Guest User

Untitled

a guest
Oct 21st, 2018
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. $ sudo fsck -y /dev/sdc1
  2. fsck from util-linux 2.27.1
  3. e2fsck 1.42.13 (17-May-2015)
  4. /dev/sdc1: clean, 304068/1368064 files, 3255041/5469696 blocks
  5.  
  6. $ sudo fsck -y /dev/sdc
  7. fsck from util-linux 2.27.1
  8. e2fsck 1.42.13 (17-May-2015)
  9. ext2fs_open2: Bad magic number in super-block
  10. fsck.ext2: Superblock invalid, trying backup blocks...
  11. fsck.ext2: Bad magic number in super-block while trying to open /dev/sdc
  12.  
  13. The superblock could not be read or does not describe a valid ext2/ext3/ext4
  14. filesystem. If the device is valid and it really contains an ext2/ext3/ext4
  15. filesystem (and not swap or ufs or something else), then the superblock
  16. is corrupt, and you might try running e2fsck with an alternate superblock:
  17. e2fsck -b 8193 <device>
  18. or
  19. e2fsck -b 32768 <device>
  20.  
  21. Select a media (use Arrow keys, then press Enter):
  22.  
  23. Disk /dev/sda - 1000 GB / 931 GiB - HGST HTS541010A9E680
  24.  
  25. Disk /dev/sdb - 120 GB / 111 GiB - Mass Storage Device
  26.  
  27. Disk /dev/sdc - 31 GB / 29 GiB - Generic- SD/MMC
  28.  
  29. Disk /dev/mmcblk0 - 31 GB / 28 GiB
  30.  
  31. Intel partition table type has been detected.
  32.  
  33. Disk /dev/sdc - 31 GB / 29 GiB - CHS 30436 64 32
  34. Current partition structure:
  35. Partition Start End Size in sectors
  36.  
  37. 1 * Linux 71 0 1 21436 63 32 43757568
  38.  
  39. Warning: Bad ending sector (CHS and LBA don't match)
  40. 2 P HPFS - NTFS 21437 0 1 30435 63 32 18429952
  41.  
  42. Warning: Bad starting sector (CHS and LBA don't match)
  43.  
  44.  
  45. *=Primary bootable P=Primary L=Logical E=Extended D=Deleted
  46.  
  47. Disk /dev/sdc - 31 GB / 29 GiB - CHS 30436 64 32
  48. Partition Start End Size in sectors
  49. * Linux 0 1 32 21366 1 31 43757568
  50. P HPFS - NTFS 21437 0 1 30435 63 32 18429952
  51.  
  52. No partition 21366 1 32 21436 63 32 145345
  53.  
  54.  
  55. [Cylinder] [ Head ] [ Sector ] [Cylinder] [ Head ] [ Sector ]
  56. [ Type ] [ Done ]
  57.  
  58. GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
  59.  
  60. Libparted 3.2
  61. Check and repair file system (ext2) on /dev/sdc1 00:00:43 ( SUCCESS )
  62.  
  63. calibrate /dev/sdc1 00:00:00 ( SUCCESS )
  64.  
  65. path: /dev/sdc1 (partition)
  66. start: 145408
  67. end: 43902975
  68. size: 43757568 (20.87 GiB)
  69. check file system on /dev/sdc1 for errors and (if possible) fix them 00:00:43 ( SUCCESS )
  70.  
  71. e2fsck -f -y -v -C 0 /dev/sdc1 00:00:43 ( SUCCESS )
  72.  
  73. Pass 1: Checking inodes, blocks, and sizes
  74. Pass 2: Checking directory structure
  75. Pass 3: Checking directory connectivity
  76. Pass 4: Checking reference counts
  77. Pass 5: Checking group summary information
  78.  
  79. 304068 inodes used (22.23%, out of 1368064)
  80. 18194 non-contiguous files (6.0%)
  81. 341 non-contiguous directories (0.1%)
  82. # of inodes with ind/dind/tind blocks: 15830/280/0
  83. 3255041 blocks used (59.51%, out of 5469696)
  84. 0 bad blocks
  85. 1 large file
  86.  
  87. 238364 regular files
  88. 35989 directories
  89. 1 character device file
  90. 0 block device files
  91. 0 fifos
  92. 35 links
  93. 29140 symbolic links (27509 fast symbolic links)
  94. 565 sockets
  95. ------------
  96. 304094 files
  97. e2fsck 1.42.13 (17-May-2015)
  98. grow file system to fill the partition 00:00:00 ( SUCCESS )
  99.  
  100. resize2fs -p /dev/sdc1 00:00:00 ( SUCCESS )
  101.  
  102. resize2fs 1.42.13 (17-May-2015)
  103. The filesystem is already 5469696 (4k) blocks long. Nothing to do!
Add Comment
Please, Sign In to add comment