LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-27-2015, 01:00 AM   #1
eazlan
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Rep: Reputation: Disabled
How to know OracleASM disk mapper to SAN LUN


Hi,

I'm using Oracle Enterprise Linux 6.3 with OracleASM and HP SAN P2000. In OS level, when i type "df -h" command i will get below info

Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-LogVol00 69G 27G 39G 42% /
tmpfs 7.8G 4.3G 3.5G 56% /dev/shm
/dev/sda1 194M 55M 130M 30% /boot
/dev/mapper/vg00-LogVol01 20G 2.6G 17G 14% /home
/dev/mapper/vg00-LogVol02 45G 22G 21G 52% /opt
/dev/mapper/vg00-LogVol04 15G 5.8G 8.3G 42% /tmp
/dev/mapper/vg00-LogVol05 69G 13G 54G 19% /u01/app
/dev/mapper/vg00-LogVol03 60G 2.9G 54G 6% /var
/dev/mapper/vg00-LogVol06 20G 172M 19G 1% /var/crash
/dev/mapper/vg00-LogVol07 80G 28G 48G 37% /rmanbkp

My question is, for example; how do i know /dev/mapper/vg00-LogVol00 mapped to whis LUN at SAN?

Thanks
 
Old 01-27-2015, 11:32 AM   #2
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
ASM handles the drives. You won't see them as a mount point from a systems perspective. Last I knew you have to get to a command line for OracleASM and look at them from there. Once they are put into ASM then it handles them from there.

Edit---

The location that you are talking about does not appear to be an ASM location, but an LVM location. You might want to look at the commands pvdisplay, vgdisplay, and lvdisplay.

Last edited by grim76; 01-27-2015 at 11:34 AM. Reason: Did not respond to question, but the information.
 
Old 01-27-2015, 11:58 AM   #3
p_s_shah
Member
 
Registered: Mar 2005
Location: India
Distribution: RHEL 3/4, Solaris 8/9/10, Fedora 4/8, Redhat Linux 9
Posts: 237
Blog Entries: 1

Rep: Reputation: 34
Agreed with above reply. Just to elaborate more.

#vgdisplay vg00
#lvdisplay LV00
This will show all devices part of LV00.
#pvdisplay <each device in above ouput>

Once you get device name, you need to utility will give you device (for e.g. /dev/sdc) to lun id and wwn number.
For symmetrix, utility is called "inq", there must be something similar for HP storage array.

http://h20564.www2.hp.com/hpsc/swd/p...&swEnvOid=4103

Please reply back on thread if more info required.
 
Old 01-27-2015, 08:46 PM   #4
eazlan
LQ Newbie
 
Registered: Jan 2015
Posts: 2

Original Poster
Rep: Reputation: Disabled
Sorry. I'm totally a beginner and new to OracleASM. Pls correct me if i'm wrong.
1. pvdisplay
2. vgdisplay
3. lvdisplay

Then?

Example, i want to find info for vg00-LogVol01

Thanks

Last edited by eazlan; 01-27-2015 at 08:49 PM.
 
Old 01-28-2015, 08:36 AM   #5
grim76
Member
 
Registered: Jun 2007
Distribution: Debian, SLES, Ubuntu
Posts: 308

Rep: Reputation: 50
The volume you are talking about is likely not managed by OracleASM. It is managed by LVM.

Oracle has really good documentation on OracleASM and how to manage it. I would refer to that especially since you are paying for support from Oracle. However, looking at the volume that you are talking about appears to be managed by LVM and not ASM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Got SAN lun 0 without mapping any disk to the server kankan55 Linux - Newbie 5 01-03-2013 03:40 AM
[SOLVED] How to see /scan new EMC SAN lun / disk in RHEL 5 mail4vijay Linux - General 1 04-07-2011 08:27 AM
SAN LUN disk space and /dev/dm-5 noir911 Linux - Server 1 03-17-2010 11:59 AM
Where in Device Mapper is the unique long WWID or UID of the LUN virtual disk stored? DougStorage Linux - Hardware 1 03-08-2010 08:40 AM
SAN LUN disk device order jhumeston Linux - Software 1 07-28-2004 06:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration