- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvchange for swap / dump inside Ignite-UX post scr...
Operating System - HP-UX
1821245
Members
3032
Online
109632
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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-24-2004 10:16 PM
тАО02-24-2004 10:16 PM
lvchange for swap / dump inside Ignite-UX post script
Hi,
I have successfully mirrored the root volume in an Ignite-UX post script. Based on the following statement I always modify lvol2.
"When primary swap is mirrored and the primary swap device also serves as a dump area, you must make sure that Mirror Write Cache and Mirror Consistency Recovery is set to off at boot time to avoid loss of your dump."
This can only be done from LVM maintenance mode.
After booting "hpux -lm" I run the command :-
lvchange -M n -c n /dev/vg00/lvol2
and reboot.
Is there a way to get Ignite-UX to handle this?
I've tried running it in the post script and got the message
"lvchange: Couldn't change MirrorWriteCache while Logical Volume is opened
or being synchronized."
as expected.
Could I configure Ignite to create lvol2 with -M n and -c n when it first creates it?
Regards,
Dave.
I have successfully mirrored the root volume in an Ignite-UX post script. Based on the following statement I always modify lvol2.
"When primary swap is mirrored and the primary swap device also serves as a dump area, you must make sure that Mirror Write Cache and Mirror Consistency Recovery is set to off at boot time to avoid loss of your dump."
This can only be done from LVM maintenance mode.
After booting "hpux -lm" I run the command :-
lvchange -M n -c n /dev/vg00/lvol2
and reboot.
Is there a way to get Ignite-UX to handle this?
I've tried running it in the post script and got the message
"lvchange: Couldn't change MirrorWriteCache while Logical Volume is opened
or being synchronized."
as expected.
Could I configure Ignite to create lvol2 with -M n and -c n when it first creates it?
Regards,
Dave.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2004 08:31 PM
тАО02-25-2004 08:31 PM
Re: lvchange for swap / dump inside Ignite-UX post script
I'm not sure there is some kind of preinstallscript for Ignite.
I only remember postinstall and postconfigure, so I don't have the advice You need.
OTOH...
This is from rc2:
S440savecrash
S500swap_start
S520syncer
the volumegroup syncronisation starts even later.
I'd recommend to set FOREGRD=1 in /etc/rc.config.d/savecrash so copying the dump to lvcrash definitely has completed before swapon.
Also, I have a very bad feeling about disabling Write Consistency for memory^H^H^H^H^H^H^H^Hswapspace memory.
I only remember postinstall and postconfigure, so I don't have the advice You need.
OTOH...
This is from rc2:
S440savecrash
S500swap_start
S520syncer
the volumegroup syncronisation starts even later.
I'd recommend to set FOREGRD=1 in /etc/rc.config.d/savecrash so copying the dump to lvcrash definitely has completed before swapon.
Also, I have a very bad feeling about disabling Write Consistency for memory^H^H^H^H^H^H^H^Hswapspace memory.
yesterday I stood at the edge. Today I'm one step ahead.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-26-2004 12:08 AM
тАО02-26-2004 12:08 AM
Re: lvchange for swap / dump inside Ignite-UX post script
The configuration for lvol2 in the config.full file in the client directory has this entry.
logical_volume "lvol2"{
mount_point="primary"
disk[_hp_root_disk]
usage=SWAP_DUMP
size=_hp_min_swap |remaining | _hp_pri_swap
bad_block_relocate=FALSE
contiguous_allocation=TRUE
minor_number=0x2
} # end logical_volume
Could I add options to this for the changes?
Regards,
Dave.
logical_volume "lvol2"{
mount_point="primary"
disk[_hp_root_disk]
usage=SWAP_DUMP
size=_hp_min_swap |remaining | _hp_pri_swap
bad_block_relocate=FALSE
contiguous_allocation=TRUE
minor_number=0x2
} # end logical_volume
Could I add options to this for the changes?
Regards,
Dave.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-12-2004 07:21 PM
тАО05-12-2004 07:21 PM
Re: lvchange for swap / dump inside Ignite-UX post script
Hi Dave,
I was just able to run "lvchange -M n -c n /dev/vg00/lvol2" after changing to runlevel 1.
If you can place this command in ignite during boot at the same level it might be possible.
Cheers
Jov
I was just able to run "lvchange -M n -c n /dev/vg00/lvol2" after changing to runlevel 1.
If you can place this command in ignite during boot at the same level it might be possible.
Cheers
Jov
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP