Re: dd issues

2006-05-02 Thread Jim Stapleton

That doesn't sound like a backup to me.  dd isn't a backup program,
and CDs are not normally things you back up.


A backup is just a copy of the data on a different media than the
source (in this case, a hard drive). People back up CDs alll the time,
in case they get scratched or damaged, and they don't want to have to
deal with finding/obtaining replacements. In some cases, the
replacements aren't even possible, such as if the distributing company
went out of business.


Use the conv=sync
operation to transfer the last incomplete block correctly.


Ahh, that will be useful. Thank you.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dd issues

2006-05-01 Thread Greg 'groggy' Lehey
On Monday,  1 May 2006 at 21:21:26 -0400, Jim Stapleton wrote:
> On 5/1/06, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:
>> Without more background in what you're trying to do (you don't even
>> say what backup program or what medium you're trying to back up to),
>> or what your concerns are, it's difficult to answer this question.
>> There are no specific issues with block size on most archivers, but in
>> general large block sizes (64 kB or larger) will give better
>> performance.
>
> program is dd, source medium is CD, destination medium is hard
> drive.

That doesn't sound like a backup to me.  dd isn't a backup program,
and CDs are not normally things you back up.  But they have a sector
size of 2 kB, so you will need to transfer in multiples of 2 kB.  As I
said above, 64 kB or larger is a good idea.  Use the conv=sync
operation to transfer the last incomplete block correctly.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgprpbqJGg5wH.pgp
Description: PGP signature


Re: dd issues

2006-05-01 Thread Jim Stapleton

On 5/1/06, Greg 'groggy' Lehey <[EMAIL PROTECTED]> wrote:

On Monday,  1 May 2006 at 19:44:00 -0400, Jim Stapleton wrote:
> I'm trying to back up some of my software, and I'm having some
> problems, I found something in the archives specifying the need to set
> a block size of 2k or greater. This makes a backup (I've not tested it
> yet).
>
> My questions are:
> (1) Why does this work?

Why shouldn't it?


Because the alternative does not work (default block size, block size
less than 2k).



> (2) Is it possible that not using the default/found block size will
> cause issues?

Yes.

Without more background in what you're trying to do (you don't even
say what backup program or what medium you're trying to back up to),
or what your concerns are, it's difficult to answer this question.
There are no specific issues with block size on most archivers, but in
general large block sizes (64 kB or larger) will give better
performance.


program is dd, source medium is CD, destination medium is hard drive.
Possible later medium is compressed files on HD DVD-RW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: dd issues

2006-05-01 Thread Greg 'groggy' Lehey
On Monday,  1 May 2006 at 19:44:00 -0400, Jim Stapleton wrote:
> I'm trying to back up some of my software, and I'm having some
> problems, I found something in the archives specifying the need to set
> a block size of 2k or greater. This makes a backup (I've not tested it
> yet).
>
> My questions are:
> (1) Why does this work?

Why shouldn't it?

> (2) Is it possible that not using the default/found block size will
> cause issues?

Yes.

Without more background in what you're trying to do (you don't even
say what backup program or what medium you're trying to back up to),
or what your concerns are, it's difficult to answer this question.
There are no specific issues with block size on most archivers, but in
general large block sizes (64 kB or larger) will give better
performance.

Greg
--
When replying to this message, please copy the original recipients.
If you don't, I may ignore the reply or reply to the original recipients.
For more information, see http://www.lemis.com/questions.html
See complete headers for address and phone numbers.


pgptR7e7CVpJY.pgp
Description: PGP signature


dd issues

2006-05-01 Thread Jim Stapleton

I'm trying to back up some of my software, and I'm having some
problems, I found something in the archives specifying the need to set
a block size of 2k or greater. This makes a backup (I've not tested it
yet).

My questions are:
(1) Why does this work?
(2) Is it possible that not using the default/found block size will
cause issues?



Thanks
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"