- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk VGID problem
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
07-13-2005 09:18 PM
07-13-2005 09:18 PM
Disk VGID problem
I have a strange problem with VGID.
I'll strat from the begining. I asked storage team to assign couple of luns to my server. After they did it, I created a VG and checked VGID on the disks. I used "echo
The disks are connected with two channels, but I saw only one. So I run "symcfg discover", after this "ioscan -f" and then "insf -Cdisk" and I saw that new devices were found. So, decided to check the VGID on the new devices, it should be the same, because physically it's the same device. It showed the right VGID. BUT, when I checked the VGID on the first device files, then ones I created the VG, I saw 0.
For some reason, "symcfg disco" erased the VGID of those devices from kernel? Is it some kind of bug or am I missing something?
I know that my explanation is a bit unclear, so here's a picture.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:26 PM
07-13-2005 09:26 PM
Re: Disk VGID problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-13-2005 09:46 PM
07-13-2005 09:46 PM
Re: Disk VGID problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 03:48 PM
07-14-2005 03:48 PM
Re: Disk VGID problem
Do you use any Multipath utilities like EMC powerpath? Do you have any BCVs attached for this device?
Regards
Sathish
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 05:12 PM
07-14-2005 05:12 PM
Re: Disk VGID problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2005 11:04 PM
07-14-2005 11:04 PM
Re: Disk VGID problem
Did you try a diskinfo on both paths. Typically I see the disk size reported as zero if the path isn't working quite right.
Use powermt display dev=all to see if powerpath can access all the device paths.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2005 12:05 AM
07-15-2005 12:05 AM
Re: Disk VGID problem
I agee with Bill. It could be due to an error in accessing disk through one path. Can you check the available path's by "powermt display dev=all" and "diskinfo -v" on the device file showing VGID=0?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2005 12:56 AM
07-15-2005 12:56 AM
Re: Disk VGID problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2005 12:59 AM
07-15-2005 12:59 AM
Re: Disk VGID problem
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-15-2005 01:25 AM
07-15-2005 01:25 AM
Re: Disk VGID problem
you can try doing the vgexport -p -v -s -m
and create the map file check the vgid in the map file created. since you are using the -p option the volumegroup will not be exported in reality.
This will ascertain the vgid for the volumeroup.
thanks
DP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 10:25 AM
07-18-2005 10:25 AM
Re: Disk VGID problem
The SER NUM field, I think it's the 2nd to last column on the output).
# inq > inq.out
# #comment: so find you 1st device's SER_NUM
$ grep
So, each device /dev/rdsk/c#t#d## that has the same SER_NUM are pointing to the same area in the symmetrix.
you should find maybe more then one device here, they point to the same disk!
the VGID should be the same but only after you do the pvcreate, and then the lvextend on the alternate-link devices. (I think).
Did you do the lvextend follow'ed by the dump of the VGID using adb ?
Did you do the following..
so, run the pvcreate ONLY on one of them, and then run lvextend on the other alternate-link devices.
example:
the vgdisplay -v should show the Alternate Links, for example, there are 3 alternate links here below for c28t11d6.
(note: only one pvcreate for c28t11d6, but (three command runs of) vgextend with the 3 Alternate Link devices):
PV Name /dev/dsk/c28t11d6
PV Name /dev/dsk/c29t11d6 Alternate Link
PV Name /dev/dsk/c30t7d4 Alternate Link
PV Name /dev/dsk/c31t7d4 Alternate Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 11:40 AM
07-18-2005 11:40 AM
Re: Disk VGID problem
try this on a test server first...
1. dd if=/dev/rdsk/primary_disk_id of=/tmp/root.disk bs=8k skip=1 \
count=1
2. dd if=/dev/rdsk/mirror_disk_id of=/tmp/root.mirror bs=8k skip=1 \
count=1
The above two commands with dump the header information which contains the VGID information.
3. od -Ax -tx /tmp/root.disk
4. od -Ax -tx /tmp/root.mirror
This will dump to contents of the data files in hexadecimal format output.
The output file will look some similar to this:
0000000 4c564d52 45433031 77d93e3c 3b713c28
0000010 77d93e3c 3b713c29 1fc74b 0
0000020 170 860 a6 a
0000030 860 918 8 910
0000040 9c8 1fb000 b60 16
0000050 1000 beb 1fbb60 fd
0000060 0 10 80 2
0000070 80 88 6 82
0000080 8a 0 0 0
0000090 0 0 0 0
*
0000400 44454645 43543031 0 0
0000410 0 0 0 0
*
0002000
In the example above, the VGID will be comprised of lines '0000000' or '0000010'. The last two fields of line '0000000' or the 1st two fields of line '0000010'. In the above example, the VGID for the primary disk should be:
77d93e3c3b713c28
or
77d93e3c3b713c29
Repeat above steps if more than one mirror exists for the existing vg that is currently having the issues. Match the outputs of the 'od' command output and ensure that they all match according the the fields (Primary & Mirrored copies, they should).
5. xd /etc/lvmtab
Output will be similar to output from the od command. Again look at the last two fields from line 400 and 1st two fields from line 410. These should also match the output from
the od commands:
0000400 0000 0000 0000 0000 0000 0000 77d9 3e3c
0000410 3b71 3c29 0000 0000 0000 0000 0002 0000
The end result should be:
77d93e3c3b713c29 -The true VGID entry
Match this to the output from the od commands you ran against the primary and mirrored copy disk(s). If they do not match, then attempt the following to try to correct the situation:
a. cp /etc/lvmtab /etc/lvmtab.orig
b. rm /etc/lvmtab
c. vgscan
d. rm root.disk root1.disk
e. repeat steps 1-5 again.
Good Luck
Vinod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2005 07:14 PM
07-18-2005 07:14 PM
Re: Disk VGID problem
My rough guess is that the discover made the disks show up on the other paths and You see something else at the first path, You had used to create the vg.
If You have access to them, get the HP CSS tools and play around with lvmux11.