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 previous 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!
 
Read Message
Read Message
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: Tue Nov 19 02:11:00 GMT 2024

Total time taken to generate the page: 0.03983 seconds