Tagged Questions

The tag has no wiki summary.

learn more… | top users | synonyms

1
vote
1answer
32 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
47 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 ...
1
vote
1answer
254 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
104 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
496 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 ...
1
vote
0answers
54 views

Superblock for /dev/sdb1 is wrong size: won't boot

I installed Red Hat as a VM and while it shows files for /dev/sda1 there are no files for /dev/sdb1. When booting I enter a recovery login and a statement that "the /dev/sdb1 Superblock can not be ...
2
votes
1answer
111 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
288 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 ...
3
votes
1answer
1k 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
3k 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
3k 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
882 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 ...
22
votes
4answers
38k 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
1k 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
5k 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 ...