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


Groups > linux.debian.user > #266081

Re: 512e vs 4K sector confusion

From Teemu Likonen <tlikonen@iki.fi>
Newsgroups linux.debian.user
Subject Re: 512e vs 4K sector confusion
Date 2024-01-16 17:40 +0100
Message-ID <HWUDM-3vTb-19@gated-at.bofh.it> (permalink)
References <HW3J7-2ZIb-5@gated-at.bofh.it> <HWmVr-3b5K-1@gated-at.bofh.it> <HWnRw-3bI8-5@gated-at.bofh.it> <HWCGS-3kRh-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

* 2024-01-15 15:20:51-0600, Nicholas Geovanis wrote:

> In your dd commands that moved these filesystems, did you specify ibs=
> and/or obs=
> ?
> If so, what values did you use?

"dd" is not a special tool for accessing device files. It's a simple
file copy tool: like "cat" or "cp" but with different options. "dd's"
internal buffers can be changed with ibs= and obs= but those have
nothing to do with block device sector size.

(Imagine that "cat" had input buffer size option --ibs= which sets how
many bytes it reads and stores from input file or standard input stream
at one time. The tool could also have --obs= option for setting how many
bytes it writes to the standard output at one time before filling the
output buffer again. That's what "dd's" ibs= and obs= do.)

-- 
/// Teemu Likonen - .-.. https://www.iki.fi/tlikonen/
// OpenPGP: 6965F03973F0D4CA22B9410F0F2CAE0E07608462

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-14 09:10 +0100
  Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-14 09:20 +0100
    Re: 512e vs 4K sector confusion "Alexander V. Makartsev" <avbetev@gmail.com> - 2024-01-14 12:30 +0100
    Re: 512e vs 4K sector confusion Arno Lehmann <al@its-lehmann.de> - 2024-01-14 12:40 +0100
  Re: 512e vs 4K sector confusion "Thomas Schmitt" <scdbackup@gmx.net> - 2024-01-14 14:30 +0100
    Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-14 17:20 +0100
      Re: 512e vs 4K sector confusion "Thomas Schmitt" <scdbackup@gmx.net> - 2024-01-14 18:00 +0100
  Re: 512e vs 4K sector confusion Timothy M Butterworth <timothy.m.butterworth@gmail.com> - 2024-01-14 19:20 +0100
  Re: 512e vs 4K sector confusion Stefan Monnier <monnier@iro.umontreal.ca> - 2024-01-15 05:40 +0100
    Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-15 06:40 +0100
      Re: 512e vs 4K sector confusion Nicolas George <george@nsup.org> - 2024-01-15 22:30 +0100
      Re: 512e vs 4K sector confusion Nicholas Geovanis <nickgeovanis@gmail.com> - 2024-01-15 22:30 +0100
        Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-16 01:40 +0100
        Re: 512e vs 4K sector confusion Teemu Likonen <tlikonen@iki.fi> - 2024-01-16 17:40 +0100
      Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-17 08:30 +0100
  Re: 512e vs 4K sector confusion Andy Smith <andy@strugglers.net> - 2024-01-20 22:30 +0100

csiph-web