Superblock does not wear tights
Here are some things I didn't want to learn today:
1. Those cheap, foxconn computers are apparently worthless in any role where you are accessing storage via USB
2. Though fsck may call your ext3 filesystem an ext2 filesystem, it does actually know what its doing.
3. The command to search for backup superblocks is dumpe2fs:
sudo dumpe2fs /dev/sdb1 | grep -i superblock
Primary superblock at 0, Group descriptors at 1-117
Backup superblock at 32768, Group descriptors at 32769-32885
Backup superblock at 98304, Group descriptors at 98305-98421
Backup superblock at 163840, Group descriptors at 163841-163957
Backup superblock at 229376, Group descriptors at 229377-229493
Backup superblock at 294912, Group descriptors at 294913-295029
Backup superblock at 819200, Group descriptors at 819201-819317
Backup superblock at 884736, Group descriptors at 884737-884853
Backup superblock at 1605632, Group descriptors at 1605633-1605749
Backup superblock at 2654208, Group descriptors at 2654209-2654325
Backup superblock at 4096000, Group descriptors at 4096001-4096117
Backup superblock at 7962624, Group descriptors at 7962625-7962741
Backup superblock at 11239424, Group descriptors at 11239425-11239541
Backup superblock at 20480000, Group descriptors at 20480001-20480117
Backup superblock at 23887872, Group descriptors at 23887873-23887989
Backup superblock at 71663616, Group descriptors at 71663617-71663733
Backup superblock at 78675968, Group descriptors at 78675969-78676085
Backup superblock at 102400000, Group descriptors at 102400001-102400117
Backup superblock at 214990848, Group descriptors at 214990849-214990965
4. and then maybe you fix it with this? Note its e2fsck and not just fsck
sudo e2fsck -b 32768 /dev/sdb1
What is a superblock, you ask? A superblock is this thing in your hard drive that both of us don't want to know about. I spent $805 last month renting windows azure computers that generated so much data I had to then buy a $200 western digital external hard drive. Since I regularly flip between windows and linux, I connected the hard drive to one of my cheap ass foxconn computers. That may have been a mistake, because after downloading most of the generated data, the journal and primary superblock of the filesystem got corrupted.
Anyway, might as well put these here:
Lets find out if any of these are still good! Yay!
[edit]
running fsck on /dev/sdb will always fail because you need to run it on /dev/sdb1 ....
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment