[Zope] Data.fs too big to pack...

Niels Dettenbach (Syndicat IT&Internet) nd at syndicat.com
Thu Dec 6 20:29:08 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



Dan Gaibel <dg76 at 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-----



More information about the Zope mailing list