Sponsored Content
Top Forums Shell Programming and Scripting File representing the hard disk storage device Post 302750211 by tamer11007 on Monday 31st of December 2012 06:34:37 AM
Old 12-31-2012
thanks

I want example to understand this i diea in unix
 

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

get Hard disk load in .txt file

Hello guys, i m coming from germany and i am new to all this unix stuff. i need an pearl script which saves the hard disk load (free space in vg and lv) from a few servers. The Servers are all in the same network and got their own IP adresses. But the Problem is, that they got different... (1 Reply)
Discussion started by: christophST
1 Replies

2. Shell Programming and Scripting

crontab; copy most recent *.mpg file from local machine to smb storage device

Hello, I've been searching your forum for an answer to the following question and whilst I've seen several which may help I'm afraid my inexperience with UNIX systems has got the better of me and I'm incapable of piecing your considerable expertise together. Problem: I have a linux box which... (5 Replies)
Discussion started by: julezsht
5 Replies

3. Linux

C++ Code to Access Linux Hard Disk Sectors (with a LoopBack Virtual Hard Disk)

Hi all, I'm kind of new to programming in Linux & c/c++. I'm currently writing a FileManager using Ubuntu Linux(10.10) for Learning Purposes. I've got started on this project by creating a loopback device to be used as my virtual hard disk. After creating the loop back hard disk and mounting it... (23 Replies)
Discussion started by: shen747
23 Replies

4. Shell Programming and Scripting

Age of file in storage / disk

Hello all, Below is scripts to find the file following by: 30 days <- How many total file space within 30 days and not quantity 90 days 120 days 1 year From here also I can get data space to put on PIE Chart. Following this scripts can I do some enhance from this scripts like do... (1 Reply)
Discussion started by: sheikh76
1 Replies

5. UNIX for Dummies Questions & Answers

Hard disk and file management?

Dear experts, I have to write a small project named "Hard disk management and file management in Unix/Linux". I have absolutely NO idea about what Unix/Linux is, except that it is operational system. My question to you is: Whats is the difference between Unix and Linux and since the title of my... (3 Replies)
Discussion started by: makara
3 Replies

6. AIX

Command to check the busy % for a hard disk device like hdisk5

Please help with command to check the busy % for a hard disk device like hdisk5 Best regards, Vishal (7 Replies)
Discussion started by: Vishal_dba
7 Replies
DRTEST(8)						      System Manager's Manual							 DRTEST(8)

NAME
drtest - standalone disk test program DESCRIPTION
Drtest is a standalone program used to read a disk track by track. It was primarily intended as a test program for new standalone drivers, but has shown useful in other contexts as well, such as verifying disks and running speed tests. For example, when a disk has been format- ted (by format(8)), you can check that hard errors has been taken care of by running drtest. No hard errors should be found, but in many cases quite a few soft ECC errors will be reported. While drtest is running, the cylinder number is printed on the console for every 10th cylinder read. EXAMPLE
A sample run of drtest is shown below. In this example (using a 750), drtest is loaded from the root file system; usually it will be loaded from the machine's console storage device. Boldface means user input. As usual, ``#'' and ``@'' may be used to edit input. >>>B/3 %% loading hk(0,0)boot Boot : hk(0,0)drtest Test program for stand-alone up and hp driver Debugging level (1=bse, 2=ecc, 3=bse+ecc)? Enter disk name [type(adapter,unit), e.g. hp(1,3)]? hp(0,0) Device data: #cylinders=1024, #tracks=16, #sectors=32 Testing hp(0,0), chunk size is 16384 bytes. (chunk size is the number of bytes read per disk access) Start ...Make sure hp(0,0) is online ... (errors are reported as they occur) ... (...program restarts to allow checking other disks) (...to abort halt machine with ^P) DIAGNOSTICS
The diagnostics are intended to be self explanatory. Note, however, that the device number in the diagnostic messages is identified as typeX instead of type(a,u) where X = a*8+u, e.g., hp(1,3) becomes hp11. SEE ALSO
format(8V), bad144(8) AUTHOR
Helge Skrivervik 4.2 Berkeley Distribution May 19, 1986 DRTEST(8)
All times are GMT -4. The time now is 10:04 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy