public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
* [PVE-User] Directory /var/log/journal
@ 2022-05-17  4:54 sebastian
  2022-05-17  6:10 ` nada
  0 siblings, 1 reply; 4+ messages in thread
From: sebastian @ 2022-05-17  4:54 UTC (permalink / raw)
  To: pve-user

Hello @all,

whats up with this directory.

Is it possible to delete all the files in this directory while the 
server is running.

Would there be any problems if i delete the files now without rebooting 
the pve-Host?

I don't need log files this time - i need space on the partition.

Tnx

Sebastian




^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] Directory /var/log/journal
  2022-05-17  4:54 [PVE-User] Directory /var/log/journal sebastian
@ 2022-05-17  6:10 ` nada
  2022-05-17  9:35   ` sebastian
  0 siblings, 1 reply; 4+ messages in thread
From: nada @ 2022-05-17  6:10 UTC (permalink / raw)
  To: Proxmox VE user list

hi Sebastian
depends on type of  journal you have
check your storage config at
/etc/systemd/journald.conf
in case you have persistent journal you may clean it
e.g. clean old journals each month
/usr/bin/journalctl --vacuum-time=1months --rotate
Nada

On 2022-05-17 06:54, sebastian@debianfan.de wrote:
> Hello @all,
> 
> whats up with this directory.
> 
> Is it possible to delete all the files in this directory while the
> server is running.
> 
> Would there be any problems if i delete the files now without
> rebooting the pve-Host?
> 
> I don't need log files this time - i need space on the partition.
> 
> Tnx
> 
> Sebastian
> 
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] Directory /var/log/journal
  2022-05-17  6:10 ` nada
@ 2022-05-17  9:35   ` sebastian
  2022-05-17  9:43     ` Uwe Sauter
  0 siblings, 1 reply; 4+ messages in thread
From: sebastian @ 2022-05-17  9:35 UTC (permalink / raw)
  To: pve-user

it is possible to delete all the files and reboot the host without 
"problems" ?

i don't need the journal

Am 17.05.2022 um 08:10 schrieb nada:
> hi Sebastian
> depends on type of  journal you have
> check your storage config at
> /etc/systemd/journald.conf
> in case you have persistent journal you may clean it
> e.g. clean old journals each month
> /usr/bin/journalctl --vacuum-time=1months --rotate
> Nada
> 
> On 2022-05-17 06:54, sebastian@debianfan.de wrote:
>> Hello @all,
>>
>> whats up with this directory.
>>
>> Is it possible to delete all the files in this directory while the
>> server is running.
>>
>> Would there be any problems if i delete the files now without
>> rebooting the pve-Host?
>>
>> I don't need log files this time - i need space on the partition.
>>
>> Tnx
>>
>> Sebastian
>>
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user@lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
> 



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PVE-User] Directory /var/log/journal
  2022-05-17  9:35   ` sebastian
@ 2022-05-17  9:43     ` Uwe Sauter
  0 siblings, 0 replies; 4+ messages in thread
From: Uwe Sauter @ 2022-05-17  9:43 UTC (permalink / raw)
  To: pve-user

Then you should change the configuration in /etc/systemd/journald.conf to not save your journal,
then reboot, then remove the directory.

Am 17.05.22 um 11:35 schrieb sebastian@debianfan.de:
> it is possible to delete all the files and reboot the host without "problems" ?
> 
> i don't need the journal
> 
> Am 17.05.2022 um 08:10 schrieb nada:
>> hi Sebastian
>> depends on type of  journal you have
>> check your storage config at
>> /etc/systemd/journald.conf
>> in case you have persistent journal you may clean it
>> e.g. clean old journals each month
>> /usr/bin/journalctl --vacuum-time=1months --rotate
>> Nada
>>
>> On 2022-05-17 06:54, sebastian@debianfan.de wrote:
>>> Hello @all,
>>>
>>> whats up with this directory.
>>>
>>> Is it possible to delete all the files in this directory while the
>>> server is running.
>>>
>>> Would there be any problems if i delete the files now without
>>> rebooting the pve-Host?
>>>
>>> I don't need log files this time - i need space on the partition.
>>>
>>> Tnx
>>>
>>> Sebastian
>>>
>>>
>>> _______________________________________________
>>> pve-user mailing list
>>> pve-user@lists.proxmox.com
>>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
>> _______________________________________________
>> pve-user mailing list
>> pve-user@lists.proxmox.com
>> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user
>>
> 
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-05-17  9:43 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-17  4:54 [PVE-User] Directory /var/log/journal sebastian
2022-05-17  6:10 ` nada
2022-05-17  9:35   ` sebastian
2022-05-17  9:43     ` Uwe Sauter

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal