* remote backup using dd, why ibs and obs needed
@ 1998-04-15 4:00 Pui Ming WONG
1998-04-16 4:00 ` Player
0 siblings, 1 reply; 2+ messages in thread
From: Pui Ming WONG @ 1998-04-15 4:00 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: remote backup using dd, why ibs and obs needed
1998-04-15 4:00 remote backup using dd, why ibs and obs needed Pui Ming WONG
@ 1998-04-16 4:00 ` Player
0 siblings, 0 replies; 2+ messages in thread
From: Player @ 1998-04-16 4:00 UTC (permalink / raw)
To: Pui Ming WONG
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~1998-04-16 4:00 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-04-15 4:00 remote backup using dd, why ibs and obs needed Pui Ming WONG
1998-04-16 4:00 ` Player
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox