Ubuntu Servers :: Bad Superblock /dev/md0 Softraid 10.04?

Mar 24, 2011

This might take a little while to explain so please bear with me. I just bought a HP N36L microserver to replace my Netgear ReadyNAS as it has 4 bays as opposed to the 2 in the Netgear, the HP came with a 250GB Seagate drive in so I installed Ubuntu 10.04 server onto that as a minimal install in a 5GB partition, selected basic server, lamp and samba during the setup and then once installed added the minimal gui, all good so far.

The idea was to have 3 1TB drives in the HP running software Raid 5 and after trying to do this via the disk utility gui and having misaligned cylinders I found this guide for setting up the Raid 5 array - http://www.jamierf.co.uk/2009/11/04/...n-ubuntu-9-10/ Now the problem with setting up the raid was I had just over 900GB of data on the 2 disks in the Netgear and not enough space anywhere to back it all up so the plan was to install 1 x 1TB drive and format to ext4 and transfer all the data onto it from the Netgear, then pull the 2 drives from the Netgear and build the Raid 5 array using just those 2, then copy the data from the 3rd drive onto the raid and then add the 3rd drive and grow the array.

This actually was all going fine, 2 disk array was built, data transferred and all was good so added the 3rd drive to the array and issued the grow command, after many hours this completed and I had a 2.0TB filesystem icon on the desktop.

Now the problem, the last two steps were to unmount the array and run an fsck on it (as per the guide) and then grow the filesystem but the array wouldn't unmount it kept saying it was busy, I tried to force it but still nothing so I decided to reboot (my windows background coming back to haunt me perhaps) when the box came back up it failed to mount the array due to a bad superblock


View 9 Replies


Server :: Mounting Drive Bad Superblock Error Wrong Fs Type, Bad Option, Bad Superblock On /dev/sda1?

Jun 16, 2010

I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:

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

Does anyone know who I can repair the drive and retrive data?

View 1 Replies View Related

OpenSUSE Install :: Error Message Was 'bad Magic Number, Corrupt Superblock' With A Suggested Command To Try Another Superblock?

May 14, 2011

After several crashes during videos it seemed like a good idea to fsck root. Downloaded the latest systemrescuecd and ran it at boot. The error message was 'bad magic number, corrupt superblock' with a suggested command to try another superblock. That failed with the same message. Tried tune2fs to force fsck at boot and got the same message. The drive is less than 6 months old and the installed system is working more or less ok. The command I used was 'fsck.ext4 /dev/sdc2'. What am I doing wrong?

View 9 Replies View Related

Ubuntu Servers :: Reassembling Raid 5 With Missing Disk - No Superblock?

Apr 14, 2010

One of my raid disks (was a software raid5 with 4 drives) failured. I wanted to buy a new 1.5TB harddisk anyway so i i copied all the Raid data onto the new disk and disconnected the old ones. But then the new Disc crashed right before i could mirror it with another 1.5TB disk. So i need to reassemble my old Raid 5 now. I connected the drives in the former order except the first one, because this was the failed disk. The problem is, mdadm can't find the raid, no superblocks. Fdisk doesnt show mdraid superblocks, too. But fdisk has never showed superblocks. The thing is, this raid was crypted, but i crypted the /dev/md0, so this doesn't affect anything here, or?

some infos:


server:~# mdadm --misc -d /dev/sda
mdadm: option -d not valid in misc mode
server:~# mdadm --misc -t /dev/sda


Disk /dev/sdc doesn't contain a valid partition table But fdisk always said there is no valid partition table and the raid was working.

View 4 Replies View Related

Ubuntu Servers :: Safely Remove Mdadm RAID Superblock

Apr 5, 2011

I bought a disk to a friend that used it in a raid array, using the entire disk for the raid usage. To put that disk on service, i used dd-rescue to copy my old disk entirely, and managed to grow and setup a the partition table without losing any data. My last step was to create a RAID between my entire old disk, with a single partition and a partition of the same size on my new disk. I ran into some problems, but i manage to somehow fix it imperfectly, but now this setup is working properly. The problems (and imperfection) came from an issue it did not suspected : at some point, the original RAID superblock of the new disk, living in /dev/sda, resisted to dd-rescue, and so it is scanned by mdadm that tries, obviously unsuccessfully, to use it.

