The tag has no usage guidance.

learn more… | top users | synonyms

0
votes
0answers
47 views

How do I repair an ext3 filesystem (superblock)?

Disk setup (2) 300GB HDDs in RAID 1 /dev/sda1 - ext3 /boot (1GB) /dev/sda2 - swap swap (20GB) /dev/sda3 - LVM (179GB) (2) 500GB HDDS in RAID 1 /dev/sdb1 - LVM (500GB) LVM - System (...
0
votes
0answers
30 views

ubuntu / mint / debian bad super blocks EVERY TIME

i have been having some trouble with bad super blocks. Starts up in busybox terminal or black screen. linux mint (lts) bad superblock i installed linux mint and had a bunch of bad super blocks, so ...
1
vote
1answer
54 views

Filesystem: How to find block of file represented by inode? [closed]

I am writing a file system for my operating system and am doing research on existing file systems before I start designing my own. I came across some slides about the System Five File System and am ...
2
votes
3answers
353 views

How can I identify the filesystem/partition type

My hard drive got corrupted at some point after mounting an mtpfs system. I would ask how to fix that, but I'm not confident about the partition and file system types. My OS is new Fedora Core 23, ...
2
votes
1answer
430 views

How to fix BTRFS superblock error after resize/shrink (BTRFS: couldn't get super buffer head for bytenr 274877906944)

BTRFS RAID1 array with 2 500 GB hdds, no errors. This is the root filesystem, so there are 3 partitions on each drive: 1 = /boot (ext4), 2 = / (btrfs), 3 (swap) /boot is ext4 because upgrading the ...
0
votes
1answer
127 views

Force Filesystem Reread / Remount

Is it possible to force a complete re-read of a mounted filesystem (EXT4) from disk in a blocking manner? I have a potential situation where independent and external hardware can modify a filesystem ...
1
vote
0answers
209 views

Overwritten superblock and dd backup files recovery

Good day, yesterday I tried to extend my swap partition ('cause suspend/hibernation didn't work) and I needed to decrease size of my debian linux disk (I don't ever remember if it was ext2/et3 or what)...
1
vote
1answer
526 views

Recovering from bad superblock on external drive

read a few similar questions/posts and tried the solutions, still stuck. My scenario is simple, external ext4 drive was powered off (via cat) while operating, and failed to mount on boot. As I dug ...
1
vote
1answer
403 views

An existing mdadm RAID5 is not mounting, Either a problem drive or Superblock

I have 4 x 3TB NAS setup as RAID5 which has been working great for almost a year. After a recent abrupt shutdown (had to hit the power button) the RAID will no longer mount on boot up. I've run: ...
2
votes
1answer
829 views

Physical volumes, logical volumes, superblocks gone… how to boot?

A story fairly similar to this one happened to me yesterday. Update: My only hard drive /dev/sda was originally partitioned this way: Device Boot Start End Blocks Id System /dev/...
2
votes
2answers
244 views

data recovery from form an accidental format on ext4 partition

When I was installing Mint Debian edition unlike the classic edition, the installation automatically formated my home partition when I did not specify to format. So the formatting previously was ext4 ...
1
vote
1answer
564 views

Creating disk device in a file

I'm trying to create disk device in a file with: dd if=/dev/zero of=file.img bs=516096 count=1000 sudo losetup /dev/loop0 file.img (echo n; echo p; echo 1; echo ""; echo ""; echo w;) | sudo fdisk -u -...
1
vote
2answers
368 views

mdadm metadata: should i take precautions to prevent superblock overwrite?

Situation: I'm creating a new RAID1 array using mdadm. I won't be using additional layers, such as LVM or dm-crypt. I've noticed that metadata version 1.2 is now the default. I understand it's the ...
2
votes
1answer
1k views

Ext2 block structure: size of reserved GDT Blocks

In every publication I found about ext2, the structure of a block group is defined as following: Super Block: 1 block Group Descriptor: N blocks Data Bitmap: 1 block Inode Bitmap: 1 block Inode ...
0
votes
1answer
215 views

e2fsck giving some error

I am playing with LVM and while doing lvreduce. I now get this error: [root@localhost raja]# e2fsck -f /dev/vg1/lvol2 e2fsck 1.41.12 (17-May-2010) e2fsck: Superblock invalid, trying backup blocks... ...
4
votes
1answer
2k views

How can I dump the contents of a filesystem's superblock?

I understand that I can list the location of a filesystem's superblocks using the following commands. Example First get the device handle for the current directory. $ df -h . Filesystem ...
2
votes
1answer
210 views

Relation between “Block Size”and “Upper Limits” in ext2

A similar looking question asks for the reason why the upper file limit could be 2 TB in ext2. I am trying to understand but the Documentation on ext2 but find this hard. Please correct me if I'm ...
2
votes
1answer
516 views

mdadm + lvm2: destroyed all superblocks accidentally

I accidentally overwrote all my RAID1 superblocks with garbage. I think this happened because I ALT-CTRL-DEL booted when the Ubuntu had put me in some kind of hard disk recovery mode. My display wasn'...
3
votes
1answer
2k views

mdadm - Accidentally ran “mdadm --create” on an existing raid-1. The superblock is now corrupt and I am unable to recover data. Did I bork my data?

I have /dev/sdb1 and /dev/sdc2 that were previously setup into a RAID-1 with mdadm, but then I reinstalled and lost the old configuration. Out of idiocy, I ran sudo mdadm --create /dev/md0 --level=1 ...
4
votes
3answers
5k views

lost superblock in md raid

Issue on Red Hat Linux 5. Due to some miscommunication two LUNs in our environment were enlarged from 1.2 TB to 1.7 TB. Now, after a reboot, mdadm does not find the superblocks to build the array ...
2
votes
1answer
2k views

Unable to mount /home/ partition after reinstalling grub after reinstalling windows 7

I've reinstall windows 7 on it's asignated partition and, as usually, it override the MBR with it's own stuff and, thus, it was not possible to boot to my ubuntu 12.04 partition. I followed the step ...
4
votes
1answer
4k views

Recover a reiserfs hard disk

I'm unable to mount my 300GB external (in external enclosure) HDD's single partition. None of the fsck tools add anything, they cannot even recognize the partition. I had forgotten whether I had used ...
2
votes
0answers
1k views

Superblock corruption on every boot

I have a Linux Mint 12 install on my laptop. Yesterday I powered it off like I always do and this morning when I started it I was greeted by an error screen. (Translated from Swedish) Fatal ...
29
votes
4answers
85k views

Recovering ext4 superblocks

Recently, my external hard drive enclosure failed (the hard drive itself powers up in another enclosure). However, as a result, it appears its EXT4 file system is corrupt. The drive has a single ...
2
votes
1answer
2k views

All my superblocks are corrupt!

I am having a problem with my ubuntu ext3 filesystem. I can't boot from it or mount the volume when running live CD. When I try e2fsck I get: "Bad magic number in super-block while trying to open /...
4
votes
1answer
9k views

e2fsck: unable to set superblock flags on LogicalVolume

When I boot my machine either in normal mode or runlevel 1 it throws following error and I'm unable to boot the machine: checking filesystems /dev/MyGroup/LogVol00: UNEXPECTED INCONSISTENCY; RUN ...