- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing mirroring
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
06-04-2000 04:56 PM
06-04-2000 04:56 PM
HP-UX newbie question here....
Our development computer has mirrored disks - this seems
to be a waste of space on development.
Mirror Copies Mount Directory
1 /srvrs
1 /stand
1
1 /
1 /tmp
1 /home
0 /opt
1 /usr
1 /var
1 /oradata
We can possibly gain as much as 10GB to use if we
remove mirroring on some filesystems.
Is there any quick and easy way to remove the mirroring
and recover the mirror space so that it can be used?
Can this be done without a total rebuild ie. back up and
restoring from backup.
Any help much appreciated.Thanks.
Regards,
Porus.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2000 05:27 PM
06-04-2000 05:27 PM
SolutionTake /var for example ie. /var is mounted on /dev/vg00/lvol10. You do not need to un-mount or backup/restore the filesystems.
Just follow the following two steps to remove the mirror copy of /var.
1) lvsplit /dev/vg00/lvol10
2) lvremove /dev/vg00/lvol10b
[Note: lvol10b with "b" appended is the mirror copy which is not mounted, thus you can lvremove the lvol10b safely while lvol10 is still being mounted.]
Regards.
Steven.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2000 06:39 AM
06-05-2000 06:39 AM
Re: Removing mirroring
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2000 06:41 AM
06-05-2000 06:41 AM
Re: Removing mirroring
lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c*t*d*
(Note: the disk specified is the one you wish to free, not the one you wish to remain in the volume group.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-06-2000 07:21 PM
06-06-2000 07:21 PM
Re: Removing mirroring
I agree with the above comments, the simpliest way to reduce a mirror is to execute:
lvreduce -m 0 /dev/vg??/lvol?
HP-UX supports one original and two mirrors of your data. As is standard UNIX numbering schemes start at "0". To add one mirrored copy you'd use "-m 1", to add the 2nd mirrored copy "-m 2". By using the "-m 0" you are simply telling the OS you no longer require mirroring.
Bernie