Partition layout :


Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes


this setup is working properly besides this raid5 declared on sda, so that is shows up here and there. Since it is using the same device name that my other, proper raid setup, i don't know how to deactivate it since mdadm uses the /dev/mdx name to identify arrays.

View 4 Replies View Related

Ubuntu :: Growing Root Partition Along With Corresponding SoftRAID Array

Sep 4, 2010

So, I recently installed a server with several software RAID partitions over three drives. After installation, I pulled out the CD-ROM and added a fourth drive.

I believe I successfully grew all the arrays (RAID1 for /boot, RAID5 for /, and RAID1 for swap), but I'm not seeing that growth in my filesystem.

The root partition is no larger than it previously was, even though the specific array that is mounted to it has grown to the proper size.

$ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/md2 292G 6.8G 271G 3% /
none 118M 292K 118M 1% /dev
none 123M 0 123M 0% /dev/shm


I'm sure I'm missing something quite simple here, but how can I resize my root partition to the full size of /dev/md2?

I should note that even though I ripped out the CD-ROM in favor of an additional HDD, I can probably run a live session from a USB stick (although I've been unable to thus far- any solution that can avoid doing so is preferable).

View 2 Replies View Related

Server :: Softraid With Mdadm - Cannot Access Disk Anymore

Jun 22, 2011

seems like I killed my softraid. First, my initial setup: 2x 1.5TB SATA disks -> raid1 with mdadm -> lvm -> multiple LVs as luks partition This worked for a while now, even though I made a bad mistake; I created the raid out of the whole disks (instead of creating partitons on them). I didnt notice because it worked...

Now one disk failed, but I could still access the other disk which I moved to another server. mdadm recognized it during boot, after vgscan --mknodes; vgchange -ay I saw the luks partitions in /dev/mapper/ and could mount them via luksOpen. Went well several times, I did not use the disk anymore to avoid killing it also.

Just today when I wanted to move the stuff to my new raid, this way wont work anymore

First of all, dmesg reports a wrong size (500G instead of 1.5T)

[ 1.943127] sd 3:0:0:0: [sdc] 976817134 512-byte logical blocks: (500 GB/465 GiB)
[ 1.943153] sd 3:0:0:0: [sdc] Write Protect is off
[ 1.943155] sd 3:0:0:0: [sdc] Mode Sense: 00 3a 00 00


What can I try to get my data back?

View 7 Replies View Related

Ubuntu :: How To Fix Filesystem / Superblock Error

Mar 7, 2010

Running ubuntu server (ie no gui) but suspect this might be a general problem.

With the machine booted from the hard drive, if I run fdisk -l I get an invalid partition table message code...

Unable to read the contents of this file system!
Because of this some operations may be unavailable.

How do I correct this error?

View 6 Replies View Related

Ubuntu :: Md: Invalid Superblock Checksum

Jul 11, 2011

I'm running 2.6.32-28-generic. I have a raid1 (two 1tb drives with two partitions... one for / and one for /home.) After a power outage, I'm seeing grub complaining about /dev/md0 not existing (ALERT! /dev/md0 does not exist. Dropping to a shell!)

I booted to the latest live CD to have a look around. My dmesg output includes these ominous lines:


Here is the whole dmesg output: [url]

View 2 Replies View Related

Ubuntu :: Read Out Superblock Of A Filesystem?

Mar 31, 2010

How can i read out the superblock of a filesystem?

View 5 Replies View Related

Ubuntu Installation :: Bad Superblock - Wrong FS Type

Jan 4, 2010

I cannot for the life of me get my HD working again. I tried following all the various remedies I could find but to no avail.

ubuntu@ubuntu:~$ sudo e2fsck -f /dev/sda1
e2fsck 1.41.4 (27-Jan-2009)
e2fsck: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Could this be a zero-length partition?

ubuntu@ubuntu:~$ sudo dumpe2fs -f /dev/sda1 | grep -i superblock
dumpe2fs 1.41.4 (27-Jan-2009)
dumpe2fs: Attempt to read block from filesystem resulted in short read while trying to open /dev/sda1
Couldn't find valid filesystem superblock.

It goes on and one like this. I'm stuck using the LiveCD for now (Jaunty) so I have some limitations.

View 1 Replies View Related

Ubuntu :: Cannot Mount, Bad Fs, Option Or Superblock FSCK?

Aug 23, 2011

The HDD is a 500GB internal SATA, The smart claims that the "file system is not clean" but is still green.FSCK ran a few errors and using fsck i copied a new superblock from a backup location, It still won't let me mount and FSCK is still trying to fix a TON of errors. I'm sorry I don't know any of this yet, but I'm concerned that FSCK could be destroying the data on the drive, for example photos and other important things. FSCK is coming with a lot of things to fix, It's gone from trying to fix errors in free blocks of group #1 to over #3000.. Is this safe? Will this work? Can I get rid of whatever caused this problem in the first place?

View 1 Replies View Related

Ubuntu Installation :: USB Flashdrive Superblock Corrupt: Can Gparted?

Jan 2, 2011

I'm trying to format a 32GB USB flash drive to ext3 for Linux.

sudo tail -f /var/log/messages
shows me:
Jan 1 23:40:42 rj kernel:
[13773.966516] sd 11:0:0:0: [sdb] Result: hostbyte=DID_NO_CONNECT driverbyte=DRIVER_OK
[13800.780008] usb 2-1: new high speed USB device using ehci_hcd and address 8
[13800.932141] usb 2-1: configuration #1 chosen from 1 choice
[13800.932281] scsi12 : SCSI emulation for USB Mass Storage devi


View 5 Replies View Related

Ubuntu :: Cannot Continue To Boot 64 Bit Due To FSCK Error In Superblock

Jan 7, 2011

Today for strange reason, one of my Ubuntu 64 bit server Linux VM failed to start ? it stopped in the FSCK scan status with the error as attached. few days back I've added new hard disk successfully and format it as sdb5 without problem.

View 3 Replies View Related

Ubuntu :: Backup Mbr And Superblock/grub/important Info?

Jan 15, 2011

Right now I use dd to backup mbr and the first 512 bytes of every partiton.

dd if=/dev/sd? of=sd?.bin bs=512 count=1 That would take care of the partition tables and grub in the mbr, but what about the superblock, the stuff that XP stores and the superblock?

dd if=/dev/sd?1 of=sd?1.bin bs=512 count=1 Is it save to assume that if grub was on sd?1 it is backed up?
Does it backup the superblock so if some bug or power failure makes the partition unmountable because of bad superblock it can be fixed by copying back the first 512 bytes? I am of course not changing partition size or type of filesystem and not messing around with grub.

View 1 Replies View Related

Ubuntu :: Dd From Small To Large Drive Results In Bad Superblock?

Feb 10, 2011

I'm trying to 'upgrade' my 500gb drive to a bigger 1tb. I thought it would be as easy as using dd from the smaller to the larger then swapping them. However, after using dd, although the partitions seem to be there on the 1tb drive, they all have a bad superblock and can't be mounted.

View 1 Replies View Related

Debian :: Can't Read Superblock - Resolve This?

Apr 11, 2010

I removed a hard drive from a failed Buffalo LinkStation NAS. The drive was 1TB and formatted in XFS. I installed Debian Linux on my Mac using Virtual Box just so I could get to the files.

When plugin the drive (via USB) two volumes show up, but there's another that I can't seem to open (and may have all of the shared files I need). It's the largest volume (over 900 MB).

I keep reading to run xfs_repair, but when I type that in the terminal, I am given "command not found". I am not sure how to use it.

Also when I try to open the volume I am given "can't open superblock" error.

I am not too familiar with using Linux and ma just trying to get to my files.

View 3 Replies View Related

General :: Superblock Not Found On New Install?

Oct 31, 2010

This computer that I got as a gift runs windows just fine but being as I am a linux fan I would really like to run linux on it.I tried installing Ubuntu on the PC but it just caused some very very strange problems. (Text placed randomly on the screen + strange sounds coming from the computer).I tried installing Gentoo (my favorite distro) on the PC and it can't find the superblock on the drive. (Error during bootup)I low level formatted the drive and repartitioned it before installing gentoo.

View 14 Replies View Related

Slackware :: CD Rom Not Mounting - Can't Read Superblock / Fix It?

May 10, 2010

I am newer to Slackware but not to Linux. I am having the hardest time trying to get my CDROM to mount for me so that I can play audio cd;s and the like. I can see that the system knows that my CDROM drive is there and that it works because I installed Slackware 13 from my CDROM drive as /dev/hdc. Now when I put in a cd nothing happens? I have googled away and searched this forum quite a bit before posting this but I have tried almost everything I can think of and what others have mentioned. I have screenshots to show you what I mean. When I try to run the command:
mount /dev/cdrom /mnt/cdrom
I get it as mounting as read only and it says can't read superblock? Now that is fro my slave IDE CDROM on top as hdd. I have tried before to mount it as /dev/hdc but to no avail. I know both CD drives work just fine because I used them to install the system. I am going to put the screenshots below so maybe someone can help me! Also I can eject the top CD drive with the command code...

View 3 Replies View Related

Ubuntu Installation :: Superblock Error In Gparted - Can't Run Dumbe2fs - E2fsck

Mar 8, 2011

I have Ubuntu 10.10 installed (installed xubuntu on top and that is what I run but should not be an issue) on a laptop and it runs fine but I am giving it to my daughter so I wanted to install windows as well, and dual boot, so she could play a couple of games that she has. When I booted with gparted cd it shows the information icon beside my partition (have 2 one swap sda1 and one for ubuntu sda2) and everything I attempt to do tells me the superblock and all backups are bad. I am not sure how this can be since the system boots and runs fine.

In gparted I can't run dumbe2fs or e2fsck without getting the error but when I do dumpe2fs in the system it seems fine. I am pretty sure I used ext2 or ext3 as a filesytem as it is an older laptop so ext2 is what I usually run with. Maybe I just let ubuntu install whatever it wanted this time, I can't remember for sure which I chose during this install. have been backing up all the data to move it off anyway so reinstalling won't be a big issue. I had checked out how to reinstall grub2 after doing the windows install so thought I was all prepared but apparently I was not that prepared.

View 1 Replies View Related

Ubuntu :: Error - Superblock Has An Invalid Journal (inode Clear? <y>

Apr 7, 2011

I was trying to move my home partition on Ubuntu, and the computer hibernated on me. I restarted it up on the live disk to survey the damage, to find that the home partition, according to fsck, "Superblock has an invalid journal (inode Clear? <y>"

It cannot be mounted, either.

View 3 Replies View Related

Ubuntu :: Unable To Dd Drive And Retain UUID And Mdadm Superblock

May 18, 2011

I have an mdadm linear array of 4 500GB drives. One of them had a few bad sectors, so I've dd'ed it to a new one (conv=noerror), and tried to start my array. Mdadm refuses, saying, "mdadm: /dev/md4 assembled from 3 drives - not enough to start the array."I had diffed different samples from different positions on the source and the mirror drive and confirmed they were identical. Checking the superblocks confirms three old drives still having their superblocks as expected, while the newly mirrored one has,

daniel@lnxsrv:~$ sudo mdadm --misc --examine /dev/sdf1
mdadm: No md superblock detected on /dev/sdf1.
- and,
daniel@lnxsrv:~$ sudo blkid /dev/sdf1


As before. The mirror apparently has no uuid, but the original does. To confirm my sanity, I did,

daniel@lnxsrv:~$ sudo dd bs=1M count=50 if=/dev/sdc of=./sdc && sudo dd bs=1M count=50 if=/dev/sdd of=./sdd && sudo diff -s sdc sdd
50+0 records in


How can the uuid not be the same when bit-for-bit from the very first byte of the drive, covering MFT etc., these two drives are identical according to diff?

View 5 Replies View Related

Ubuntu :: Error Mounting: Mount: /dev/sdd1: Can't Read Superblock

Jul 6, 2010

what does this error message mean? im trying to mount an ipod in disc mode. let me know if there is a way to manually mount it to get around this. but not too technical, the simpler the language, the easier i will understand it.

View 9 Replies View Related

Ubuntu :: Superblock Could Not Be Read Or Does Not Describe A Correct Ext2 Filesystem

Jul 12, 2010


This problem has arrived again.......I tried the same solution but didn't work out...the problem is described below.

I use Ubuntu 9.10 .

I did this in Ubuntu 9.10 live CD.

quote from terminal :-

ubuntu@ubuntu:~$ sudo mkdir /win
ubuntu@ubuntu:~$ sudo mount /dev/sda5 /win
ubuntu@ubuntu:~$ sudo mkdir /vdisk
ubuntu@ubuntu:~$ sudo mount -o loop /win/ubuntu/disks/root.disk /vdisk


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>
ubuntu@ubuntu:~$ "
> ^C
^^ quote ends.

View 4 Replies View Related

Debian :: USB Drive Corrupted - Cannot Read Superblock

Mar 16, 2011

I have a removable USB pen drive, that all of a sudden, when it got 99% used, stopped working. When I try to mount it (manually) I get "can't read superblock". I know there is a ton about this on Google and I've read a lot of them, but most seem to be about formatting a drive, or fiddling in fstab. I'm trying to run fsck on it, and it finds errors, (among them: two FAT-tables?) but then it just freezes, and CPU goes to 100 % and I let it be like that for 4 minutes, before aborting. Scandisk in windows is rubbish (fails to start), and running "chkdsk /f F:", in windows, results in nothing, the shell crashes immediately. Is it normal for fsck to get stuck and just chew up CPU? It does not seem to be reading from the drive, according to conky. Also, is it possible to run fsck as normal user, (at my work)?

View 2 Replies View Related

Slackware :: Slack 12.2 -borked Superblock On /dev/hda8?

Jan 5, 2010

/dev/hda8 is /home on this laptop. It must have been reading/writing when the battery died and now /home won't mount. I get the "is this a zero length partition?" error when running e2fsck. I've searched a bit and have gotten *mount -o sb=n /dev/hda8 /home* as a potential solution but I'm confused about the value 'n' suggested. When run as I wrote it, it fails with a 'no such partition' error. Can anyone point me to a solution for re-creating the superblock to get this partition mountable again?

View 4 Replies View Related

CentOS 5 :: Can't Mount DVD - Wrong Fs, Bad Option, Bad Superblock?

May 14, 2010

I am having trouble mounting DVD+Rs. I get the following error whenever I try -mount: block device /dev/hda is write-protected, mounting read-only mount: wrong fs type, bad option, bad superblock on /dev/hda, missing codepage or other error In some cases useful info is found in syslog - try dmesg | tail or so

View 8 Replies View Related

OpenSUSE Install :: Mounting Drive Bad Superblock Error

Jun 15, 2010

I have a x64 OpenSUSE server with two hard drivers installed. The first one is used for the / and /home partitions and the other is for backups. Ironically enough it is the backup hard drive I am having trouble with. I was having trouble writting to the drive and unmounted it to preform a fchsk, however now when ever I try to mount it I get the following error:


how I can repair the drive and retrive data?

View 4 Replies View Related

Debian :: The SuperBlock Is Unreadable And The Partition Table Was Not Found

Dec 24, 2010

i have got an Debian Lenny NAS with 7x1,5TB of a Softwareraid5. Kernel Version is 2.6.32. The Raid ist mountet in /media/raid5. The System ist on a seperate disk and work fine. After i tested the performance of the raid with:

dd if=/dev/zero of=/dev/md0 bs=1G count=1 oflag=direct

Since i had done this i cant find any Data on /media/raid5. cat /proc/mdstat and mdadm --detail /dev/md0 looks fine. All UUID's are good. But: The SuperBlock is unreadable and the partition table was not found. mke2fs -n /dev/md0 shows some Backup of the Superblock , but i cant repair it with fsck.ext4: Illegal inode number on /dev/md0.

View 5 Replies View Related

General :: Cramfsck: Superblock Magic Not Found (Scientific)?

Jan 2, 2010

I have come across a problem on my Scientific Linux, I have searched the forum but couldn't find what I am looking for, so I decided to post my question here.well, here what I did: under the Terminal I got Cramfs-1.1.tar.gz installed, and then i used the "make" command to build the cramfsck and mkcramfs and it was all successful.so now I have an image I called it "backup.img", and I tried following command:./cramfsck -x ./output backup.imgbut unfortunetly I got the following message:./cramfsck: superblock magic not foundSo I kept on thinking what is this Superblock magic thingy? I did a google search but I kind of got lost and didn't end up finding anything useful, but I am just thinking it could be some kind of package which I need to install? I tried the following command:apt-get install magicbut it seems there is not such package exists with that name.

View 6 Replies View Related

Copyrights 2005-15 www.BigResource.com, All rights reserved