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

2012-12-06 Thread Jaroslav Lukesh
copy your zope var folder to another machine and then make it as network 
share, then pack it.


- Puvodní zpráva - 
Od: Dan Gaibel d...@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: [Zope] Data.fs too big to pack...

2012-12-06 Thread Niels Dettenbach (Syndicat ITInternet)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256



Dan Gaibel d...@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 ITInternet
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 )