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.
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
Gerwin Jansen, EE MVETopic Advisor Commented:
Can you type 'mount' and post the output?
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

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



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

Open in new window

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



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

Open in new window

sabirkkAuthor Commented:
None of the found usfull
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.