<div dir="ltr"><div>I think that I will fire up a bhyve vm where I will attach the folder where is stored the file to copy to the ufs disk and then when the vm will be ready (I think I will boot windows 11) I will install apache web server and I will copy the file to the proper apache folder. So,from the host I will download and save the file to the ufs disk.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno dom 28 nov 2021 alle ore 23:10 Harry Mangalam via rsync <<a href="mailto:rsync@lists.samba.org" target="_blank">rsync@lists.samba.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">Ok, thanks for that explanation.<div dir="auto">H</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Nov 28, 2021, 1:59 PM Kevin Korb <<a href="mailto:kmk@sanitarium.net" target="_blank">kmk@sanitarium.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Rsync is designed to reduce the amount of data transmitted over the <br>
network.  If rsync isn't networking it can't do that.  However, it still <br>
uses the same code so it is still using a sender and a receiver rather <br>
than simply reading and writing as cp does.  Also, rsync forces <br>
--whole-file because using rsync's algorithm to delta-copy is slower <br>
than just re-copying a file (especially if one of the local paths is <br>
really a network mount and double especially if that is the writing end).<br>
<br>
On 11/28/21 16:44, Harry Mangalam wrote:<br>
> Can you elaborate on why this is?<br>
> <br>
> I wrote a parallel rsync wrapper that works very well over networks but <br>
> is similarly very slow over local disks. I thought it was a bug in my <br>
> code but didn't get around to tracking it down since my use cases were <br>
> all network/ parallel file systems.<br>
> Harry<br>
> <br>
> On Sun, Nov 28, 2021, 11:43 AM Kevin Korb via rsync <br>
> <<a href="mailto:rsync@lists.samba.org" rel="noreferrer" target="_blank">rsync@lists.samba.org</a> <mailto:<a href="mailto:rsync@lists.samba.org" rel="noreferrer" target="_blank">rsync@lists.samba.org</a>>> wrote:<br>
> <br>
>     rsync is terribly slow at local copies.  Also, it doesn't do its normal<br>
>     optimizing (see --whole-file).  Just use cp.<br>
> <br>
>     On 11/28/21 13:38, Mario Marietto via rsync wrote:<br>
>      > Hello to everyone.<br>
>      ><br>
>      > I'm copying a large file from a NTFS formatted disk to another<br>
>      > one,UFS/FreeBSD disk,both are removable disks attached to the USB 3<br>
>      > port. The file is 200 GB large and it is copied very slowly. Why<br>
>     it is<br>
>      > so slow ? I don't know where to store my virtual machines. I<br>
>     tried to<br>
>      > save them on the ext4 disk because I wanted to share them easily<br>
>     between<br>
>      > Linux and FreeBSD but I've realized that when I mount the disk in<br>
>      > FreeBSD after some time it corrupts. I tried to store it on the NTFS<br>
>      > disk but it happens the same. So,now I'm on FreeBSD and I'm<br>
>     copying them<br>
>      > to a dedicated UFS/FreeBSD style disk,but as I said,the speed is<br>
>     very<br>
>      > slow. How can I increase the speed ?. Actually I'm using this<br>
>      > command,because I want to resume the uploading if it breaks at<br>
>     some point :<br>
>      ><br>
>      ><br>
>      > root@marietto:/mnt/da3p2/bhyve/Ubuntu # rsync -avAXEWSlHh<br>
>      > /mnt/da0p1/Backups/OS/bhyve/Ubuntu/im* . --no-compress<br>
>     --info=progress2<br>
>      ><br>
>      > sending incremental file list<br>
>      > impish-cuda-11-4-nvidia-470.img<br>
>      ><br>
>      > 2.13M 0% 9.49kB/s 6284:55:38<br>
>      ><br>
>      ><br>
>      > and : where do you save large files ? what's the procedure that<br>
>     you use<br>
>      > to copy large files with a decent speed ? Unfortunately under<br>
>     Linux is<br>
>      > not safe to use a RW ufs disk access. So,I'm out of solutions.<br>
>      ><br>
>      > -<br>
>      > Mario.<br>
>      ><br>
> <br>
>     -- <br>
>     ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
>              Kevin Korb                      Phone:    (407) 252-6853<br>
>              Systems Administrator           Internet:<br>
>              FutureQuest, Inc.               Kevin@FutureQuest.net  (work)<br>
>              Orlando, Florida <a href="mailto:kmk@sanitarium.net" rel="noreferrer" target="_blank">kmk@sanitarium.net</a><br>
>     <mailto:<a href="mailto:kmk@sanitarium.net" rel="noreferrer" target="_blank">kmk@sanitarium.net</a>> (personal)<br>
>              Web page: <a href="https://sanitarium.net/" rel="noreferrer noreferrer" target="_blank">https://sanitarium.net/</a> <<a href="https://sanitarium.net/" rel="noreferrer noreferrer" target="_blank">https://sanitarium.net/</a>><br>
>              PGP public key available on web site.<br>
>     ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
> <br>
>     -- <br>
>     Please use reply-all for most replies to avoid omitting the mailing<br>
>     list.<br>
>     To unsubscribe or change options:<br>
>     <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
>     <<a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a>><br>
>     Before posting, read:<br>
>     <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
>     <<a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a>><br>
> <br>
<br>
-- <br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
        Kevin Korb                      Phone:    (407) 252-6853<br>
        Systems Administrator           Internet:<br>
        FutureQuest, Inc.               Kevin@FutureQuest.net  (work)<br>
        Orlando, Florida                <a href="mailto:kmk@sanitarium.net" rel="noreferrer" target="_blank">kmk@sanitarium.net</a> (personal)<br>
        Web page:                       <a href="https://sanitarium.net/" rel="noreferrer noreferrer" target="_blank">https://sanitarium.net/</a><br>
        PGP public key available on web site.<br>
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,<br>
</blockquote></div>
-- <br>
Please use reply-all for most replies to avoid omitting the mailing list.<br>
To unsubscribe or change options: <a href="https://lists.samba.org/mailman/listinfo/rsync" rel="noreferrer" target="_blank">https://lists.samba.org/mailman/listinfo/rsync</a><br>
Before posting, read: <a href="http://www.catb.org/~esr/faqs/smart-questions.html" rel="noreferrer" target="_blank">http://www.catb.org/~esr/faqs/smart-questions.html</a><br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr">Mario.<br></div>