- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- to remove a PV from a VG on cluster
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
11-13-2009 02:03 AM
11-13-2009 02:03 AM
to remove a PV from a VG on cluster
I need to remove a free PV from VG and add the disk to other VG on a hp-ux serviceguard cluster. The package is up and running
I have followed the following steps.
1. vgreduce vgnfs19 /dev/dsk/c60t5d1
2. vgexport -p -s -v -m /tmp/vgnfs19.map /dev/vgnfs19
3. copied the group file and imported the map to all other nodes
4. pvremove /dev/dsk/c60t5d1
5. pvcreate /dev/dsk/c60t5d1---here i am getting i/o error when I tried to execute this command in another node. If I run this command on the same node i am not getting any error.
Request all your help to resolve the issue.
Thanks in advance
Mani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 02:32 AM
11-13-2009 02:32 AM
Re: to remove a PV from a VG on cluster
If you run pvcreate on the disk from one node, there is no need to rerun it on the other node.
You could try using the -f option if you REALLY want to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 02:56 AM
11-13-2009 02:56 AM
Re: to remove a PV from a VG on cluster
If your PA-RISC system you can confirm the device files using .
#echo "0x2008?4D" |adb /dev/dsk/c60t5d1
if the information is same on both the nodes then you can confirm and proceed the step mentioned above post.
pvcreate -f /dev/rdsk/c60t5d1
Regards,
Aneesg
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 03:26 AM
11-13-2009 03:26 AM
Re: to remove a PV from a VG on cluster
You may check serial number from cstm of as suggeted above.
Check it and do not do a pvcreate without confirming it could result in all data loss.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2009 05:13 AM
11-13-2009 05:13 AM
Re: to remove a PV from a VG on cluster
You are correct. I have mistyped the device name. The actual device name is c60t0d3 on the other node.
pvcreate /dev/rdsk/c60t0d3
pvcreate: writing LVM record: I/O error
Regards,
Mani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-17-2009 06:14 AM
11-17-2009 06:14 AM
Re: to remove a PV from a VG on cluster
I think you are touching a LUN who is already with some other vg. First check that LUN (c60t0d3) with the following command :-
strings /etc/lvmtab |grep c60t0d3
it it gives ant output, it means this disk is already associated with other vg.
Regards
Shyam