From: jon_at_kollegiegaarden.dk
Date: Wed 05 Nov 2003 - 22:03:05 GMT
On Wed, Nov 05, 2003 at 09:55:26PM +0100, Bodo Eggert wrote:
> On Wed, 5 Nov 2003, Roderick A. Anderson wrote:
>
> >
> > I've been all over the wiki and web site looking for a solution but I'm
> > getting no place slowly.
> >
> > We had a hard drive fail but was able to move the /vservers/* into a
> > working drive before replacing the bad drive. As this is a live system
> > I'd like to _not_ take the server down and do another copy t othe new
> > partition. I need to copy all the vservers (or one at a time) in
> > /vservers to /vserver.new so I can stop the vservers, change the mount
> > point, and restart them.
>
> If you copy a running system, you will get an inconsistent state.
> If you're running a web server, a proxy or some other read-only/caching
> service, you'll just lose some log entries, so this may be ok. vservers
> offering storage, mail or other r/w services should be stopped before
> moving them.
yes, further more, dont copy the /vserver/xxxx/proc or pts, or devfs, or ...
Why not just mount it ontop of the old one ?
JonB
_______________________________________________
Vserver mailing list
Vserver_at_list.linux-vserver.org
http://list.linux-vserver.org/mailman/listinfo/vserver