On Thu, Sep 10, 2009 at 12:16:27PM +0200, Milan Prihoda wrote:
> Jan Stary wrote:
> >On Sep 10 10:36:41, Milan Prihoda wrote:
> >>Hi,
> >>i have few IBM scsi drives from old (risc-based) IBM as/400.
> >>
> >>These drives have 520KByte sector size instead of 512KByte.
> >>Is there any way how to dump raw data from these drives without
> >>reformat drive to different sector size ?
> >>
> >>$ dmesg
> >>...
> >>sd2 at scsibus0 targ 3 lun 0: <IBMAS400, DFHSS4W, 4I4I> SCSI 2
> >>0/direct  fixed
> >>sd2: drive offline
> >>...
> >
> >What is "raw data"?
> >Just dd if=/dev/rsd2c of=somewhere.
> >
> >Or is there a filesystem you can read/dump?
> >Then "dump | restore" as usual.
> >
> >What are you _really_ trying to do?
> >
> Yes, just dd if=/dev/rsd2c ....
> 
> _really_ ? :-) I am just curious :-)

dd(1) has an option to set the block size (bs=...). Setting this to a
(multiple of) the block size of the underlying hardware may (or may not)
increase performance.

However, the drivers will take care of any hardware issues and present a
stream of bytes to userland, no matter the block size. So plain dd will
work.

                Joachim

Reply via email to