Linux RAID subsystem development
 help / color / mirror / Atom feed
* Can't mount partitions after "mdadm --zero-superblock"
@ 2015-04-06 23:45 Eduard Rozenberg
  2015-04-07  0:52 ` NeilBrown
  0 siblings, 1 reply; 6+ messages in thread
From: Eduard Rozenberg @ 2015-04-06 23:45 UTC (permalink / raw)
  To: linux-raid

Hello folks,

I previously had the following setup:

sda & sdb partitioned w/ GPT, 7 partitions each (usr, opt, var etc...)
7 raid1’s with 2 devices for each pair of partitions (/dev/sda1 & /dev/sdab1, etc)
They’d been created under Slackware 13.37.

I was trying to clean out mdadm from those partitions but keep the data so I ran 
"mdadm --zero-superblock” on each of those previously RAID1 mdadm 1.2 ext4 
partitions.

As a result I am now currently unable to mount any partition after the first one on either
disk. The first partition does mount. The partition table is visible and looks fine in gdisk.

mount -t ext4 /dev/sdac2 /mnt
mount: wrong fs type, bad option, bad superblock on /dev/sdac2,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so

I did try superblock recovery with each backup superblock that ext4 normally creates,
but none of the superblock locations worked.

For example:

fsck.ext4 -b 4096000 /dev/sdac2 
e2fsck 1.42.8 (20-Jun-2013)
/sbin/e2fsck: Invalid argument while trying to open /dev/sdac2

The superblock could not be read or does not describe a correct ext2
filesystem. If the device is valid and it really contains an ext2
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>


Would be grateful for any advice on anything else I can try.

Regards,
—Ed--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-10  2:53 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-06 23:45 Can't mount partitions after "mdadm --zero-superblock" Eduard Rozenberg
2015-04-07  0:52 ` NeilBrown
2015-04-07  1:33   ` Eduard Rozenberg
2015-04-07  1:52     ` NeilBrown
2015-04-07  3:31   ` Eduard Rozenberg
2015-04-10  2:53     ` Personal insight - " Eduard Rozenberg

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox