- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Disk thinks it belongs to group
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
10-07-2002 06:46 AM
10-07-2002 06:46 AM
It started generating lbolt errors and I tracked it down to this channel which only has this one drive.
The ioscan saw the device, diskinfo saw the device, so I was just going to put it back as the mirror.
I did a pvdisplay of it and it returned that it wasn't part of any volume group. So I proceeded as though this was going to be a new mirror, and tried to do a pvcreate -B of the device.
Anyway, I rebuilt the lvmtab file
See the attached....
Where do you think I should go from here? The vgscan suggested vgimport.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:54 AM
10-07-2002 06:54 AM
Solutionhttp://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000064129097
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:55 AM
10-07-2002 06:55 AM
Re: Disk thinks it belongs to group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:57 AM
10-07-2002 06:57 AM
Re: Disk thinks it belongs to group
#pvcreate -B /dev/rdsk/c2t6d0
pvcreate: The physical volume already belongs to a volume group
And I cant find a vg that thinks it owns the disk, nor can I even remove it (pvremove)
See the attached on the original post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:57 AM
10-07-2002 06:57 AM
Re: Disk thinks it belongs to group
The 'pvcreate' failed because there is a Volume Group ID on the physical disk. You can/could use 'pvcreate -f /dev/rdsk/cXtYdZ' to overwrite it. The presence of this information indicates that the disk *was* used in an LVM configuration at one time.
You should not have resorted to a 'vgscan'. Before proceeding further, does your system truly consist of only 'vg00'?
Please *post* the output of 'vgdisplay /dev/vg00'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:58 AM
10-07-2002 06:58 AM
Re: Disk thinks it belongs to group
DOH !!!!
forgot about pvcreate "-f" ...
I'll try that, thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:59 AM
10-07-2002 06:59 AM
Re: Disk thinks it belongs to group
Use pvcreate -f -B /dev/rdsk/cxtydz . And then follow the standard procedures for root disk mirroring .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-07-2002 06:59 AM
10-07-2002 06:59 AM
Re: Disk thinks it belongs to group
# pvcreate -f -B /dev/rdsk/c2t6d0
to force the pvcreate command. The rest of the steps would be like this ..
# mkboot -l /dev/rdsk/c2t6d0
=> Create boot track (place boot utilities in boot area), -l means treat device as LVM disk.
# mkboot -a "hpux -lq" /dev/rdsk/c2t6d0
=> Add AUTO file in boot LIF area, "lq" option is to bypass quorum check.
=> Repeat for primary disk (c1t6d0) as well.
# lifcp /dev/rdsk/c2t2d0:AUTO -
=> Check content of AUTO file. Repeat for primary disk (c1t6d0).
# vgextend /dev/vg00 /dev/dsk/c2t6d0
=> Adding disk to root VG.
# pvdisplay -v /dev/dsk/c2t6d0
=> Note of the order of LVs (assuming it's lvol1,lvol2,lvol3,lvol4 & lvol5)
# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t6d0
=> Repeat for lvol2-lvol5
# lvlnboot -r /dev/vg00/lvol3 /dev/vg00
# lvlnboot -b /dev/vg00/lvol1 /dev/vg00
# lvlnboot -s /dev/vg00/lvol2 /dev/vg00
# lvlnboot -d /dev/vg00/lvol2 /dev/vg00
=> Update BDRA (root-lvol3, boot-lvol1, swap-lvol2 and dump-lvol2)
# lvlnboot -v
=> Check to make sure both disks are listed for root, boot and swap definition.
# setboot
=> Display boot path.
# setboot -a
=> Change alternate boot path to mirrored disk.
# shutdown -r -y 0
=> Interrupt upon bootup and select alt path to boot from in order to test.