Re: [Zope] Data.fs & MySQL DB Blown Up!

2007-03-12 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2007-3-12 07:54 -0400:
>Forgive the long (but necessary) background. I bought a new 500 GB hard drive 
>for my server located on the other side of the world. I accidentally entered 
>an erroneous command to copy everything from the old HD to the new one and 
>ended up corrupting the OS. However, the *first* thing that happened was that 
>command zapped my Data.fs. It was located on the new HD with a symlink for the 
>entire var dir going from the old HD to the new one. 

This is very easy to do: copying a file to an (existing) destination
opens and truncates the destination. When the destination happens
to be equal to the source, the source is truncated as well -- and you have
lost your data.



-- 
Dieter
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] Data.fs & MySQL DB Blown Up!

2007-03-12 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 12 Mar 2007, at 12:54, [EMAIL PROTECTED] wrote:
My server farm tells me it has nothing whatsoever to do with the  
hard drive or the OS, that both are in perfect condition. I say  
that's nonsense! What do you think?


Sorry, without knowing exactly what you did and what they did there  
is no way anyone can make any sensible comment. Apart from the fact  
that this is not a Zope issue but a systems administration issue and  
off-topic.


jens



-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.5 (Darwin)

iD8DBQFF9UI9RAx5nvEhZLIRAv/6AJ94RYVOKEY48+gDp3m/YhbKmw+tZACfUO0x
G/AVa5a8kZtQonWd46r1KJ0=
=BvVh
-END PGP SIGNATURE-
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Data.fs & MySQL DB Blown Up!

2007-03-12 Thread tonylabarbara
Hi;
Forgive the long (but necessary) background. I bought a new 500 GB hard drive 
for my server located on the other side of the world. I accidentally entered an 
erroneous command to copy everything from the old HD to the new one and ended 
up corrupting the OS. However, the *first* thing that happened was that command 
zapped my Data.fs. It was located on the new HD with a symlink for the entire 
var dir going from the old HD to the new one. 
 
Fast foreward to this week. I've built a new server and transplanted my 500 GB 
HD. I told the server farm to check it thoroughly because I suspected the 
hardware may have gotten corrupted. They swear they did check it thoroughly. I 
have 2 Zope instances. On one, I moved the var to the new HD with the symlink. 
I also moved my MySQL database to the new HD. I left them alone while I was 
working on the other Zope instance. Lo and behold, without my doing anything, 
suddenly the Data.fs on the Zope instance on the new HD got rewritten to 0 
bytes and the MySQL database got completely nuked!
 
My server farm tells me it has nothing whatsoever to do with the hard drive or 
the OS, that both are in perfect condition. I say that's nonsense! What do you 
think?
Tony

AOL now offers free email to everyone.  Find out more about what's free from 
AOL at AOL.com.
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )