Re: AW: AW: secure deletion of archived logs

Stephen Frost <[email protected]>
Newsgroups gmane.comp.db.postgresql.general
Message-ID <[email protected]>
Greetings,

* Zwettler Markus (OIZ) ([email protected]) wrote:
> > * Zwettler Markus (OIZ) ([email protected]) wrote:
> > > We use "rsync" on XFS with "wsync" mount mode. I think this should do the job?
> > 
> > No, that just makes sure that namespace operations are executed synchronously,
> > that doesn't provide any guarantee that the data has actually been written out and
> > sync'd.
> 
> What else? "rsync" on XFS mounted wsync + execute "sync" afterwards?

I don't really agree with it, but pitrery uses 'dd' with 'conv=fsync'.
As far as I know, there isn't a way to force 'rsync' to run an fsync()
at the end, and executing a 'sync' afterwards, while it should work,
seems likely to cause you a lot more troubles..

In the end, I wouldn't suggest trying to hack up your own scripts to do
any of this- use one of the existing tools.  It's a lot more complicated
than I think you're appreciating.

Thanks,

Stephen
signature.asc (application/pgp-signature, 819 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCgAGBQJd8RDPAAoJEO1sijiDR2RVWCUP/1PYqWVtsJwq9npvC+VY7hgC
KdsA/AU7BY9Zdu+y9cUD4Wm/qrlo3x4JJIrOl6/gDfFGY+40PtbZHMjHI+c6vMj9
OwrXI6PDtva3PYvHMHN0hfwvb9RFQmjZ3YU9+JHiJCRRuv2gdwmkc8Xg7G+UIezq
7mwjVNmitj7IDxINA/n/2atMTpkt5zSb4przu3Xbpcc4OrqLmYBlb+K22UzOYO7M
sWMPM6OCkrlbKE1S29QvkxMLPvtJTQfUMs8mhE/ZeUbZePlpcrpXH8KgHHEJXJsR
pOBUCo43ds7i5y0KVnIxk2WRDJi8BHIdgskLstNB4+/n4gBbMfQMVqgcMLgerL3g
WbJx0l+z/b0B+bcmpm2ovVxu+ArxWissKik4Y+tVtdpEtcvkrfnZSM4o2H6QyMlt
RZfLHyxpb6lolbcyqRlGgyf60GgEEVru1nUvevO3uiffOxGPsi9Udf/yN24T6Sbi
Eo8hHi14gkvBcU+aZioe2QBV/CbPAlPzAl2aHpNTEWmm9CEvThlgB7oTOKYt9ASH
QlBKAuKOqV6cm57YuNDqV/gaZ4qlXdU7KbvMAUWt2xNKlieYmxHydb/biJQv6Ni3
BuBiObBazdNh8PGfs/KeCbgjC2ivW0Kolp2gzf41oSPJMCwGQyahHRcjrHZ9NjsI
CeHcrCo+ngmFOL+Fbd9j
=R5pm
-----END PGP SIGNATURE-----
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.