- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Maintain device mapper aliases (/dev/mapper/or...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-04-2010 08:05 AM
тАО03-04-2010 08:05 AM
How is this done? if UDEV Rules -- can you give an example pelase? We run RHEL 5.4.
For example, our Device Mapper Alias is as follows:
multipath {
wwid 1HITACHI_D60H67000136
alias oravol01
}
And it immediately creates /dev/mapper/oravol01. After a reboot it also creates /dev/mpath/oravol01.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 04:29 AM
тАО03-08-2010 04:29 AM
Solutionmultipath {
wwid 1HITACHI_D60H67000136
alias oravol01
uid 900
gid 800
mode 0600
}
Disclaimer: Not tested, that's just how "man multipath.conf" says it should work.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 06:47 AM
тАО03-08-2010 06:47 AM
Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots
Yeap... just found out. It appears one *must* be at the latest (circa Feb 2010?) release of devoce-mapper-multipath.
Awesome awesome feature (which I think is just a tweak to the built in udev rulez) so the lowly admin need not write custom UDEV rules.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-08-2010 11:15 AM
тАО03-08-2010 11:15 AM
Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots
I always forget to update when I add a disk for ASM..
The multipath option should fix the absent mindedness.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-23-2010 11:41 AM
тАО03-23-2010 11:41 AM
Re: Maintain device mapper aliases (/dev/mapper/oravolNN) ownership accross reboots
if you partition the device as oracleasm suggests is needed then the uid and gid in the multipath.conf does no good as you now have /dev/mapper/nice-namep1 after running kpartx
back to using /etc/rc.local for asm ownership