Skip to contentSkip to conversation

dd maybe?

DISCUSSION David Jackson 4 participants 11 messages Jun 11, 2002 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

Scott --

Quoted 5 lines

Hello,

I'm just wondering if there is a way to successfully make a mirrored copy of a drive, formatted with NTFS, by using a tool like dd, or is there a better (other Linux) tool for this?

If your going to use dd the drvies have to be identical. ie. heads, sectors, etc.

Also be sure to set the block size "bs" flag.

David

#1 lore raw
Quoted 8 lines · you

Scott --

Quoted 5 lines

Hello,

I'm just wondering if there is a way to successfully make a mirrored copy of a drive, formatted with NTFS, by using a tool like dd, or is there a better (other Linux) tool for this?

If your going to use dd the drvies have to be identical. ie. heads, sectors, etc.

Oh. Bummer, try and find a 500MB drive today. :(

Quoted 1 line

Also be sure to set the block size "bs" flag.

That's the question I forgot to ask, "how can I tell what block size to use? (is there a magic number that will work regardless?)"

#2 lore raw

If it's NTFS, you should look into Ghost Disk.

Jeff

Quoted 25 lines · Scott Taylor
Quoted 9 lines · you

Scott --

Quoted 3 lines

Hello,

I'm just wondering if there is a way to successfully make a mirrored

copy

Quoted 2 lines

of a drive, formatted with NTFS, by using a tool like dd, or is there a better (other Linux) tool for this?

If your going to use dd the drvies have to be identical. ie. heads, sectors, etc.

Oh. Bummer, try and find a 500MB drive today. :(

Quoted 1 line

Also be sure to set the block size "bs" flag.

That's the question I forgot to ask, "how can I tell what block size to use? (is there a magic number that will work regardless?)"

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
Quoted 1 line · Jeff Hunter

If it's NTFS, you should look into Ghost Disk.

Who? Is that a Linux tool?

Thanks.

Scott.

#4 lore raw
Quoted 4 lines · Scott Taylor
Quoted 1 line · Jeff Hunter

If it's NTFS, you should look into Ghost Disk.

Who? Is that a Linux tool?

Only ghosts I know of is for Postscript viewing.

#5 lore raw
In reply to Scott Taylor

It's Norton or Symantec and runs in DOS (I believe). It will make an image of any DOS/FAT/NTFS partition that can be placed on any other IDE (and maybe SCSI) drive.

Jeff

Quoted 16 lines · Scott Taylor
Quoted 1 line · Jeff Hunter

If it's NTFS, you should look into Ghost Disk.

Who? Is that a Linux tool?

Thanks.

Scott.

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

A message that is not in the archive (sent off-list or not yet received): 5.1.0.14.0.20020611080722.01a7e718@mustang

#7 lore raw

Quite likely an evaluation copy out there somewhere...

Jeff

Quoted 35 lines · Scott Taylor
Quoted 1 line · you

It's Norton or Symantec and runs in DOS (I believe). It will make an image of any DOS/FAT/NTFS partition that can be placed on any other IDE (and maybe SCSI) drive.

DOS? Norton? Sounds like it costs money. ;)

Cheers.

Quoted 23 lines

Jeff

Quoted 5 lines · Scott Taylor
Quoted 1 line · Jeff Hunter

If it's NTFS, you should look into Ghost Disk.

Quoted 7 lines

Who? Is that a Linux tool?
Thanks.
Scott.
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#8 lore raw
In reply to Scott Taylor
Quoted 8 lines · Scott Taylor
Quoted 6 lines
Quoted 3 lines

I'm just wondering if there is a way to successfully make a mirrored copy of a drive, formatted with NTFS, by using a tool like dd, or is there a better (other Linux) tool for this?

If your going to use dd the drvies have to be identical. ie. heads, sectors, etc.

Oh. Bummer, try and find a 500MB drive today. :(

Copying partitions (rather than entire disks) with dd is usually safe; you only need to ensure that the partitions are of the same size. But that still leaves the problem of getting the boot sector written. Also, I haven't tried it with NTFS.

Quoted 4 lines
Quoted 1 line

Also be sure to set the block size "bs" flag.

That's the question I forgot to ask, "how can I tell what block size to use? (is there a magic number that will work regardless?)"

When copying disks, it doesn't generally matter what block size you use[1] , but the amount of data to copy should be an exact multiple of the block size. However, things will probably go faster if you pick a larger block size than the default (512 bytes).

[1] The most common case where block size does matter is when accessing a tape drive.

Signature · 1 line
Glynn Clements <[email protected]>
#9 lore raw
Quoted 5 lines · Glynn Clements
Quoted 1 line · Scott Taylor
Quoted 1 line
Quoted 1 line

I'm just wondering if there is a way to successfully make a

mirrored copy

Quoted 1 line
Quoted 1 line
Quoted 1 line

of a drive, formatted with NTFS,

<sweep>

Quoted 3 lines

Copying partitions (rather than entire disks) with dd is usually safe; you only need to ensure that the partitions are of the same size. But that still leaves the problem of getting the boot sector written.

Yeah, no problem with ext2 partitions.

Quoted 1 line

Also, I haven't tried it with NTFS.

That was the main point of my question. ;)

Quoted 3 lines

When copying disks, it doesn't generally matter what block size you use[1] , but the amount of data to copy should be an exact multiple of the block size.

I think your heading in the direction where I'm lost. Can you elaborate on that?

Quoted 2 lines

However, things will probably go faster if you pick a
larger block size than the default (512 bytes).

makes sense.

Cheers.

Scott.

#10 lore raw
Quoted 6 lines · Scott Taylor
Quoted 3 lines

When copying disks, it doesn't generally matter what block size you use[1] , but the amount of data to copy should be an exact multiple of the block size.

I think your heading in the direction where I'm lost. Can you elaborate on that?

I don't know if it can be said any more simply. Basically, you need to know the size of the partition to be copied, or at least the size of each cylinder (it's a safe bet the the partition is an exact number of cylinders).

Signature · 1 line
Glynn Clements <[email protected]>
#11 lore raw
Quoted 11 lines · Glynn Clements
Quoted 5 lines · Scott Taylor
Quoted 3 lines

When copying disks, it doesn't generally matter what block size you use[1] , but the amount of data to copy should be an exact multiple of the block size.

I think your heading in the direction where I'm lost. Can you

elaborate on

Quoted 1 line

that?

I don't know if it can be said any more simply.

You just did. ;)

Quoted 2 lines

Basically, you need to
know the size of the partition to be copied,

I see, that makes much more sense to me. Shouldn't be hard to figure out, just by mounting it.

Thanks again.

Scott.