Page 1 of 1

Slow Move - Is there a way to slow or pace a copy in Fedora?

Posted: Wed Mar 16, 2011 4:40 am
by kcossabo
I am converting from WHS to Amahi. I have about 5TB of storage I want to move into a Greyhole Pool.

I want to mount the NTFS drives on the Amahi Server and copy from the /de/shares directory to the new SAMBA shares. I have all the mount, get SAMBA stuff working, and can create a pool large enough for the data, but the Landing Zone is only 100G. If I drag a video collection to the new share I swamp the Landing Zone, and get an error - disk full. Greyhole does clear the LZ but the file that was being written is not copied?

Any best practice for this? is there a command line that can pace a cp, or should I use rsync?

My only thought is to resort to networking and have a PC mount the SAMBA drives, then have Amahi server write from the NTFS over the network to the PC that is sharing a SAMBA drive. Then the PC would in turn write the files back over the network to the Amhai Server. I could drop the PC to 10Mbps to create a choke point, but this seems an odd way.

Amahi (NTFS) ---Network----PC (SAMBA) --- Network ---- Amahi (LZ)

Any thought?

Re: Slow Move - Is there a way to slow or pace a copy in Fed

Posted: Wed Mar 16, 2011 3:41 pm
by lrevxl
I don't know of any option for cp, but rsync provides you with:

--bwlimit=KBPS limit I/O bandwidth; KBytes per second

Re: Slow Move - Is there a way to slow or pace a copy in Fed

Posted: Thu Mar 17, 2011 2:28 pm
by kcossabo
Thank You

I am going to try this


rsync -tvr --bwlimit=9000 /mnt/3-1/DE/shares/Video-Storage /mnt/samba/Video_Storage

Re: Slow Move - Is there a way to slow or pace a copy in Fed

Posted: Fri Mar 18, 2011 12:12 pm
by kcossabo
that was still too quick.

Code: Select all

rsync -tvr --bwlimit=4000 /var/hda/files/drives/drive8/DE/shares/Video-Storage /mnt/samba/Video_Storage/
worked. The LZ never went above, 12G while coping 87G of data.