- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: for speed, should I also use 'bs' in 'dd' ?
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
Discussions
Discussions
Discussions
Forums
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
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
тАО04-12-2009 10:50 AM
тАО04-12-2009 10:50 AM
i use to take backup of /dev/sda onto /dev/sdb, as following
dd if=/dev/sda of=/dev/sdb
should I also use 'bs' ?
if yes then what value for 'bs' is good
Note: I have two system groups, one has both(sda,sdb) disk scsi, and the group has both disk sata
Regards
Maaz
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 05:59 PM
тАО04-12-2009 05:59 PM
SolutionDo test of some data and take the time, for example:
time dd if=/dev/sda of=/dev/sdb bs=256k count=100
And compare them with different block sized.
Another thing to consider is that probably you could use another tool to "image" your disk, avoiding the copy of unused disk space.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-12-2009 09:57 PM
тАО04-12-2009 09:57 PM
Re: for speed, should I also use 'bs' in 'dd' ?
bs, blocksize does improve or degrade performance in dd read/writes.
The value for best speed depends on the layout of the disk itself, which varies based on the OS and the size of the disk.
If you are using LVM, you can obtain information on this and set your size with pvdisplay data.
Now I've said it can improve performance, its not always necessarily going to be dramatic and therefore worth your time.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-13-2009 02:27 AM
тАО04-13-2009 02:27 AM
Re: for speed, should I also use 'bs' in 'dd' ?
http://www.softpanorama.org/Tools/dd.shtml
enjoy life.
Jean-Pierre Huc
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-14-2009 11:17 PM
тАО04-14-2009 11:17 PM
Re: for speed, should I also use 'bs' in 'dd' ?
>If you are using LVM, you can obtain
>information on this and set your size with
>pvdisplay data.
elaborate/explain please