Page 12 of 13 FirstFirst ... 210111213 LastLast
Results 111 to 120 of 124

Thread: HOWTO: Linux Software Raid using mdadm

  1. #111
    Join Date
    Sep 2007
    Location
    Boise,ID
    Beans
    119
    Distro
    Kubuntu

    Re: HOWTO: Linux Software Raid using mdadm

    It just sounds like your raid didn't rebuild so it can mount. Is there more of the message? You should see something like can't mount xxx.

    If you dump /dev/disk/by-id or /dev/disk/by-uuid like so (xxx replaced by however you want to list):

    ls -l /dev/disk/by-xxx

    It will give us a better understanding of how your system is configured. Did /etc/fstab change? Is root on md0? If yes, your raid array did not assemble before the attempted mount of root.
    Last edited by rickyrockrat; October 26th, 2012 at 06:28 PM.

  2. #112
    Join Date
    Sep 2012
    Beans
    8

    Re: HOWTO: Linux Software Raid using mdadm

    Ooh thanks so much mate. Sorry I check back in so late.

    Unfortunately I already reinstalled ubuntu on my array. To know what caused the problem would be a good thing but now it's too late, isn't it ? Anyways memtest detected problems with RAM memory so it's likely that this was the wrongdoer.

  3. #113
    Join Date
    Apr 2013
    Beans
    2

    Re: HOWTO: Linux Software Raid using mdadm

    Everything went OK then I rebooted to complete install and I get a grub error

    Error file not found

    OK just kept trying got it to boot but it only loads the root aray
    Last edited by reko420; April 1st, 2013 at 03:17 AM.

  4. #114
    Join Date
    Dec 2008
    Beans
    252

    Unhappy Re: HOWTO: Linux Software Raid using mdadm

    Today my Western Digital NAS drive has failed.

    I've removed the single 1TB Disk and connected it via SATA -> USB to my Ubuntu PC.
    Nothing is detected.

    If I run gparted I get :

    /dev/sdb1 - Unknown - 128MiB
    unallocated - Unallocated - 931.39 GiB

    I've been told :
    It's a mdmadm software RAID volume, this is why you can't see your data.

    Can any one advise how I get my data back ?

    Thanks

  5. #115
    Join Date
    Apr 2008
    Location
    Kansas City
    Beans
    509

    Re: HOWTO: Linux Software Raid using mdadm

    If you had a NAS that had a RAID array configured... why did you remove the drive from it? If a single disk failed, you should still have been able to access all your files on the NAS. If you removed the failed disk and are trying to access files on it, that's not going to work. If you removed the remaining good disk of a mirrored set, you should be able to view those files on a Ubuntu PC, assuming you have mdadm installed and have assembled the degraded array.

    apt-get install mdadm

    mdadm --assemble --force /dev/md127 /dev/sdb1
    NOTE: sdb1 needs replaced with the device letter of the disk you plugged in.

  6. #116
    Join Date
    Dec 2008
    Beans
    252

    Re: HOWTO: Linux Software Raid using mdadm

    Hi
    Thanks for taking the time to reply.

    I removed the disk as the NAS drive has started flashing the LED's to indicate it couldn't boot.

    I'm hoping I'll be able to recover the data.

    I don't know if the disk was configured as raid. I was setup as default.
    The NAS is a western digital my world book white light, single 1TB SATA disk.
    I've not done any thing with it apart from copying data to it.

    I've tried the command you've listed and it returns:
    mdadm: no recogniseable superblock on /dev/sdb1
    mdadm: /dev/sdb1 has no superblock - assembly aborted

    Anything else I can try ?

    Thanks

  7. #117
    Join Date
    Apr 2008
    Location
    Kansas City
    Beans
    509

    Re: HOWTO: Linux Software Raid using mdadm

    mdadm is a tool for combining multiple disks into a redundant array, so that if a disk fails you can still access all your data.

    If you only had one disk in your NAS then it wouldn't have been using mdadm, and you'll have to use some other software to attempt to recover your data from the hard drive. But if the disk is bad that might be impossible. You should restore from your backup =p or take the hard drive to a local PC repair shop that specializes in hard drive data recovery. Sorry, but mdadm and "RAID" don't apply to NAS devices with only one disk.

  8. #118
    Join Date
    Dec 2008
    Beans
    252

    Re: HOWTO: Linux Software Raid using mdadm

    Thanks again for your advise.
    Any suggestions on recovering this using Ubuntu?

  9. #119
    Join Date
    Dec 2008
    Beans
    252

    Re: HOWTO: Linux Software Raid using mdadm

    Running Test Disk
    Shows this for the drive:


    Disk /dev/sdb - 1000 GB / 931 GiB - CHS 121601 255 63
    Analyse cylinder 402/121600: 00%


    MS Data 64320 3984063 3919744
    Linux Raid 64320 3984191 3919872 [md0]
    Linux Swap 3984192 4497967 513776
    Linux Raid 3984192 4498111 513920 [md1]
    MS Data 4498176 6473983 1975808
    Linux Raid 4498176 6474111 1975936 [md3]
    Linux Raid 6474176 1953524869 1947050694 [MyBookWorld:2]

    Doesn't this suggest it's a raid disk ?

    Help ! thanks

  10. #120
    Join Date
    Sep 2007
    Location
    Boise,ID
    Beans
    119
    Distro
    Kubuntu

    Re: HOWTO: Linux Software Raid using mdadm

    It looks like your drive is partitioned as follows:
    /dev/sdb1 MS Data (whatever that is - I assume it is a Microsoft something)
    /dev/sdb2 is md0, a Linux software raid
    /dev/sdb3 is Linux swap (just ignore this)
    /dev/sdb4 is md1, the second Linux Software raid
    /dev/sdb5 is again Microsoft something
    /dev/sdb6 is md3, yet another Linux Software raid.

    The last looks like it may be a vendor-specific partition. So use /dev/sdb2, /dev/sdb4, and /dev/sdb6 as input to mdadm.

Page 12 of 13 FirstFirst ... 210111213 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •