Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Apr 2012 23:07:50 -0400
From:      Alejandro Imass <aimass@yabarana.com>
To:        Erich Dollansky <erich@alogreentechnologies.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: UFS Crash and directories now missing
Message-ID:  <CAHieY7TNjZYd-APLhj_McmkFfVADfa-_4%2BnWjTPzF5cvJvQvgg@mail.gmail.com>
In-Reply-To: <201204281000.05551.erich@alogreentechnologies.com>
References:  <CAHieY7Tt_mMvjLjdfEL8Kp7scb%2BHwmC_P%2Bpz5U02gOVPavjupA@mail.gmail.com> <CAHieY7Sg8zQp5aUqxng5p7rkeoQog0Erc3mxsECzvKt_dwVZ1Q@mail.gmail.com> <201204281000.05551.erich@alogreentechnologies.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 27, 2012 at 11:00 PM, Erich Dollansky
<erich@alogreentechnologies.com> wrote:
> Hi,
>
> On Saturday 28 April 2012 09:33:47 Alejandro Imass wrote:
>> On Fri, Apr 27, 2012 at 7:52 PM, Alejandro Imass <aimass@yabarana.com> wrote:
>> >
>> > We had a server crash and required a hard reboot. The system is on one
>> > disk and another disc mounts /usr/jails and everything runs in jails,
>> > pristine base system, and the base system is working perfectly.
>> >
>> > The second volume, the one with the jails mounted but every jail
>> > directory disappeared except one. df still shows the data being used
>> > so I'm guessing it's a logical error in the directory structure or
>> > something. I unmounted the drive and ran fsck and reported no
>> > problems. df shows the data being use so where is the data??
>> >
>
> what is du saying?
>>
>> OK, so here is an update, maybe someone has some clue here....
>>
>> All the jails wound up in the /usr/local/etc/apache22 of the only
>> surviving jail which is the http proxy to all the other jails.
>
> You want to say that all the data you were looking for have been moved to this directory?
>>

EXACTLY THAT. In fact the data is intact and I have already backed-up
everything to another disk.

>> Right before the server crashed I noticed MySQL at 100% o several CPUs
>> and the server was on it's knees, so I'm wondering.... was this an
>> attack? is it possible that Apache or MySQL moved the files??
>>
>> I mean the jails are there, I'm even backing them up right now.... but
>> how did these directories move here?????
>>
>> Anybody has ANY logical explanation???
>
> Journaling is new to me. Could this be the cause?
>

Maybe so, I have no idea.

Maybe it's because EzJail mount volumes with each jail or some other
wild explanation. I honestly have never seen this before. I am just
glad that UFS was nice enough to keep my data somewhere at least, and
after my bad experiences with ZFS I can now say with a lot more
certainty that UFS rocks. I mean something got screwed up but the data
was not lost.

Hope someone can shed some light here..

-- 
Alejandro
> Erich



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAHieY7TNjZYd-APLhj_McmkFfVADfa-_4%2BnWjTPzF5cvJvQvgg>