Skip to content

Instantly share code, notes, and snippets.

@ggreer
Created August 10, 2011 15:51
Show Gist options
  • Select an option

  • Save ggreer/1137238 to your computer and use it in GitHub Desktop.

Select an option

Save ggreer/1137238 to your computer and use it in GitHub Desktop.
root@ocass49:~# fsck /dev/sda1
fsck from util-linux-ng 2.16
e2fsck 1.41.9 (22-Aug-2009)
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inode 47710529 has illegal block(s). Clear<y>? yes
Illegal block #97294 (1627717636) in inode 47710529. CLEARED.
Illegal block #97295 (1818845558) in inode 47710529. CLEARED.
Illegal block #97297 (2671791616) in inode 47710529. CLEARED.
Illegal block #97302 (4187963470) in inode 47710529. CLEARED.
Illegal block #97305 (1635021573) in inode 47710529. CLEARED.
Illegal block #97307 (1308622848) in inode 47710529. CLEARED.
Illegal block #97309 (1191247872) in inode 47710529. CLEARED.
Illegal block #97310 (1953695232) in inode 47710529. CLEARED.
Illegal block #97311 (1937077345) in inode 47710529. CLEARED.
Illegal block #97313 (2671791616) in inode 47710529. CLEARED.
Illegal block #97315 (1835363625) in inode 47710529. CLEARED.
Too many illegal blocks in inode 47710529.
Clear inode<y>? yes
Restarting e2fsck from the beginning...
/dev/sda1 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Entry 'Rollup5m-6765-Data.db' in /var/lib/cassandra/data/MonitorApp (47710340) has deleted/unused inode 47710529. Clear
<y>? yes
Pass 3: Checking directory connectivity
/lost+found not found. Create<y>? yes
*snip*
14 -96227016 -96227059 -96227061 -96227119 -96227121 -96227154 -96227156 -96227207 -96227209 -96227271 -96227273 -962273
27 -96227329 -96227376 -96227378 -96227422 -96227424 -96227489 -96227491 -96227551 -96227553 -96227613 -96227615 -962276
72 -96227674 -96227733 -96227735 -96227795 -96227797 -96227862 -96227864 -96227926 -96227928 -96227962 -96227964 -962280
23 -96228025 -96228072 -96228074 -96228140 -96228142 -96228199 -96228201 -96228256 -96228258 -96228318 -96228320 -962283
81 -96228383 -(96228832--96228841) -96228846 -96228848 -(96228852--96228854) -(96228860--96228861) -(96228863--96228867)
-(96228872--96228874) -(96228876--96228881) -96228883 -(96228886--96228895) -96228898 -96228908 -(96228914--96228918) -
(96228922--96228923) -(96228926--96228930) -(96228937--96228943) -(96228957--96228965) -(96228969--96228971) -(96228973-
-96228977) -(96228979--96228980) -(96228983--96228986) -(96228988--96228989) -(96229232--96229239) -(96229256--96229263)
-(96229265--96229268) -(96229280--96229289) -(96229293--96229294) -96229296 -(96229298--96229303) -96229311 -(96229376-
-96229384) -(96229392--96229399) -(96229412--96229423) -(96229428--96229431) -(96229480--96229489) -(96229492--96229493)
-(96229520--96229544) -(96229546--96229548) -(96229563--96229565) -(96229768--96229790) -(96229792--96229794) -(9622980
2--96229805) -96229807 -96229811 -(96229813--96229815) -(96229818--96229819) -(96229976--96229987) -(96229989--96229991)
-(96229999--96230013) -(96230019--96230020) -96230022 -(96230024--96230026) -(96230028--96230030) -(96230040--96230043)
-(96230252--96230253) -(96230256--96230257) -(96230260--96230261) -(96230266--96230268) -96230270 -(96230273--96230274)
-96230277 -(96230283--96230288) -96230290 -(96230295--96230299) -96230318 -(96230323--96230326) -96230328 -(96230333--9
6230336) -(96230338--96230339) -96230341 -(96230345--96230347) -96230349 -(96230352--96230353) -96230355 -(96230358--962
30359) -96230361 -(96230365--96230366) -(96230368--96230369) -(96230372--96230373) -96230376 -(96230378--96230379) -9623
0381 -(96230384--96230385) -(96230388--96230390) -(96230394--96230395) -96230397 -(96230400--96230402) -96230404 -(96230
408--96230411) -(96230415--96230418) -(96230421--96230425) -96230428 -96230430 -(96230435--96230440) -96230442 -(9623044
4--96230445) -96230448 -96230450 -96230452 -96230455 -(96230457--96230458) -96230460 -96230463 -(96230976--96230987) -96
230998 -(96231005--96231013) -(96231015--96231017) -(96231020--96231024) -(96231027--96231031) -(96231036--96231037) -(9
6231039--96231041) -96231046 -96231054 -96231056 -(96231066--96231069) -96231071 -(96231075--96231079) -(96231081--96231
085) -(96231091--96231099) -96231103 -(96231224--96231232) -(96231234--96231235) -(96231239--96231240) -(96231280--96231
282) -96231284 -(96231286--96231288) -(96231294--96231296) -(96231298--96231299) -(96231301--96231305) -(96231307--96231
308) -96231315 -(96231317--96231319) -96231322 -(96231330--96231334) -(96231336--96231337) -(96231341--96231342) -(96231
344--96231347) -(96231356--96231364) -96231371 -(96231376--96231379) -(96231382--96231383) -(96231386--96231387) -(96231
390--96231393) -(96231397--96231399) -96231403 -(96231409--96231412) -96231414 -(96231416--96231417) -(96231419--9623142
0) -(96231728--96231738) -(96231740--96231741) -96231743 -(96231750--96231755) -(96231758--96231759) -(96231762--9623176
6) -96231768 -(96231780--96231786) -(96231791--96231793) -96231795 -(96231797--96231798) -(96231801--96231802) -(9623329
6--96234195) -(96234200--96235200) -(96732343--96742569) -(96743600--96749567) -(96749584--96750608) -(96764418--9676442
3) -(96785511--96790131) -(96790144--96792313) -(96792320--96793726) -(96793876--96793879) -(96795395--96795399) -(96823
296--96823482) -(96827366--96829439) -(96829960--96833355) -(96837036--96845318) -(96845320--96846147) -(96847907--96847
911) -(96848968--96852567) -(96852580--96855095) -(96856123--96862207) +(96878197--96878199) +(96881021--96894975) -(968
95490--96895495) -(96914898--96915924) -(96919564--96919567) -(96923661--96923663) -(96928258--96928263) -(96948789--969
49815) -(96958476--96958479) -(96978423--96984584) -(96985612--96993279) -(96993800--97002044) -(97003072--97011287) -(9
7011496--97017672)
Fix<y>? yes
Free blocks count wrong for group #2912 (6601, counted=6720).
Fix<y>? yes
Free blocks count wrong for group #2913 (0, counted=14851).
Fix<y>? yes
Free blocks count wrong for group #2914 (567, counted=6968).
Fix<y>? yes
Free blocks count wrong for group #2915 (24, counted=10641).
Fix<y>? yes
Free blocks count wrong for group #2934 (12, counted=6117).
Fix<y>? yes
Free blocks count wrong for group #2935 (6470, counted=8392).
Fix<y>? yes
Free blocks count wrong for group #2936 (16046, counted=20867).
Fix<y>? yes
Free blocks count wrong for group #2952 (3331, counted=20551).
Fix<y>? yes
Free blocks count wrong for group #2953 (5833, counted=14046).
Fix<y>? yes
Free blocks count wrong for group #2954 (2401, counted=4662).
Fix<y>? yes
Free blocks count wrong for group #2955 (4033, counted=28746).
Fix<y>? yes
Free blocks count wrong for group #2956 (0, counted=18028).
Fix<y>? yes
Free blocks count wrong for group #2957 (0, counted=1040).
Free blocks count wrong (93969283, counted=94123099).
Fix<y>? yes
yyyyyyyyyyyInode bitmap differences: -47710529
Fix<y>? yes
Free inodes count wrong for group #2912 (15692, counted=15693).
Fix<y>? yes
Free inodes count wrong (77147819, counted=77147820).
Fix<y>? yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment