From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f8c9b,1948c7bbb32f26b4 X-Google-Attributes: gidf8c9b,public X-Google-Thread: fee84,1948c7bbb32f26b4 X-Google-Attributes: gidfee84,public X-Google-Thread: 115614,1948c7bbb32f26b4 X-Google-Attributes: gid115614,public From: Player <++nospam++cparker1@postoffice.pacbell.net> Subject: Re: remote backup using dd, why ibs and obs needed Date: 1998/04/16 Message-ID: <3536C715.484F3932@postoffice.pacbell.net>#1/1 X-Deja-AN: 344887571 Content-Transfer-Encoding: 7bit References: <6h17ip$8a4$1@power42t.hkbu.edu.hk> To: Pui Ming WONG Content-Type: text/plain; charset=us-ascii Organization: Pacific Bell Internet Services Mime-Version: 1.0 Newsgroups: comp.unix.osf.osf1,comp.unix.aix,comp.unix.questions Hi, In AIX the "tar" command is using the defaults from the tape device " I would guess", therefore the "dd" need to know how to extract the tarred file to the target host's device. CJ Pui Ming WONG wrote: > I'm trying to backup files on a Alphaserver (running DG Unix) > remotely to an IBM rs6000 tape drive (running AIX 3.2.5) > using the command > tar cf file-to-back | rsh REMOTEHOST dd of=/dev/rmt0 > However it complained with invalid argument of dd > So i read the AIX FAQ, and it suggests: > tar cf file-to-back | rsh REMOTEHOST ibs=512 obs=1024 of=/dev/rmt0 > and it seems to work. > Why is this block size arguments needed for such backup to remotetape > (when of=/some/file they are not required !) ? > And why the different values for ibs and obs ? > > -- > __ > / \_/ ) __ Pui Ming WONG (E-mail: pm@hkbu.edu.hk) > / ( ------------- } System Support Programmer > ( =l=ll===============__} Computing & Telecomm. Services Centre > \ _ ( Hong Kong Baptist University > \_/ \__) 224 Waterloo Road, Hong Kong