What's new

huge .journal file

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

Turgut Kalfaoglu

Regular Contributor
Hi there. I noticed a large .journal file, tried to delete it with
# cat /dev/null > .journal
and got a permission denied.

I also do not see journald.conf file anywhere in sight.

what shall I do?
Thanks!
 
Last edited:
Hello.. thank you.. It's an RT-AC68U, Firmware Version:384.16..
Linux 2.6.36.4brcmarm #1 SMP PREEMPT Sun Apr 5 13:44:06 EDT 2020 armv7l GNU/Linux
release=entware arch=arm cpu=cortex-a9 cpu_subtype=unknown
float=soft gcc=8.3.0 gcc_flags=-O2 -pipe -mtune=cortex-a9 -fno-caller-saves -mfloat-abi=soft libc=glibc libc_version=2.23

The file is on the root directory of the USB HDD..

-rw------- 1 turgut root 1073741824 Nov 1 2020 .journal
 
I'm not an Apple user but that looks like a Time Machine file (USB Application > Time Machine).
 
I'm not an Apple user but that looks like a Time Machine file (USB Application > Time Machine).
I haven't tried that app - nor do we have any Apple machines in the house -- personally don't like them.
I just checked, the time machine is set to off.
 
You could try this:
Rich (BB code):
service stop_nasapps
rm /tmp/mnt/yourpath/.journal
 
no luck..

turgut@ns2:/tmp/mnt/2TBEXTERNAL# rm .journal
rm: remove '.journal'? y
rm: can't remove '.journal': Operation not permitted

Update -- tried chmod, even that gives access denied..
Likewise, lsof .journal returns nothing.. mystery file!
 
Then I suggest you unmount the drive, plug it into a Linux PC and delete the file from there.
 
Thank you! Finally I got rid of that thing..

turgut@ns2:/tmp/mnt/2TBEXTERNAL# lsattr .journal
----i-d--------------- .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL# chattr -i .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL# lsattr .journal
------d--------------- .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL# chattr -d .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL# lsattr .journal
---------------------- .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL# rm .journal
turgut@ns2:/tmp/mnt/2TBEXTERNAL#
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top