From: Roman Mamedov <rm@romanrm.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: Sun, 14 Nov 2021 13:47:23 +0500 [thread overview]
Message-ID: <20211114134723.46092368@nvm> (raw)
In-Reply-To: <20211114022924.GA21337@opal1.opalstack.com>
On Sun, 14 Nov 2021 02:29:24 +0000
David T-G <davidtg+robot@justpickone.org> wrote:
> diskfarm:/mnt/10Traid50md/tmp # ls -goh overlay-sd*
> -rw-r--r-- 1 4.0T Nov 12 02:05 overlay-sda1
> -rw-r--r-- 1 4.0T Nov 12 02:05 overlay-sdb1
> -rw-r--r-- 1 4.0T Nov 12 02:05 overlay-sdc1
> diskfarm:/mnt/10Traid50md/tmp # losetup -a
> /dev/loop1: [66326]:1059 (/mnt/10Traid50md/tmp/overlay-sdb1)
> /dev/loop2: [66326]:1060 (/mnt/10Traid50md/tmp/overlay-sdc1)
> /dev/loop0: [66326]:1058 (/mnt/10Traid50md/tmp/overlay-sda1)
>
> my overlay files and loopback devices. But ...
>
> It seems that blockdev does not like
>
> diskfarm:/mnt/10Traid50md/tmp # blockdev --getsize ./overlay-sda1
> blockdev: ioctl error on BLKGETSIZE: Inappropriate ioctl for device
>
> my files
It must be run on block devices, not files, so try:
blockdev --getsize /dev/loop0
--
With respect,
Roman
next prev parent reply other threads:[~2021-11-14 8:52 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 [this message]
2021-11-15 2:51 ` David T-G
2021-11-15 19:32 ` Phillip Susi
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=20211114134723.46092368@nvm \
--to=rm@romanrm.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