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

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

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

Postby kcossabo » Wed Mar 16, 2011 4:40 am

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?

User avatar
lrevxl
Posts: 82
Joined: Fri Mar 04, 2011 7:23 pm
Location: Chicago, IL, USA
Contact:

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

Postby lrevxl » Wed Mar 16, 2011 3:41 pm

I don't know of any option for cp, but rsync provides you with:

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

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

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

Postby kcossabo » Thu Mar 17, 2011 2:28 pm

Thank You

I am going to try this


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

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

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

Postby kcossabo » Fri Mar 18, 2011 12:12 pm

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.

Who is online

Users browsing this forum: No registered users and 5 guests