Re: Clone logical volume using dd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 11/22/20 11:27 PM, Sreyan Chakravarty wrote:
On Mon, Nov 23, 2020 at 9:45 AM Robert Nichols <rnicholsNOSPAM@xxxxxxxxxxx <mailto:rnicholsNOSPAM@xxxxxxxxxxx>> wrote:

    Unless "conv=sync" is used, it does not. Without "conv=sync", when
    the input
    reaches EOF, dd will write whatever partial block has been read. If
    you _do_
    use "conv=sync", then that output block will be zero-padded to the
    obs size.
    If the output is to a device and not a file, that might cause a
    superfluous
    "out of space" message and a failure exit code. If output is to a
    file, then
    the resulting file could be larger than the source.

    The status message from dd indicates the number of complete+partial
    blocks
    read and written, e.g.:
          1201+1 records in
          1202+0 records out
    showing an output block that was padded to the full block size.

So it's better to use "sync" and not "noerror", right ?

No. Unless you are trying to recover a failing drive, you would not want either of those.
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux