- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Automatically changed the disk device files
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
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
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
тАО02-15-2010 11:36 PM
тАО02-15-2010 11:36 PM
I don't know how automatically the disk device files got changed. I am using the HP VA7100 storage and earlier my device file was /dev/dsk/c6t12d1 and /dev/dsk/c10t14d1 in VG vgdb02 and now when i am doing ioscan i am able to see the disk device file but it got changed to /dev/dsk/c9t0d1 and /dev/dsk/c18t0d1. And now i am not able to activate the VG vgdb02...Please let me know how to activtae vgdb02 and how to resolve the problem of this changed disk device files.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 11:40 PM
тАО02-15-2010 11:40 PM
Re: Automatically changed the disk device files
you need to import the vg on the new device path
vgimport -v vgname
vgchange -a y vgname
Rgds.,
Sachin Kumbla.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 11:43 PM
тАО02-15-2010 11:43 PM
Re: Automatically changed the disk device files
Yes, you must import the vgdb02 but in order to do that you must first export the same VG.
See:
strings /etc/lvmtab
Horia.
Horia.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-15-2010 11:52 PM
тАО02-15-2010 11:52 PM
SolutionThe standard procedure in a situation like this:
1.) find out the minor device number of vgdb02:
ll /dev/vgdb02/group
The response will be something like:
crw-r--r-- 1 root disk 64, 0xNN0000
The minor device number is 0xNN0000, where NN can be any hex digits. Remember the correct number, you will need it later.
2.) export the VG, creating a map file that includes the VGID:
vgexport -v -s -m vgdb02.map vgdb02
3.) re-create the VG directory and the group file, because the vgexport deleted it:
mkdir /dev/vgdb02
mknod /dev/vgdb02/group c 64 0xNN0000
(Use the correct minor device number you got from step 1 instead of 0xNN0000.)
4.) re-import the VG, using the -s option to auto-find the VG disks using the VGID in the map file:
vgimport -v -s -m vgdb02.map vgdb02
Now the volume group is again in a normal state and you should be able to activate it as usual:
vgchange -a y vgdb02
(or if it's a Serviceguard cluster VG, then just start the package instead)
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-16-2010 02:04 AM
тАО02-16-2010 02:04 AM