- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk excercice
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
Forums
Discussions
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
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
11-13-2000 01:55 AM
11-13-2000 01:55 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 02:12 AM
11-13-2000 02:12 AM
Re: Disk excercice
cat or cp. If you cp or cat the files to /dev/null that should exercies the read element of your disk. I would use cp, cat may pick up control characters in some files and thus do some strange things to your display.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 02:12 AM
11-13-2000 02:12 AM
Re: Disk excercice
mv will move your data to another specified area.
cp does not exercise disk as dd does and it does not destroy data
cat and more will allow you to page file information for viewing and will not
damage data unless binary and machine file. I will advise that you use 'file'
before using vi to check the file if you don't really know the file format
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 02:15 AM
11-13-2000 02:15 AM
Re: Disk excercice
i'm not clear what you want.
Why exercising with cat,mv,cp, more ?
Do you want to read from disk device or filesystem ?
All 4 commands can be used to read or write from/to a file.
Writing to device is very dangerous.
Read will never harm any data.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2000 03:04 AM
11-13-2000 03:04 AM
SolutionAgreed cp is not as good as dd but thats not the question, the question was which of those commands is best to use for disk exercising. Using time cp to copy all the files on an lvol/disk to /dev/null would still be a good exerciser of a disks read speed, eg;
cd /tmp
time find . -type f -exec cp /dev/null {} \;