LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-27-2009, 06:17 PM   #1
srithi
LQ Newbie
 
Registered: Jul 2009
Posts: 9

Rep: Reputation: 0
Usage of /dev/mapper in LVM2


Hello,

We are planning to create raw devices for running Sybase database on RHEL5.3 using LVM2. We will be creating multiple Volume groups and create the logical volumes under the volume groups. We will be using the logical volumes within the Sybase database instance. Just wanted to know if we could access the logical volumes directly using the path /dev/Volumegroup/LogicalVolume or should we only access it using /dev/mapper (/dev/mapper/VolumeGroup-LogicalVolume)?

Please let me know.

Thanks
 
Old 07-28-2009, 11:15 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,332
Blog Entries: 55

Rep: Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533Reputation: 3533
/dev/Volumegroup groups LV's by VG name but /dev/Volumegroup/LogicalVolume provides a symbolic link to /dev/mapper/VolumeGroup-LogicalVolume so both are can be used.
 
Old 07-28-2009, 11:20 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello srithi

Here's the situation on ubuntu 8.04 (sorry -- not RHEL)
  • Block device names are /dev/mapper/<volume group>-<logical volume>.
  • LVM commands require /dev/<volume group>/<logical volume> names and the OS provides these as symlinks to the block device names.
There are some commands that do not work using the symlinks (probably mount and umount, maybe others).

Best

Charles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
What is /dev/mapper/VolGroup00-LogVol00 and what does it stands for ? ytd Linux - Newbie 19 11-08-2016 10:53 PM
discower partitions in /dev/mapper leniviy Linux - General 1 08-01-2009 07:10 AM
Where is /dev/mapper? Swift&Smart Fedora 1 12-08-2007 03:09 AM
newbie question /dev/mapper/lfs-cd echnat0n Linux From Scratch 2 03-05-2007 08:05 AM
/dev/mapper directory joshnya Linux - Newbie 11 09-15-2005 04:09 AM


All times are GMT -5. The time now is 07:32 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration