On Friday 24 June 2016 00:51:53 Steven D'Aprano wrote:
On Fri, Jun 24, 2016 at 12:22:18AM -0400, Gene Heskett wrote:
But why should a powerdown as unceremonious as pulling the plug, have deleted /usr/bin/X? It doesn't grok at this site.
File system corruption?
Doubtfull. Two drives currently mounted, / is ext4, and /amandatapes is ext3.
What file system do you have? If it is something with a journal (ext4, for example) I would be surprised. If it is something experimental or less reliable (btfs, reiserfs?) then I wouldn't be surprised.
I have 3 sshfs mounts of other computers, but given the power outages, they could not have been mounted as thats in my /etc/rc.local and only mounted when this machine is rebooted. I may have had up to 3 ssh -Y sessions that wasn't in active use at the time of the ups shutdown.
All file systems can lose data if you interrupt them while updating the file system, but some are more resiliant than others. I tend to prefer the good old ext3 or ext4 standby over flashier, faster but less resiliant newer file systems, and older, unjournaled file systems like ext2.
So do I, after a 2 install foray into reiserfs long before it was ready for everyday use. At least a decade back. And I need to see what it takes to convert the ext3 amanda uses to ext4. That just shows how long I have been using amanda. It was ext2 only back in the late 90's. :)
Have a look inside /lost+found (assuming /usr/bin is in the / partition) and see if there's anything there. You may find all your X files, and more, given generic names. Or you may find nothing at all.
Its empty on both drives. So I am scratching my head yet.
Thanks.
Cheers, Gene Heskett