/dev/hd* /dev/sd* is a very linux-specific answer. Not all systems use those device names. For that matter, even Linux doesn't use those all the time -- some RAID cards will give funny names. In Linux, you can check for all block devices in /sys/class/block, and filter out irrelevant ones by looking deeper in /sys/class/block/[device].
Any good answer will have to be system-specific, because this is a management question, not a system environment one.
Last edited by Corona688; 03-20-2014 at 04:30 PM..
Thank you all for the feedback. However this last command didn't help me.
In fact I was trying this command: df -lk, and when execute this command I get this results:
File system 1024-blocks Used Available Capacitiy Mounted on
/dev/dsk/c0t0d0s0 ............................................................................... /
/devices ................................................................................................ /devices
ctfs .................................................................................................... ......./system/contract
.
.
.
.
.
.
.
/dev/dsk/c0t0d0s3 ....................................................................................../tmp
/dev/dsk/c0t1d0s0 ....................................................................................../inglog
/dev/dsk/c0t0d0s5......................................................................................
/dev/dsk/c0t0d0s4......................................................................................
/dev/dsk/c0t1d0s1
So how can I recognize from this output how many disks there are in the system?
Hello
I recently received a request to reclaim hard disks and IP addresses within an AIX system(s). THe file systems are no longer in use and the client has indicated that it is OK to remove them and reclaim the disks and release the IP's. Now, since the file systems belong to a Volume group I... (8 Replies)
Dear all,
I would like to ask if there are any positive effects from having a dedicated hard disk for the operating system.
The scenario would be to have a dedicated disk for the OS and a dedicated disk for the applications.
Do you see any advantages in such a configuration such as better... (9 Replies)
Could you please explain us what are these transport/hard errors...
when i ran the following command,
iostat -E | grep Errors
i got the following:
sd240 Soft Errors: 37 Hard Errors: 1144 Transport Errors: 0
sd578 Soft Errors: 0 Hard Errors: 890 Transport Errors: 0
Please... (5 Replies)
Hi
I am oracle DBA and sometimes need to see on which disks oracle data files are residing . How can we check that . The file system is jfs on aix 5.2.0.0
The method is use is to use mount |grep oracle_dir_name
or lsfs mount_point_name command to see what /dev/logical_volume_name is mounted... (1 Reply)
How can I get only the local hard disks in Solaris?
I've tried iostat -x, iostat -E, etc, but it shows the cdroms, dvds, external storage... I want only the local physical hard disks.
Thanks. (2 Replies)
I need to insert a new hard disk into a Sun Fire v210 machine. The (only) internal disk which is already in the machine is part number XRA-SC1CB-73G10K (DISK DRIVE ASSY. 73GB, 10K RPM, with SPUD BRACKET).
I also have nearly endless access to IBM hard disks at extremely low prices and would there... (2 Replies)
I'm trying to mount a USB Lacie external hardrive in my Linux system but am having trouble doing so, I'm also having trouble mounting my USB ZIP 250 drive.
It is totally me being stupid, but I'm new to unix and am having a few teathing problems.
the command I'm using is the following mount... (4 Replies)