- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Removing and disk from a mirror set
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
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
тАО02-09-2001 07:56 AM
тАО02-09-2001 07:56 AM
I managed sucessfully to do this but now I want to remove mirroring.
I split the mirror then used lvremove to remove the logical volumes on the mirror disk
and all went fine.
Now I am trying to include the ex-mirror disk in a new volume group but is failing since the entry of this physical volume is still bound to the old volume group in the /etc/lvmtab.
I tried vgremove but reported the error that there is still some data in use on the PV I am trying to remove. I can't figure out what is this data cos I removed all mirrored LV including the swap partition
Can anyone help me remove this PV from the etc/lvmtab ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-09-2001 09:04 AM
тАО02-09-2001 09:04 AM
Re: Removing and disk from a mirror set
you can try to do the following steps:
1) mv /etc/lvmtab /etc/lvmtab.backup
2) vgscan -v
That will create a new lvmtab file.
Then you can run pvcreate -F /dev/rdsk/.... on the disk to clean it up.
But I only recommend those steps if you know for sure that the data on the disk won't be used in the future.
Steffi Jones
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2001 04:22 AM
тАО02-10-2001 04:22 AM
Re: Removing and disk from a mirror set
Laszlo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-10-2001 07:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 12:12 AM
тАО02-12-2001 12:12 AM
Re: Removing and disk from a mirror set
If the disk was a mirror of the root volume group, don't forget to use lvreduce for the primary swap mirror as well.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 01:26 AM
тАО02-12-2001 01:26 AM
Re: Removing and disk from a mirror set
I physically removed the mirror disk but vgdisplay still claims to have 2 Cur PV....
How can I update the volume group
Dan yes I did remove the primary swap mirror
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 01:29 AM
тАО02-12-2001 01:29 AM
Re: Removing and disk from a mirror set
As you have physically removed the disk, 'vgscan -a' should fix the problem.
Dan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 01:40 AM
тАО02-12-2001 01:40 AM
Re: Removing and disk from a mirror set
the lvmtab correctly interprets which disk belongs to the volume group but vgdisplay still claims to have 2 Cur PV and 1 Act PV
it's like there is a phantom drive
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 02:45 AM
тАО02-12-2001 02:45 AM
Re: Removing and disk from a mirror set
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-12-2001 03:37 AM
тАО02-12-2001 03:37 AM
Re: Removing and disk from a mirror set
It reported lvol9 to have data but lvol9 did not exists and NEVER existed. I manually created the block and character device files for lvol9 and did lvremove on the LV.
After that i tried vgreduce again and it was sucessfull. VGdisplay FINALLY displayed Cur PV 1 Act PV 1.
Still from were did lvol9 come ?? Anyway thanks all of you guys for the help