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
PARTX(8)						      System Manager's Manual							  PARTX(8)

NAME
partx - telling the kernel about presence and numbering of on-disk partitions. SYNOPSIS
partx [-a|-d|-l] [--type TYPE] [--nr M-N] [partition] disk DESCRIPTION
Given a block device ( disk ) and a partition table type , try to parse the partition table, and list the contents. Optionally add or remove partitions. This is not an fdisk - adding and removing partitions is not a change of the disk, but just telling the kernel about presence and numbering of on-disk partitions. OPTIONS
-a add specified partitions or read disk and add all partitions -d delete specified or all partitions -l list partitions. Note that the all numbers are in 512-byte sectors. --type TYPE Specify the partition type -- dos, bsd, solaris, unixware or gpt. --nr M-N Specify the range of partitions (e.g --nr 2-4). SEE ALSO
addpart(8), delpart(8), fdisk(8), parted(8), partprobe(8) AVAILABILITY
The partx command is part of the util-linux-ng package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/. 11 Jan 2007 PARTX(8)
All times are GMT -4. The time now is 06:14 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy