- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Two device files for the same LUN
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
Forums
Discussions
Discussions
Discussions
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
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
08-20-2003 06:36 AM
08-20-2003 06:36 AM
Two device files for the same LUN
disk 165 1/4/0/0.20.16.0.0.9.3 sdisk CLAIMED DEVICE HP OPEN E
/dev/dsk/c12t9d3 /dev/rdsk/c12t9d3
/dev/dsk/c19t9d3 /dev/rdsk/c19t9d3
On the other two servers, only the c19t9d3 appears with the same hardware path.
Will a problem occur if I do a vgexport -m / vgimport in order to create a volume group on one of the other N-class? Or, even better, is there a way to recreate the device files (and remove the unused ones) in order to clean and straighten things up? Of course, I don't want to lose my VG configuration, this is very important because the servers form a MC/SG cluster.
Greetz,
Hans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 06:46 AM
08-20-2003 06:46 AM
Re: Two device files for the same LUN
Here the useful vgexport/vgimport option to use is -s.
# vgexport -v -s -m /tmp/mapfile /dev/vg
# vgimport -v -s -m /tmp/mapfile /dev/vg
This way the mapfile will also include the VGID and thus while importing u dont have to specify the list of PVs. LVM will scan for the disks with the VGID that matches that of in the map file and import them.
Thanks,
Sundar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:13 AM
08-20-2003 07:13 AM
Re: Two device files for the same LUN
But what causes the duplicate entries and how do I get rid of the incorrect ones, if any?
Hans
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:24 AM
08-20-2003 07:24 AM
Re: Two device files for the same LUN
The command to remove the file would be rmsf - man it for details.
But before you remove it, verify just *which* one is currently in use & be sure NOT to remove that one. I don't think you should have to remove both & recreate. Just remove the unused one. Besides you'd need downtime to do it that way.
I suspect that you're SAN was probably rezoned at one point that caused a new controller instance to come about.
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 07:25 AM
08-20-2003 07:25 AM
Re: Two device files for the same LUN
The c12 and c19 device files just shouldn't appear under the same line in the ioscan. They must be from two seperate lines.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-20-2003 11:06 PM
08-20-2003 11:06 PM
Re: Two device files for the same LUN
I agree that the c12 and c19 device files shouldn't appear under the same line, but they do. Sundars answer sets me a little of the hook, though, because now I am sure that the exported / imported VG's on the different cluster nodes DO use the same LUN. We do a lot of vgexport / vgimport when adding or modifying packages in the cluster.
It may be a good idea however to remove the unused special files, to prevent me and my colleagues from using the wrong one. In order to find out which one is the used one, can anyone provide me with algorithm to calculate the special file (cXtYdZ) that goes with a given hardware path?
Hans