Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1607922

Re: RAID array is gone, please help

From lsorense@csclub.uwaterloo.ca (Lennart Sorensen)
Newsgroups linux.kernel
Subject Re: RAID array is gone, please help
Date 2017-03-23 22:10 +0100
Message-ID <toi9B-84L-37@gated-at.bofh.it> (permalink)
References (3 earlier) <togAO-6Ol-3@gated-at.bofh.it> <togKu-6RO-11@gated-at.bofh.it> <toh3P-72e-7@gated-at.bofh.it> <tohdv-7lb-5@gated-at.bofh.it> <toi9A-84L-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, Mar 23, 2017 at 10:02:23PM +0100, Stephen Mueller wrote:
> Looks like it worked! Thanks!

Well at least you could backup the data, just in case.

> I used:
> 
> sudo mdadm --create /dev/md0 --assume-clean --verbose --level-10
> --raid-devices=4 /dev/sdc /dev/sdd /dev/sde /dev/sdf

I wonder about the assume-clean, but I would think any data you wrote
will have been duplicated at the time you wrote it, and only unused
space might not have been synced yet.

Maybe running a forced resync would be worthwhile.

> And I got my instructions for creating the array here, and they
> also don't use partitions...
> 
> https://www.digitalocean.com/community/tutorials/how-to-create-raid-arrays-with-mdadm-on-ubuntu-16-04

Well it works, as long as you don't leave anything around to confuse it,
in this case a GPT partition table that somehow came back to bite you.

I wonder if mdadm could perhaps warn about the existing partition table
when being asked to create a new device.

Does it survive reboots now?

-- 
Len Sorensen

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

RAID array is gone, please help raid@mueller.org - 2017-03-23 18:00 +0100
  Re: RAID array is gone, please help lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-03-23 18:50 +0100
    Re: RAID array is gone, please help raid@mueller.org - 2017-03-23 19:10 +0100
      Re: RAID array is gone, please help lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-03-23 20:30 +0100
        Re: RAID array is gone, please help Stephen Mueller <stephen@mueller.org> - 2017-03-23 20:40 +0100
          Re: RAID array is gone, please help lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-03-23 21:00 +0100
            Re: RAID array is gone, please help Stephen Mueller <stephen@mueller.org> - 2017-03-23 21:10 +0100
              Re: RAID array is gone, please help Stephen Mueller <stephen@mueller.org> - 2017-03-23 22:10 +0100
                Re: RAID array is gone, please help lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-03-23 22:10 +0100
                Re: RAID array is gone, please help Stephen Mueller <stephen@mueller.org> - 2017-03-23 22:20 +0100
              Re: RAID array is gone, please help lsorense@csclub.uwaterloo.ca (Lennart Sorensen) - 2017-03-23 22:10 +0100

csiph-web