check disk info


 
Thread Tools Search this Thread
Operating Systems Solaris check disk info
# 1  
Old 01-07-2009
check disk info

hi friends,

- how may i check the list of disk
partitions created till date specifying their physical path, size and date ?

-i know only "df -k" "df -h" "du"

-anyother command?

-kindly advise friends..thanks alot
# 2  
Old 01-08-2009
format < /dev/null will list all of the disks visible on the system.

You can then use the prtvtoc command on each individual disk to display the slices (partitions if you like) on those disks.

With a bit of fancy scripting you could automate it... there is nothing that I'm aware of that will tell you the date that slices were created.
# 3  
Old 01-08-2009
great...thanks for the reply.
and also please note #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
# 4  
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
# 5  
Old 01-09-2009
you can also try this command

Code:
iostat -En


and from the "format" command you can select "partition" and then you can see how each disk is sliced.


Also to know where each slice is mounted, you can use

Code:
cat /etc/vfstab

Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. 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

7. 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

8. 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

9. 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

10. 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
Login or Register to Ask a Question