Mailing List Archive

Data.fs too big to pack...
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!"
_______________________________________________
Zope maillist - Zope@zope.org
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 )
Re: Data.fs too big to pack... [ In reply to ]
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?

_______________________________________________
Zope maillist - Zope@zope.org
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 )
Re: Data.fs too big to pack... [ In reply to ]
-----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-----

_______________________________________________
Zope maillist - Zope@zope.org
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 )