[nflug] nc multicast

Cyber Source peter at thecybersource.com
Wed Nov 5 15:23:26 EST 2008


nope, it's just tar, if it's local it depends on the local stuff, if 
it's nfs or something, you could tweak it up with the rsize and wsize.

Eric Benoit wrote:
> and speed? do you specify a byte amount during transfer?
>
> Cyber Source wrote:
>> Mount your system somewhere with a knoppix cd or whatever, can even 
>> mount into memory space, cd into the mount point, where you'll be at 
>> / then, "tar czpf 
>> /othermountpoint-likeusbdrive-networkmount-whatever/filename.tar.gz 
>> ." That will create a gzipped tar of your entire system (gzip if you 
>> like to keep it small, etc.) Remember to think about different 
>> partitions, /boot, whatever, I like to keep it all on one partition, 
>> save the swap partition. People will argue this but if I ever want to 
>> break it out into partitions later, thats easy enough too.
>> Then take your system your going to do/redo and mount that into 
>> memory (like /mnt/disk) with a knoppix cd or whatever and then mount 
>> your filename.tar.gz somewhere else, like /mnt/orig. Then go into 
>> /mnt/disk and run "tar xzf /mnt/orig/filename.tar.gz". When that's 
>> done, unmount both and run grub like root (hd0,0) (whereever your 
>> /boot is) and setup (hd0)(to write to the mbr of the first drive), 
>> adjust accordingly to your needs.
>> Formatting, swap, and subsequent tweaks of /etc/fstab, 
>> /boot/grub/menu.lst and other tweaks are left up to the reader. but 
>> that's it in a nutshell.
>>
>> Eric Benoit wrote:
>>> that sounds awesome can you give me an example?
>>>
>>>
>>> Cyber Source wrote:
>>>> wow, I use tar and aside from network latency, it generally takes 
>>>> about 5 min for 5gb, depending on processor speed. I've gotten away 
>>>> from using networks entirely but that's my situation here. I use a 
>>>> usb drive to transfer my new "dumps" to a system and usually boot 
>>>> the thing with either a knoppix cd or usb stick. I even keep a copy 
>>>> of an updated archives folder for apt, that I transfer into the new 
>>>> system, this way it doesn't need to download all the packages again 
>>>> (or since I made the dump), tweak a few UUID's and other settings, 
>>>> and all good. I've installed entire systems this way in less than 
>>>> 15min sometimes, all verbatim of the way I like our systems 
>>>> tweaked, ready to ship out.
>>>>
>>>> Eric Benoit wrote:
>>>>> about 45 min
>>>>>
>>>>> Cyber Source wrote:
>>>>>> video streaming??!!
>>>>>> I was asking about some sort of benchmark. You said you want to 
>>>>>> "speed things up" so, I asked for a benchmark, how much data are 
>>>>>> your transferring for how much time? If one system is 16gb and 
>>>>>> you image it to another via your network, how long is that taking?
>>>>>>
>>>>>> Eric Benoit wrote:
>>>>>>> I'll tell you what I do but what are the times were talking 
>>>>>>> about? How much time for how much data?
>>>>>>>
>>>>>>> I'm not video streaming?
>>>>>>>
>>>>>>> I'm just kind of ghosting 16 gb accross a 100mbs connection to 
>>>>>>> about 5 machines at a time
>>>>>>>
>>>>>>> Cyber Source wrote:
>>>>>>>> that still didnt answer my question Eric
>>>>>>>>
>>>>>>>> Eric Benoit wrote:
>>>>>>>>> sorry, I meant speed things up by imaging more than one 
>>>>>>>>> computer at a time
>>>>>>>>>
>>>>>>>>> Cyber Source wrote:
>>>>>>>>>> I'll tell you what I do but what are the times were talking 
>>>>>>>>>> about? How much time for how much data?
>>>>>>>>>>
>>>>>>>>>> Eric Benoit wrote:
>>>>>>>>>>> zcat ./my.img.gz | nc 192.168.10.10 9000
>>>>>>>>>>>
>>>>>>>>>>> nc -l -p 9000 | dd of=/dev/sda
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> I'm using the setup above to image hard drives ...one 
>>>>>>>>>>> computer at a time ...works great, but I want to speed 
>>>>>>>>>>> things up...
>>>>>>>>>>>
>>>>>>>>>>> does this look right:
>>>>>>>>>>>
>>>>>>>>>>> source(192.168.10.10) image command:
>>>>>>>>>>> zcat ./my.img.gz | nc -b -p 9000
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> destination command:
>>>>>>>>>>> nc -l -n 192.168.10.10 -p 9000 | dd of=/dev/sda
>>>>>>>>>>>
>>>>>>>>>>> and another destination command:
>>>>>>>>>>> nc -l -n 192.168.10.10 -p 9000 | dd of=/dev/sda
>>>>>>>>>>>
>>>>>>>>>>> and another destination command:
>>>>>>>>>>> nc -l -n 192.168.10.10 -p 9000 | dd of=/dev/sda
>>>>>>>>>>>
>>>>>>>>>>> _______________________________________________
>>>>>>>>>>> nflug mailing list
>>>>>>>>>>> nflug at nflug.org
>>>>>>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>> _______________________________________________
>>>>>>>>>> nflug mailing list
>>>>>>>>>> nflug at nflug.org
>>>>>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>>>
>>>>>>>>> _______________________________________________
>>>>>>>>> nflug mailing list
>>>>>>>>> nflug at nflug.org
>>>>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>> _______________________________________________
>>>>>>>> nflug mailing list
>>>>>>>> nflug at nflug.org
>>>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> nflug mailing list
>>>>>>> nflug at nflug.org
>>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>> _______________________________________________
>>>>>> nflug mailing list
>>>>>> nflug at nflug.org
>>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>>>
>>>>> _______________________________________________
>>>>> nflug mailing list
>>>>> nflug at nflug.org
>>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>> _______________________________________________
>>>> nflug mailing list
>>>> nflug at nflug.org
>>>> http://www.nflug.org/mailman/listinfo/nflug
>>>
>>> _______________________________________________
>>> nflug mailing list
>>> nflug at nflug.org
>>> http://www.nflug.org/mailman/listinfo/nflug
>> _______________________________________________
>> nflug mailing list
>> nflug at nflug.org
>> http://www.nflug.org/mailman/listinfo/nflug
>
> _______________________________________________
> nflug mailing list
> nflug at nflug.org
> http://www.nflug.org/mailman/listinfo/nflug


More information about the nflug mailing list