Re: Data.fs too big to pack...

"Niels Dettenbach (Syndicat IT&Internet)" <nd-ImmFMecdQhFWk0Htik3J/[email protected]>
Newsgroups gmane.comp.web.zope.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256



Dan Gaibel <[email protected]> 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-----

_______________________________________________
Zope maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.