- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- PVMOVE - What happens if a server panics/reboots?
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
тАО10-26-2004 07:06 AM
тАО10-26-2004 07:06 AM
What happens if there is a PANIC or Power fialure or the server is simply rebooted duirng a PVMOVE process? Will this be catastrophic to the filesystem/LVOL involved at the time of the reboot? Or does the LVOL simply fall back to its pre-pvmove state?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:11 AM
тАО10-26-2004 07:11 AM
Re: PVMOVE - What happens if a server panics/reboots?
Interesting... I guess the lvol is corrupt. When you do a lvdisplay -v on the lvol
you pvmove to it increases per PE. I never checked the source lvol though.
HTH,
Gideon
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:15 AM
тАО10-26-2004 07:15 AM
Re: PVMOVE - What happens if a server panics/reboots?
LVM LVM Mirr Allocated Total Free
Type Object Name Count (Mbytes) (Mbytes) (Mbytes)
---- --------------------------- ----- -------- -------- --------
VG /fhprod19b 347584 521536 173952
LV /fhprod19b/nbu 2 173568 0 0
LV /fhprod19b/catbak 1 174016 0 0
PV /dsk/c49t0d1 0 173504 34432
PV /dsk/c84t0d1 0 174016 0
PV /dsk/c84t0d0 0 174016 139520
I am pvmove'ing c49t0d1 to c84t0d0. it has only one wholly contained LVOL - nbu. I notice that c84t0d0's available space is decreasing while the source LUN's (c49t0d1) available space is increasing..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:17 AM
тАО10-26-2004 07:17 AM
Re: PVMOVE - What happens if a server panics/reboots?
The pvmove commands works by using the mirroring functionality of LVM (no you DON'T need to buy Mirror Disk for this) to move the extents around. Mirrors are established and then reduced in a specific order to achieve your desired end result.
Now if something happens during the process of the initial mirror operation, I don't think there should be any real harm done. The LV might be in a somewhat inconsistent state since the initial mirror operation might not have finished. I'm not entirely sure what your recovery options would be or what you would have to do to get the LV consistent again.
So before you start the process, see Step 1 above. ;)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:17 AM
тАО10-26-2004 07:17 AM
SolutionPvmove works by mirroring each extent being moved prior to removing the old extent. If the system crashes, you just need to issue an lvreduce -m 0 on the logical volume affected at the time of the crash. You can then re-issue the pvmove command to continue moving you're extents to the new disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:17 AM
тАО10-26-2004 07:17 AM
Re: PVMOVE - What happens if a server panics/reboots?
I've never done that before, but my guess is that HP made their LVM robust enough to just do the right thing.
I guess the answer is, don't trip over the power cord while doing a pvmove. Of course, *YOU* could try it and let the rest of us know how well it recovers. :)
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:27 AM
тАО10-26-2004 07:27 AM
Re: PVMOVE - What happens if a server panics/reboots?
Of course, any PANIC or failure could corrupt
a filesystem so that in many ways a pvmove is not much more dangerous. This would be a good time to make sure that your LVM/VxFS/Disk I/O subsystem patches are all up to date before doing the pvmove.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:29 AM
тАО10-26-2004 07:29 AM
Re: PVMOVE - What happens if a server panics/reboots?
'll have an environment today on HP-UX 11i. This evening I'll try it on the Sistina LVM Linux implementation which is very similar..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:35 AM
тАО10-26-2004 07:35 AM
Re: PVMOVE - What happens if a server panics/reboots?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-26-2004 07:42 AM
тАО10-26-2004 07:42 AM
Re: PVMOVE - What happens if a server panics/reboots?
I came from a VxVM,other VM and saw LVM's weaknesses. We have prep'd up all our VG's to handle the largest possible LUN/PV sizes possible... so that's the way we've built our LVM VG's...
PE size 64M
Max PE per PV 65535
We also do stripes using LVM to give them EVA/XP LUNs more DB serving IO juice.