About this list Date view Thread view Subject view Author view Attachment view

From: Bodo Eggert (7eggert_at_gmx.de)
Date: Wed 05 Nov 2003 - 20:55:26 GMT


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.

The canonical way of copying a directory tree is:
(cd srcdir && tar -cf - .)|(cd dstdir && tar -xvf -)

-- 
        Bill of Spammer-Rights 
1. We have the right to assassinate you.
2. You have the right to be assassinated.
3. You have the right to resist, but it is futile.

_______________________________________________ Vserver mailing list Vserver_at_list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 05 Nov 2003 - 22:00:05 GMT by hypermail 2.1.3