From: Phillip Susi <phill@thesusis.net>
To: David T-G <davidtg+robot@justpickone.org>
Cc: Linux RAID <linux-raid@vger.kernel.org>
Subject: Re: overlays on dd images of 4T drives
Date: Mon, 15 Nov 2021 14:32:59 -0500 [thread overview]
Message-ID: <87czn1i4xr.fsf@vps.thesusis.net> (raw)
In-Reply-To: <20211115025103.GA254223@opal1.opalstack.com>
David T-G <davidtg+robot@justpickone.org> writes:
> davidtg@gezebel:/mnt/data/tmp/4Traid> parallel 'size=$(sudo blockdev
> --getsize {}); loop=$(sudo losetup -f --show -- overlay-{/}) ; echo
> $loop' ::: $DEVICES
> /dev/loop0
> /dev/loop2
> /dev/loop1
>
> davidtg@gezebel:/mnt/data/tmp/4Traid> sudo losetup -a
> /dev/loop1: [66307]:624372298 (/mnt/data/tmp/4Traid/overlay-sdc1)
> /dev/loop2: [66307]:624372297 (/mnt/data/tmp/4Traid/overlay-sdb1)
> /dev/loop0: [66307]:624372296 (/mnt/data/tmp/4Traid/overlay-sda1)
> ### why are these out of order?!? *sigh*
Because you ran the command to create them with parallel. Don't do that.
> OK, yeah, we could predict that. But it gets even more fun:
>
> diskfarm:/mnt/10Traid50md/tmp # mdadm --assemble --force /dev/md4 /dev/loop{0,1,2}
> mdadm: no recogniseable superblock on /dev/loop0
> mdadm: /dev/loop0 has no superblock - assembly aborted
>
> What?!? Where is my superblock? This is a bit-for-bit copy of the
> partition itself.
>
> Time to fall back for more help from the RAID gods *sigh* Any further
> recommendations?
Run mdadm -E /dev/loop{0,1,2}
next prev parent reply other threads:[~2021-11-15 21:02 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-14 2:29 overlays on dd images of 4T drives David T-G
2021-11-14 8:47 ` Roman Mamedov
2021-11-15 2:51 ` David T-G
2021-11-15 19:32 ` Phillip Susi [this message]
2021-11-16 2:01 ` David T-G
2021-11-16 2:07 ` can't loop the image files and assemble (was "Re: overlays on dd images of 4T drives") David T-G
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=87czn1i4xr.fsf@vps.thesusis.net \
--to=phill@thesusis.net \
--cc=davidtg+robot@justpickone.org \
--cc=linux-raid@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox