OpenVZ Forum


Home » General » Support » vzmigrate misses vpsid.start, .stop, .mount, .umount
vzmigrate misses vpsid.start, .stop, .mount, .umount [message #2989] Fri, 05 May 2006 08:06 Go to next message
Tellerdreher is currently offline  Tellerdreher
Messages: 13
Registered: October 2005
Junior Member
Hi there,

don't know if it's a bug or a feature Wink But if you use vzmigrate it copies the vpsid.conf file but not the special files *.start,*.stop,*.mount and *.umount.

I think something like
for ext in mount umount start stop
do
  if [ -e "$confdir/$VEID.$ext"  ]; then
    if ! $SCP "$confdir/$VEID.$ext" "root@$host:$confdir/$VEID.$ext" &> $out; then
        log 1 "Failed to copy $VEID.$ext"
        exit $MIG_ERR_COPY
    fi
  fi
done

should be added to vzmigrate. What do you think?

PS: The migration feature is awesome! Thanks a lot!
Re: vzmigrate misses vpsid.start, .stop, .mount, .umount [message #3005 is a reply to message #2989] Sat, 06 May 2006 09:28 Go to previous message
dev is currently offline  dev
Messages: 1693
Registered: September 2005
Location: Moscow
Senior Member

I added bug #157
http://bugzilla.openvz.org/show_bug.cgi?id=157
so you can add yourself to CC there to track its state.


http://static.openvz.org/userbars/openvz-developer.png
Previous Topic: Problems with REDIRECT in the nat table for iptables
Next Topic: Config a custom Kernel from the given src.rpm
Goto Forum:
  


Current Time: Wed Aug 07 22:18:15 GMT 2024

Total time taken to generate the page: 0.02758 seconds