You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Torgeir Veimo <to...@gmail.com> on 2018/01/30 07:46:21 UTC

dump content of segment tar files

Is there a tool to inspect the content of segment tar files?

I've had a case of oak-run corrupting a repository due to the disk going
full, and need to see if there's any data for the last 24 hours that i can
get back from the segment files remaining.

-- 
-Tor

Re: Fwd: dump content of segment tar files

Posted by Torgeir Veimo <to...@gmail.com>.
offline compactation. Comparing with the backup from the day before it
seems there's an extra few tar files. I was tempted to just add those files
to the pre-compactation repo directory, but it's about 50gb so it's a bit
hard to duplicate / move around to try out. Also, the naming of the files
is slightly different pre-compactation.

It would be handy if oak-run didn't go ahead with modifying files if it
might run out of disk space.

from the 29th, before compacting

-rw-r--r-- 1 tomcat tomcat 270022656 Jan 28 06:56 data00958a.tar

-rw-r--r-- 1 tomcat tomcat 269849600 Jan 28 14:34 data00959a.tar

-rw-r--r-- 1 tomcat tomcat 270107648 Jan 28 19:01 data00960a.tar

-rw-r--r-- 1 tomcat tomcat 253981696 Jan 30 03:42 data00961a.tar

-rw-r--r-- 1 tomcat tomcat 252685312 Jan 29 02:20 data00961a.tar.bak

-rw-r--r-- 1 tomcat tomcat    529408 Jan 30 03:44 data00962a.tar

additional files in the jan 30th repo, after compacting

-rw-r--r-- 1 tomcat tomcat   5035520 Jan 30 01:16 data00960b.tar

-rw-r--r-- 1 tomcat tomcat   1405952 Jan 30 01:16 data00961b.tar

-rw-r--r-- 1 tomcat tomcat  26518528 Jan 30 01:16 data00962b.tar

-rw-r--r-- 1 tomcat tomcat   4634112 Jan 30 01:16 data00963b.tar

-rw-r--r-- 1 tomcat tomcat  32503296 Jan 30 01:16 data00964b.tar

-rw-r--r-- 1 tomcat tomcat  13696512 Jan 30 01:16 data00965b.tar

-rw-r--r-- 1 tomcat tomcat   4169216 Jan 30 01:16 data00966b.tar

-rw-r--r-- 1 tomcat tomcat  36781056 Jan 30 01:16 data00967b.tar

-rw-r--r-- 1 tomcat tomcat 269238784 Jan 30 01:15 data00968a.tar

-rw-r--r-- 1 tomcat tomcat 269567488 Jan 30 01:16 data00969a.tar

-rw-r--r-- 1 tomcat tomcat 113282048 Jan 30 01:16 data00970a.tar

-rw-r--r-- 1 tomcat tomcat    996352 Jan 30 02:11 data00971a.tar


On 30 January 2018 at 20:53, Michael Dürig <md...@apache.org> wrote:

>
> Hi,
>
> Unfortunately there is currently no OOTB tooling apart from oak-run check
> followed by a manual roll back to repair a repository.
>
> What where you doing with oak-run while the disk run full?
>
> Michael
>
>
> On 30.01.18 11:14, Torgeir Veimo wrote:
>
>> Is there a tool to inspect the content of segment tar files?
>>
>> I've had a case of oak-run corrupting a repository due to the disk going
>> full, and need to see if there's any data for the last 24 hours that i can
>> get back from the segment files remaining.
>>
>>
>>


-- 
-Tor

Re: Fwd: dump content of segment tar files

Posted by Michael Dürig <md...@apache.org>.
Hi,

Unfortunately there is currently no OOTB tooling apart from oak-run 
check followed by a manual roll back to repair a repository.

What where you doing with oak-run while the disk run full?

Michael

On 30.01.18 11:14, Torgeir Veimo wrote:
> Is there a tool to inspect the content of segment tar files?
> 
> I've had a case of oak-run corrupting a repository due to the disk going
> full, and need to see if there's any data for the last 24 hours that i can
> get back from the segment files remaining.
> 
> 

Fwd: dump content of segment tar files

Posted by Torgeir Veimo <to...@gmail.com>.
Is there a tool to inspect the content of segment tar files?

I've had a case of oak-run corrupting a repository due to the disk going
full, and need to see if there's any data for the last 24 hours that i can
get back from the segment files remaining.


-- 
-Tor