- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Deletion of LVM Structures
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
тАО11-14-2002 12:50 PM
тАО11-14-2002 12:50 PM
I am using HP-SG on HP A Class servers with HP-UX 11i.
For some reasons, my whole cluster got messed up and I needed to set things right.
I deleted all the original volumes and filesystems and everything on the shared disks using SAM.. But it still has the cluster s/w and the config files(ofcourse not functional).
Now, I try to configure a volume group from node A. When I do this, and press OK from SAM, it says some LVM structures are there on the disks because the other node might be accessing it and doesnt allow the creation of the vol group. It FAILS.
I did pvdislay /dev/dsk/c4t0d0. On doing this, i get a display of my old volume group /dev/vgha1. I want to remove this. But its not allowing me to remove it. It needs this volume group to be acitvated, which i m not able to do.
Please help.
Thanks & Regards,
Karthik
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 12:51 PM
тАО11-14-2002 12:51 PM
Re: Deletion of LVM Structures
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 12:55 PM
тАО11-14-2002 12:55 PM
Re: Deletion of LVM Structures
When I do , pvcreate -f /dev/rdsk/c4t9d0,
it says, the physical volume is already recorded in /etc/lvmtab file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 12:59 PM
тАО11-14-2002 12:59 PM
SolutionLook at next link for more info.
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xc14a68c57f64d4118fee0090279cd0f9,00.html
Kind regards,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:07 PM
тАО11-14-2002 01:07 PM
Re: Deletion of LVM Structures
Have you checked the other node to see wether the volume group has been activated on that node ?
If all ok
Reference the disk in lvmtab
I would then either reduce it out of the volume group or completely blow the vg away with a vgexport then perform the pcvreate -f on the disk before re adding it to your new volume group
all sounds a bit messy though
HTH
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:08 PM
тАО11-14-2002 01:08 PM
Re: Deletion of LVM Structures
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:14 PM
тАО11-14-2002 01:14 PM
Re: Deletion of LVM Structures
Assuming Node A and Node B are the two nodes in the cluster.
Just to confirm the vgname
do a strings /etc/lvmtab or
pvdisplay /dev/dsk/c4t0d0 |grep "VG Name" | awk '{print $3}'
On Node B.
vgchange -a n vgname
vgexport vgname
On Node A.
vgchange -a n vgname
vgexport vgname
Now you should be able to
pvcreate -f /dev/rdsk/c4t0d0
-HTH
Ramesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:15 PM
тАО11-14-2002 01:15 PM
Re: Deletion of LVM Structures
What's the error message that you are getting from sam ?
Can you remsh to the other host ?
Regards
Steve
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:18 PM
тАО11-14-2002 01:18 PM
Re: Deletion of LVM Structures
I did vgexport.
Now, I did , strings /etc/lvmtab. I did not find the messed up studd and the volume group now is not there. But still when I try to create a Volume group using SAM, it gives a message that LVM structures are still there. But this time it created the VG and the LV, which is an improvement.
Now, but when I try to distribute it, (after unmonting, deactivating), it gives me error that SAM cannot contact the other node due to network problems. I dont find any because, i can reach the machines and also have .rhosts setup.
Please advice.
Thanks,
Karthik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-14-2002 01:27 PM
тАО11-14-2002 01:27 PM