Questions tagged [superblock]
25 questions
12
votes
2 answers
FAT filesystem - bad superblock
Last night my android phone said it can't read the SD card and it wanted to format it. I pulled it out, put it in a card reader and tried to mount it on my desktop pc:
$ sudo mount /dev/sdb1 tmp
[sudo] password for ivan:
mount: /dev/sdb1: can't…
Ivan Petrushev
- 1,719
7
votes
5 answers
SD card failure, can't read superblock
What is wrong with my SD card and is it salvageable? At very least to get the current data off.
Information: I have an 8 GB Transcend Class 6 SDHC card that I got for my camera recently. It was working fine until one day out hiking the camera just…
Narcolapser
- 878
3
votes
3 answers
mdadm Ubuntu 12.04 fails to assemble RAID6 during boot
I will try to keep this short.
I have a mdadm RAID 6 with 11 drives. This has for years "just worked" across reinstalls and such, without any issues. I have not even had the need for configuring mdadm.conf.
After the 12.04 release, i can no longer…
Ueland
- 41
3
votes
1 answer
How do I check for bad superblocks and fix them on a USB device in Ubuntu 10.04
I've found some instructions for this, but it seems the fsck options are outdated. Currently I am trying:
mke2fs -n /dev/sdc4
then using the blocks listed in this:
fsck -y -b 163840 /dev/sdc4
Actually, as I look at the fsck help, it would…
fightermagethief
- 863
- 4
- 12
- 26
3
votes
0 answers
Bad magic number in super-block / Invalid argument while trying to open /dev/sda12
How can i recover my corrupted hardisk partition ?
I can tried to recover this partition using GParted but GParted see an error message
GParted 0.25.0 --enable-libparted-dmraid --enable-online-resize
Libparted 3.2 Check and repair file system…
2
votes
1 answer
Degraded RAID5 and no md superblock on one of remaining drive
This is actually on a QNAP TS-509 NAS. The RAID is basically a Linux RAID.
The NAS was configured with RAID 5 with 5 drives (/md0 with /dev/sd[abcde]3). At some point, /dev/sde failed and drive was replaced. While rebuilding (and not completed),…
ark1214
- 23
- 1
- 3
2
votes
2 answers
Will mdadm --zero-superblock render my Windows drive unbootable?
I have Windows 7 installed on a drive that used to be part of a RAID-1 array. Apparently the drive still contains the old RAID metadata, as when I boot into Ubuntu (which is installed elsewhere), the drive appears to be part of /dev/md127.
I know I…
jl6
- 1,205
2
votes
0 answers
Bad Superblock when mounting LVM SSD
I made a complete copy of my Fedora boot ssd using dd however the new drive does not boot correctly and is not mountable when connected via usb enclosure on a different machine. I get a bad superblock error when trying to mount /dev/fedora/home and…
2
votes
2 answers
Recovering from "failure reading sector"
When I boot up my laptop (with only opensuse installed, no other OS on it), I'm greeted with error: failure reading sector 0x802 from 'hd0'. and get put into GRUB rescue prompt.
I used the original installation USB to boot up a rescue Linux system.…
Sundar R
- 1,539
1
vote
1 answer
ext4 superblock backup locations are different from what is documented
When I format an ext4 filesystem the mkfs says:
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000
My sparse_super flag is ON, so according to the ext4 description, the…
HEKTO
- 145
1
vote
1 answer
ext4 superblock checksum?
I'm reading the ext4 superblock, but its s_checksum (offset 0x3FC) is always zero. Also the s_checksum_type (offset 0x175) field is zero as well, however according to https://ext4.wiki.kernel.org/index.php/Ext4_Disk_Layout#The_Super_Block
it should…
HEKTO
- 145
1
vote
1 answer
Bad superblock on /dev/md0
I have an mdadm RAID 5 array running on Debian Wheezy. It's comprised of 3x 2TB drives.
I've obviously done something stupid, because now I can't mount it and it's throwing up the following error:
mount: wrong fs type, bad option, bad superblock on…
lachlanroy
- 41
1
vote
1 answer
HDD is preventing ubuntu from installing
I have recently attempted to install ubuntu on my laptop, replacing windows 7.
The HDD was working fine with windows 7.
On my first attempt to install ubuntu it kept giving me an error that was saying it could not create the partitions needed for…
prolink007
- 421
1
vote
0 answers
RAID 1 to RAID 5 failure
I need your valuable help on this:
I have a NAS which is capable of having a RAID with four disks. I used it for a long time with only two, sda and sdd on RAID 1 - they are WD30EFRX. Now, I bought two more WD30EFRX (refurbished) and my idea was to…
Jorge Nunes
- 11
1
vote
1 answer
Drive changed mapping during e2fsck process
I'm unsure if "mapping" is the right term.
Short:
I ran the following command:
$ sudo e2fsck -b 32768 /dev/sde1
e2fsck 1.46.3 (27-Jul-2021)
/dev/sde1 was not cleanly unmounted, check forced.
Pass 1: Checking inodes, blocks, and sizes
Error reading…
Scott H.
- 11