- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- dd on 10.20 box, for 9Gb disk, taking hours+
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 06:56 AM
02-07-2001 06:56 AM
I'm trying to image some disks from c3000 workstations with 2x9Gb disks. In single user mode, I am using the following command:
dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=512k
This is taking hours to run! It never used to.. I have tried a number of different target and source disks but no change in the time it takes to complete. It works fine, same rec's in and out, but just taking sooo long!
This can't be right for 9Gb data can it?
Does anyone have any ideas? with bs=512k the source disk (6) flashes intermittently, while the target disk (5) is on constant...
but if I remove bs=512k at the end of the command, both disk are flashing constantly. (It's been running over 2 hours now!) bonus points for whoever replies before it completes! :)
cheers, Nik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:04 AM
02-07-2001 07:04 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
Blocksize 512k should be adequate...
It shouldn't take that long to copy 9 gigs.
Don't you have any disk or SCSI related errors is /var/adm/syslog/syslog.log?
You could use mirroring if you want to replicate a full disk, as they appear to be of same size.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:15 AM
02-07-2001 07:15 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
No errors at all.. it all completes fine as well.. It's just kindof annoying how long it takes as I only have 1 system I can use to image at the moment.. And it gets pretty boring watching the output of 'dd'...!
Maybe I'll try bs=1024k on the next one...?!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:16 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:19 AM
02-07-2001 07:19 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
I would also suggest you check you are using the raw disc, i.e. /dev/rdsk rather than the block device.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:21 AM
02-07-2001 07:21 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
You could try to time transfers using a few blocksize values.
Give a 'count=xxx' to transfer the same amount of data every time.
example for 100Mb:
time dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=1024k count=100
time dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=512k count=200
time dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=256k count=400
time dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=128k count=800
time dd if=/dev/dsk/c3t6d0 of=/dev/dsk/c3t5d0 bs=64k count=1600
This would at least show you which blocksize gives the best speed.
Best regards,
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:28 AM
02-07-2001 07:28 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
carlos, melvyn, I didn't realise I shoulld be using the raw disc (rdsk) rather than (dsk). Is that the case for all dd's?
Dan, thanks for the info on 'time' can't say I've ever used that before.
Nik
btw: you'll be glad to know it still hasn't finished.. so bring on the points! :)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:34 AM
02-07-2001 07:34 AM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
To get image of your system:
Try to install ignite-UX!!!! and use make_recovery utility. ( perfect to put your image on tape ready to install).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2001 12:41 PM
02-08-2001 12:41 PM
Re: dd on 10.20 box, for 9Gb disk, taking hours+
Also, it might be possible that one or both of the disk drives is encountering internal recoverable errors. This can cause slower I/O transfers that do not actually report any problems to the host computer. It is only when the errors are unrecoverable that the drives squawk and SCSI errors are output on the console.