Storage Devices



I have quostion on disk name on OEL 5 linux . when i do fdsik -l . i am getting following type devices

/dev/c0d0p1 ,2 3

dm-0 ,1,2,3,4

/dev/sda1 ,2 3

I have storage atteched to it . i know c0d0p1 is DAS disk  and /dev/sda denotes the storage . but cant under stand dm-0,1,2,3

Please help me on this


sabirkkAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

xtermCommented:
dm= device manager (LVM) devices.  These are logical volumes.
0
sabirkkAuthor Commented:
i have made file system partition as LVM and SAN is not yet configured (multipathing) , where can i see the device mapping.

 
is there any command  or file where it shown /dev/sda mapped to dm-1


appreciate expert answers
0
Gerwin Jansen, EE MVETopic Advisor Commented:
Can you type 'mount' and post the output?
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

xtermCommented:
Look at /dev/disk/by-* - they are symlinks to the /dev/sdX devices.  That might tell you what you need.
0
sabirkkAuthor Commented:
i cannot find any links , there . is there is any other way.



0
xtermCommented:
What does this show?
find /dev/disk/by-* | xargs ls -l

Open in new window

0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
sabirkkAuthor Commented:

it didnt give dm- mappings , only shows devices by id , label etc



0
xtermCommented:
Try this:
lvs -o lv_name,vg_name,devices

Open in new window

0
sabirkkAuthor Commented:
None of the found usfull
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.