storage disk details

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat storage disk details
# 1  
Old 03-09-2012
Oh, that's easy. dm-0 corresponds to the logical volume VolGroup00-LogVol00. Since you have only one disk, and only one VG, it's the internal disk.
This User Gave Thanks to pludi For This Post:
# 2  
Old 03-09-2012
Thanks pludi,

So you mean dm-0 and dm-1 here are my hdd?
Also, where can i see the details of storage disk's then? we have configured it on our system..

Regards!
# 3  
Old 03-09-2012
Try this

Code:
cmdline #  lvdisplay|awk  '/LV Name/{n=$3} /Block device/{d=$3; sub(".*:","dm-",d); print d,n;}'


Last edited by pludi; 03-12-2012 at 06:02 AM..
# 4  
Old 03-09-2012
Quote:
Originally Posted by shrshah64
Thanks pludi,

So you mean dm-0 and dm-1 here are my hdd?
What they're keying off of is the minor number on the block device. A major number of 253 means it's a devicemapper device while the minor number is used in the dm-X naming scheme. Your "ls -l" shows the minor number of "0" (i.e "dm-0") is associated with VolGroup00-LogVol00. So the long and the short of it is that dm-0 is another name for the VolGroup00-LogVol00 logical volume.

Judging from your initial output it looks like sda is a local drive and I don't see anything to imply that VolGroup00 has anything but local volumes in it (you can check with "pvs" though. If sda is the only thing that shows up then you're good).

Quote:
Also, where can i see the details of storage disk's then? we have configured it on our system..
What specific details were you hoping to get at?

Last edited by thmnetwork; 03-09-2012 at 03:00 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to monitor the disk space details in HP-UX

Hi, I need to monitor the disk space details in HP-UX . I need a command on how to display the information on below format File System Total_Space_KB Used_Space_KB Available_Space_KB %Used /u05 524288000 376235344 138799427 73% /u02 ... (0 Replies)
Discussion started by: ali560045
0 Replies

2. AIX

Command to get Disk Adapter details in AIX

Hi, What is the command to get the disk adapter performance details in AIX?. Guide me. (2 Replies)
Discussion started by: maruthu
2 Replies

3. Solaris

Disk Storage Need to Add more Disk

Hi, Anyone can help me, just want to confirm, if possible adding a disk storage that we have a RAWDATA with +ASM in our database. If possible, what would you recommend "workaround used" from us to do and the preparation. And also how long the downtime will take. Our disk continuous to grow,... (0 Replies)
Discussion started by: fpalero
0 Replies

4. Solaris

Need Hard Disk Details

Hi freinds, What is the command to find out the hard disk details (logical name, FS type etc,). Because i connected one ntfs partition and i don't know the hard disk logical and physical name to mount it.Kindly do the needful. Thanks | P.Bharathiraja. :mad: (2 Replies)
Discussion started by: bharathiraja
2 Replies

5. Shell Programming and Scripting

Disk space details from Unix to Outlook

Hi Friends, I am using sun Solaris . I want to find the disk space (df -k) for the Unix box and the data has to be sent to an email id. Can u please find me a code that checks the disk space 6 times a day, loads the data into an excel sheet and sends to an email id. Can u also tell me how to... (2 Replies)
Discussion started by: sridharnr
2 Replies

6. UNIX for Dummies Questions & Answers

Details on available disk

Hi everybody.. I am looking for an alternative command to 'format' since this is allowed only to the root user. How do I do to get the same information as command format does here below ? AVAILABLE DISK SELECTIONS: 0. c0t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> ... (4 Replies)
Discussion started by: Riddick61
4 Replies
Login or Register to Ask a Question