- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Can't change lv
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
04-27-2005 08:31 AM
04-27-2005 08:31 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:42 AM
04-27-2005 08:42 AM
Re: Can't change lv
I would suggest to reboot the server and bring it up normal and mirror the drive or the lv again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:48 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 08:51 AM
04-27-2005 08:51 AM
Re: Can't change lv
pvcreate -B -f /dev/rdsk/cxtxdx
vgextend /dev/vg00 /dev/dsk/cxtxdx
mkboot /dev/dsk/cxtxdx
mkboot -a "hpux -lq" /dev/rdsk/cxtxdx
print "/dev/dsk/cxtxdx" >>/stand/bootconf
lvextend -m 1 /dev/vg00/lvol? /dev/dsk/cxtxdx
for the lvextend for all the logical volume on the primary root drive.
Performa a "vgsync /dev/vg00" to make sure the both the drive are synced
Reboot the server and boot from the mirror disk to test mirroring if you want.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 09:08 AM
04-27-2005 09:08 AM
Re: Can't change lv
You are not doing it right way. Reboot is not required and in LVM maintenance mode I think VG is not activated. Attached is the root mirroring procedure with some detailed information for HPUX11i . Once done do not forget to check it with booting from alternate disk.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 09:18 AM
04-27-2005 09:18 AM
Re: Can't change lv
Since most people leave vg00/lvol2 as both swap and dump turning those OFF is a good idea.
When the system starts up, especially after a crash, you don't want your dump volume to do a Mirror Consistency Recovery because you could very well overwrite your crash dump which is not a good thing.
Also, if you just reboot normally, you don't want the swap/dump to go through this procedure because it's just a waste of CPU cycles. You really don't care on boot if your swap/dump is consistent as there shouldn't be anything there (unless you've just crashed).
So, this is a good procedure to do. And yes, you do have to be in LVM maintenance mode to do it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 09:29 AM
04-27-2005 09:29 AM
Re: Can't change lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2005 09:42 AM
04-27-2005 09:42 AM
Re: Can't change lv
# vgchange -a y vg00
# lvchange -M n /dev/vg00/lvol2
# lvchange -c n /dev/vg00/lvol2
And see if that works better for you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 01:53 AM
04-28-2005 01:53 AM
Re: Can't change lv
It happens that I'm in the process of rebuilding a machine this week and I had forgotten to do the steps you mention. I just did them this morning as I outlined in my previous post and they worked great.
Activate the VG and then do the lvchange command twice as I did above and in that order. You must do the '-M n' before you do the '-c n'.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 02:09 AM
04-28-2005 02:09 AM
Re: Can't change lv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-28-2005 12:53 PM
04-28-2005 12:53 PM