Re: Cloning disk with dd give me "Error while writing to /dev/sdc: Unit full"

2023-09-14 Thread Jon Ingason via users

Den 2023-09-14 kl. 18:24, skrev Chris Adams:

Once upon a time, Jon Ingason  said:

I am trying to clone /dev/sdb, Hitachi HTS545050A7E380, 465.76 GiB,
to /dev/sbc, Samsung SSD 870 EVO 500G, 465.76 GiB.

$ sudo dd if=/dev/sdb bs=4MB of=/dev/sbc bs=4MB conv=noerror,sync


Is it really "sbc", or is it "sdc"?  I expect it's the latter, and you
just wrote a new file called "sbc" in /dev, which is a special
filesystem (that's only 4M) and you just filled it up.


OOBS! I didn't see that.

It seems to work now. Just sitt and wait.

Thank you Chris Adams and Roger Heflin.
--
Regards

Jon Ingason

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Cloning disk with dd give me "Error while writing to /dev/sdc: Unit full"

2023-09-14 Thread Chris Adams
Once upon a time, Jon Ingason  said:
> I am trying to clone /dev/sdb, Hitachi HTS545050A7E380, 465.76 GiB,
> to /dev/sbc, Samsung SSD 870 EVO 500G, 465.76 GiB.
> 
> $ sudo dd if=/dev/sdb bs=4MB of=/dev/sbc bs=4MB conv=noerror,sync

Is it really "sbc", or is it "sdc"?  I expect it's the latter, and you
just wrote a new file called "sbc" in /dev, which is a special
filesystem (that's only 4M) and you just filled it up.

-- 
Chris Adams 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Cloning disk with dd give me "Error while writing to /dev/sdc: Unit full"

2023-09-14 Thread Roger Heflin
I would not use the sync option, it may be the problem (especially
with the large blocksize) and it will significantly slow down
everything.  Likely the disk full is that it simply cannot handle a
sync 4M write.

And you only need bs once and I typically use bs=1M.  bs is for both streams.

On Thu, Sep 14, 2023 at 10:39 AM Jon Ingason via users
 wrote:
>
> I am trying to clone /dev/sdb, Hitachi HTS545050A7E380, 465.76 GiB, to
> /dev/sbc, Samsung SSD 870 EVO 500G, 465.76 GiB.
>
> $ sudo dd if=/dev/sdb bs=4MB of=/dev/sbc bs=4MB conv=noerror,sync
> dd: Error while writing to /dev/sdc: Unit full
> 2+0 records in
> 1+0 records out
> 4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,144554 s, 29,0 MB/s
>
> What is wrong with this?
>
> --
>
> Regards
>
> Jon Ingason
> ___
> users mailing list -- users@lists.fedoraproject.org
> To unsubscribe send an email to users-le...@lists.fedoraproject.org
> 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@lists.fedoraproject.org
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Cloning disk with dd give me "Error while writing to /dev/sdc: Unit full"

2023-09-14 Thread Jon Ingason via users
I am trying to clone /dev/sdb, Hitachi HTS545050A7E380, 465.76 GiB, to 
/dev/sbc, Samsung SSD 870 EVO 500G, 465.76 GiB.


$ sudo dd if=/dev/sdb bs=4MB of=/dev/sbc bs=4MB conv=noerror,sync
dd: Error while writing to /dev/sdc: Unit full
2+0 records in
1+0 records out
4194304 bytes (4,2 MB, 4,0 MiB) copied, 0,144554 s, 29,0 MB/s

What is wrong with this?

--

Regards

Jon Ingason
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue