- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Vgsync
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
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
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
тАО02-22-2002 08:58 AM
тАО02-22-2002 08:58 AM
vgsync /dev/cxtxdx &
and the synchronization begin, if I logout and block the console, LVM kill the vgsync process or not?
There are times in witch I must go to other clients and I would like leave the system running vgsync but I don??t know what happens if i try to exit from root and block the console to prevent unauthorized users. The theory says "When one user logout all the processes launched by him are automatic killed"
Thanks for your contribution!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 09:02 AM
тАО02-22-2002 09:02 AM
Re: Vgsync
A way that would probably work better would be:
# nohup vgsync vg?? &
That way, even if you logout, the nohup should keep the process going.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 09:04 AM
тАО02-22-2002 09:04 AM
Re: Vgsync
e.g.
nohup vgsync /dev/vgxx &
You can then logout and your command is immune to hangups (SIGHUP) and n'rupts (SIGINT). It's just what you need. Man nohup for details.
Regards, Clay
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 09:04 AM
тАО02-22-2002 09:04 AM
Re: Vgsync
The theory is RIGHT ! The process will get killed when you log out ! Try 'nohup' command instead; see man pages of nohup.
HTH,
Shiju
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 11:20 AM
тАО02-22-2002 11:20 AM
SolutionMost of the time vgsync would be finish in no time at all. It takes a couple of seconds for the vgsync to complete. The only time when vgsync would take more time, is when you have a problem with the mirror and the mirrors are not synced. IF you still want to do vgsync and logout, use nohup,
nohup vgsync /dev/vg_name &
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-22-2002 12:31 PM
тАО02-22-2002 12:31 PM
Re: Vgsync
Nohup has saved my bacon more than once. I use it regularly when dialed in since dialup connections tend to get dropped at the most inopportune moment.
I'd suggest you redirect output. Nohup appends to nohup.out by default but I prefer my own names:
nohup vgsync vgxx >outfile 2>errfile &
Darrell
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-25-2002 12:31 AM
тАО02-25-2002 12:31 AM
Re: Vgsync
Try this:
nohup vgsync vgxx &
This will prevent the process to be killed in case of a hangup (nohup stands for NO-Hang-UP) or connection close.
Best regards,
Xavier