All of lore.kernel.org
 help / color / mirror / Atom feed
From: "John Stoffel" <john@stoffel.org>
To: Peter Sanders <plsander@gmail.com>
Cc: Wols Lists <antlists@youngman.org.uk>,
	Eyal Lebedinsky <fedora@eyal.emu.id.au>,
	linux-raid@vger.kernel.org
Subject: Re: RAID 6, 6 device array - all devices lost superblock
Date: Wed, 31 Aug 2022 16:37:46 -0400	[thread overview]
Message-ID: <25359.50842.604856.467479@quad.stoffel.home> (raw)
In-Reply-To: <CAKAPSkKQA3cV1rcj9cNrdKorOOqyjHf_4BCLxbEx8ibusJP5nA@mail.gmail.com>

>>>>> "Peter" == Peter Sanders <plsander@gmail.com> writes:

> encountering a puzzling situation.
> dmsetup is failing to return.

I don't think you need to use dmsetup in your case, but can you post
*all* the commands you ran before you got to this point, and the
output of 

       cat /proc/mdstat

as well?  Thinking on this some more, you might need to actually also
add:

	--assume-clean

to the 'mdadm create ....' string, since you don't want it to zero the
array or anything.  

Sorry for not remembering this at the time!

So if you can, please just start over from scratch, showing the setup
of the loop devices, the overlayfs setup, and the building the RAID6
array, along with the cat /proc/mdstat after you do the initial build.

John

P.S.  For those who hated my email citing tool, I pulled it out for
now.  Only citing with > now.  :-)

> root@superior:/mnt/backup# dmsetup status
> sdg: 0 5860533168 snapshot 16/8388608000 16
> sdf: 0 5860533168 snapshot 16/8388608000 16
> sde: 0 5860533168 snapshot 16/8388608000 16
> sdd: 0 5860533168 snapshot 16/8388608000 16
> sdc: 0 5860533168 snapshot 16/8388608000 16
> sdb: 0 5860533168 snapshot 16/8388608000 16

> dmsetup remove sdg  runs for hours.
> Canceled it, ran dmsetup ls --tree and find that sdg is not present in the list.

> dmsetup status shows:
> sdf: 0 5860533168 snapshot 16/8388608000 16
> sde: 0 5860533168 snapshot 16/8388608000 16
> sdd: 0 5860533168 snapshot 16/8388608000 16
> sdc: 0 5860533168 snapshot 16/8388608000 16
> sdb: 0 5860533168 snapshot 16/8388608000 16

> dmsetup ls --tree
> root@superior:/mnt/backup# dmsetup ls --tree
> sdf (253:3)
>  ├─ (7:3)
>  └─ (8:80)
> sde (253:1)
>  ├─ (7:1)
>  └─ (8:64)
> sdd (253:2)
>  ├─ (7:2)
>  └─ (8:48)
> sdc (253:0)
>  ├─ (7:0)
>  └─ (8:32)
> sdb (253:5)
>  ├─ (7:5)
>  └─ (8:16)

> any suggestions?



> On Tue, Aug 30, 2022 at 2:03 PM Wols Lists <antlists@youngman.org.uk> wrote:
>> 
>> On 30/08/2022 14:27, Peter Sanders wrote:
>> >
>> > And the victory conditions would be a mountable file system that passes a fsck?
>> 
>> Yes. Just make sure you delve through the file system a bit and satisfy
>> yourself it looks good, too ...
>> 
>> Cheers,
>> Wol

  reply	other threads:[~2022-08-31 20:37 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-28  2:00 RAID 6, 6 device array - all devices lost superblock Peter Sanders
2022-08-28  9:14 ` Wols Lists
2022-08-28  9:54   ` Wols Lists
2022-08-28 16:47     ` Phil Turmel
     [not found]       ` <CAKAPSkJAQYsec-4zzcePbkJ7Ee0=sd_QvHj4Stnyineq+T8BXw@mail.gmail.com>
2022-08-28 17:16         ` Wols Lists
2022-08-28 18:45         ` John Stoffel
2022-08-28 19:36           ` Phil Turmel
2022-08-28 19:49             ` John Stoffel
2022-08-28 23:24               ` Peter Sanders
2022-08-29 13:12                 ` Peter Sanders
2022-08-29 21:45                 ` John Stoffel
2022-08-29 22:29                   ` Eyal Lebedinsky
2022-08-29 23:53                     ` Peter Sanders
2022-08-30 13:27                       ` Peter Sanders
2022-08-30 18:03                         ` Wols Lists
2022-08-31 17:48                           ` Peter Sanders
2022-08-31 20:37                             ` John Stoffel [this message]
2022-09-02 14:56                               ` Peter Sanders
2022-09-02 18:52                                 ` Peter Sanders
2022-09-02 19:12                                   ` John Stoffel
2022-09-03  0:39                                     ` Peter Sanders
2022-09-03  5:51                                       ` Peter Sanders
2022-09-05 19:36                                         ` John Stoffel
2022-09-05 20:16                                           ` Peter Sanders
2022-09-05 19:25                                       ` John Stoffel
2022-08-28 15:10 ` John Stoffel
2022-08-28 17:11 ` Andy Smith
2022-08-28 17:22   ` Andy Smith
2022-08-28 17:34     ` Peter Sanders

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=25359.50842.604856.467479@quad.stoffel.home \
    --to=john@stoffel.org \
    --cc=antlists@youngman.org.uk \
    --cc=fedora@eyal.emu.id.au \
    --cc=linux-raid@vger.kernel.org \
    --cc=plsander@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.