I have foolishly allowed my database to grow so large that I have no room to pack it. Is there any way that I could make it so that Data.fs.old gets populated on a separate drive or over the network? Thanks for any advice as I approach this "data storage cliff!"
copy your zope var folder to another machine and then make it as network share, then pack it. ----- Puvodní zpráva ----- Od: "Dan Gaibel" <dg76@cornell.edu>
I have foolishly allowed my database to grow so large that I have no room to pack it. Is there any way that I could make it so that Data.fs.old gets populated on a separate drive or over the network?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Dan Gaibel <dg76@cornell.edu> schrieb:
I have foolishly allowed my database to grow so large that I have no room to pack it. Is there any way that I could make it so that Data.fs.old gets populated on a separate drive or over the network?
This should be possible by a link i.e. into a NFS network share i.e.: stop zope instance mkdir /myzopeinstance/share mount -t nfs 1.2.3.4:/myshare/ /myzopeinstance/share chmod 777 /myzopeinstance/share #(or give your zope instance user write access to that dir) mv /myzopeinstance/share/Data.fs.old /myzopeinstance/share/ ln -s /myzopeinstance/share/Data.fs /myzopeinstance/var/Data.fs.old start zope instance Alternatively you can put your whole /myzopeinstance/var onto a NFS share temporarily (could be to slowly for production) and move it back when shrinked. hth cheers, Niels. - -- Niels Dettenbach Syndicat IT&Internet http://www.syndicat.com -----BEGIN PGP SIGNATURE----- Version: APG v1.0.8 iIEEAREIAEEFAlDBABQ6HE5pZWxzIERldHRlbmJhY2ggKFN5bmRpY2F0IElUJklu dGVybmV0KSA8bmRAc3luZGljYXQuY29tPgAKCRBU3ERlZRyiDXMdAJwNx4LOA3Md ffCgeiXwlw4yuBzgjACeISXaoRikTXKoxMBNhQy8RhfCnLw= =8OVL -----END PGP SIGNATURE-----
participants (3)
-
Dan Gaibel -
Jaroslav Lukesh -
Niels Dettenbach (Syndicat IT&Internet)