Sponsored Content
Full Discussion: check disk info
Operating Systems Solaris check disk info Post 302274637 by kumarmani on Thursday 8th of January 2009 03:48:25 AM
Old 01-08-2009
i am not sure as its going to give you list of disk with df-k and du, its only going to give you the slices which are mounted in your system, there are possibility that there are disk and slices which are not mounted. will you have commands whcih can list you the disk attached to your system of course one of the option is
Quote:
#echo |format
and if you wanna know the slice and size you may have to dig in more with format command.

Quote:
the other commands to find the disk are cfgadm -al and prtconf.
great...thanks for the reply.
and also please note
Quote:
#ls -lLc /dev/md/rdsk |grep <application>
will also tell the partition detail related to any application sitting on that disk...just wanna share my knowledge,thanks alot
The above is going to list the different volumes as you r trying to list the /dev/md whcih is for metadevices
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

gettting disk info from console

Hi all, can someone tell me the easiest was to get disk info from a console. I manage headless servers, and would like to collect the specs on hard drives installed without looking it up through Sun. The boot messages only tell me the size/name e.g. 'Sun36G' I want to know the rotation... (1 Reply)
Discussion started by: mintzy
1 Replies

2. UNIX for Advanced & Expert Users

check disk

How I do to check disk not use in my server. Sun Solaris 2.8 df -k du |sort -rn But I want check disk and analyse a file system not used. Thanks for reply. (1 Reply)
Discussion started by: chris_carmo
1 Replies

3. Shell Programming and Scripting

need help with disk check script

I wrote a script that checks particular device path directory which is full or more than 90% used, and will search older file inside and delete it. My code looks like this: #!/usr/bin/ksh ref=90 df -k | grep /cbmdata/00/gdd | tr -d '%' | \ while read a b c d e other do if (( $e >= $ref... (4 Replies)
Discussion started by: xramm
4 Replies

4. UNIX for Dummies Questions & Answers

How to check kernel info

Hi, can anyone tell how can i check kernel memory and paging info etc.. thanks, Mazhar (6 Replies)
Discussion started by: mazhar99
6 Replies

5. Solaris

Disk space check

Hi, I have a question regarding finding free space on the disk of a solaris machine. Many mount points are available in my machine. Right now i am using df -b option to get the free disk space available. I have an assignment to check free space on the disk. I pass the directory as a... (6 Replies)
Discussion started by: raghu.amilineni
6 Replies

6. Filesystems, Disks and Memory

vx/disk.info

Hello Guys, This is solaris 8 and VXFS= 5.0,REV=5.0A55_sol. For some reason I find Disk_7 and Disk_8 is showing disk c2t3d0, as below (notice first 2 lines) Disk_7 and Disk_8 were shown failed in vxdisk list, so I used vxdiskadm and resttached and reinitialized the disks and added to... (0 Replies)
Discussion started by: upengan78
0 Replies

7. Solaris

How to check disk io

Hi, How to check disk io mount pointwise? I am working as Oracle DBA and want to check disk io as per mount point for adding new datafiles in tablesapce or change my redolog files to lowest disk I/O mount point. My all mount points are like /data1, /data2, /data3 ,,,,,. Can somebody tell me how... (1 Reply)
Discussion started by: rahul_switch
1 Replies

8. UNIX for Advanced & Expert Users

check if the disk is slow

Hi, we have some Oracle DBs on a AIX server. We have the following error messages : Warning: log write time 540ms, size 5444KB *** 2008-05-14 10:19:02.686 Warning: log write time 1470ms, size 5533KB Oracle in LGWR Is Generating Trace file with "Warning: Log Write Time 540ms, Size 5444kb"... (6 Replies)
Discussion started by: big123456
6 Replies

9. Solaris

Boot disk crash with metadb config info

Hello all; We have a SunFire V240 with three disks that were part of a metadb. One of those disks, the boot disk, experienced a horrible death Monday night and we're now trying to recover from that. I know very little about metadb stuff, so please be gentle with me... I'm assuming... (3 Replies)
Discussion started by: Handon
3 Replies

10. Shell Programming and Scripting

Check disk space

I am trying a script which will alert if disk space crosses some threshold, i googled it and got some scripts already, but they are not working with my server. The problem is, my filesystem names are big, so the sizes are moving to the second line. just like below any ideas? thanks in advance... (8 Replies)
Discussion started by: karthikeayan
8 Replies
cmdk(7D)							      Devices								  cmdk(7D)

NAME
cmdk - common disk driver SYNOPSIS
cmdk@target, lun : [ partition | slice ] DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable disks. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin- gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit- ted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL error. Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area. Fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program. FILES
/dev/dsk/cndn[s|p]n block device (IDE) /dev/rdsk/cndn[s|p]n raw device (IDE) where: cn controller n dn lun n (0-7) sn UNIX system slice n (0-15) pn fdisk partition(0) /kernel/drv/cmdk 32-bit kernel module. /kernel/drv/amd64/cmdk 64-bit kernel module. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I) SunOS 5.10 9 Oct 2004 cmdk(7D)
All times are GMT -4. The time now is 02:23 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy