Re: bash script: move large LV to another machine
Ed Heron <[email protected]> Wed, 14 Sep 2011 12:21:42 -0600
| Newsgroups | gmane.org.user-groups.nmlug |
|---|---|
| Message-ID | <[email protected]> |
On Wed, 2011-09-14 at 10:11 -0600, Ed Heron wrote: > ... I suspect the last dd > command, but I'm not seeing what is wrong. > > ... dd if=$src_dev bs=$sync_bs skip=$skip count=1 2>/dev/null | ssh > $dst_addr "dd of=$dst_dev bs=$sync_bs skip=$skip 2>/dev/null" > ... OK. skip may be the wrong parameter on the write dd. I changed it to seek. Doesn't appear to significantly improve the function. I notice seek talks about breaking the file at that point which can't really be done with a block device.... I'm starting to get the feeling that I'm trying to use dd in a way that wasn't intended... _______________________________________________ NMLUG mailing list [email protected] http://lists.b9.com/cgi-bin/mailman/listinfo/nmlug