- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirroring primary swap
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
тАО07-19-2000 01:04 AM
тАО07-19-2000 01:04 AM
lvchange -M n -c n /dev/vg00/c1t2d0
This command don't work in single user mode : couldn't change Mirror Write Cache when logical volume is opened.
This common don't work in system maintenance mode : volume group not activated.
I have read this in my HP-UX manual:
Caution: do not activate the root volume group in system maintenance mode or you might corrupt the file system.
Whau now ?
Leo
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 01:20 AM
тАО07-19-2000 01:20 AM
Re: Mirroring primary swap
lvchange -M n -c n /dev/vg00/lvol2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 01:22 AM
тАО07-19-2000 01:22 AM
Re: Mirroring primary swap
in maintenance mode have you tested after
vgchange -a y vg00 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 01:36 AM
тАО07-19-2000 01:36 AM
Re: Mirroring primary swap
Using line command at boot up:
lvchange -M y -c n /dev/vg00/c1t2d0
It Mirror Write Cache method and Mirror Consistency Recovery method can safely be applied to mirrored logical volume that the data is not needed after a crash, such as swap or other raw scratch data; and data that an application itself will automatically reconstruct.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 01:41 AM
тАО07-19-2000 01:41 AM
SolutionJust doing a vgchange -a y /dev/vg00 and the lvchange is fine. I'd do a vgchange -a n too, but I'm just paranoid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-19-2000 04:58 AM
тАО07-19-2000 04:58 AM
Re: Mirroring primary swap
1)Boot into LVM maintenance mode
shutdown -r -y 0
BOOT_ADMIN>boot pri isl
ISL>hpux -lm
2) From maint. mode activate the volume group and change the recovery policy
vgchange -a y vg00
lvchange -M n -c n /dev/vg00/lvol2
3) Update the BDRA
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
4) Reboot system
reboot
Good Luck,
Brian
<*(((>< er
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-02-2000 11:16 PM
тАО08-02-2000 11:16 PM
Re: Mirroring primary swap
After this enter the following commands
lvlnboot -s /dev/vg00/lvol2
lvlnboot -d /dev/vg00/lvol2
This should work