Re: [qubes-users] "Root File out of memory warning"?

2019-09-18 Thread 'awokd' via qubes-users
brendan.h...@gmail.com:

> What I think you are seeing is this: Linux keeps tracks of discards in the 
> current session and won't re-issue discards if it hasn't subsequently 
> written to the already-discarded area. Reboot and try again. The first time 
> after reboot, it should issue discards to the non-allocated portion of the 
> volume.

That was it; thank you. I have a daily job that runs trim and must have
checked afterwards.

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ff9426eb-cd9a-50f7-f8a0-9243ae7743fb%40danwin1210.me.


Re: [qubes-users] "Root File out of memory warning"?

2019-09-18 Thread brendan . hoar
On Tuesday, September 17, 2019 at 6:15:12 PM UTC-4, awokd wrote:
>
> On a side note, anyone know why "sudo fstrim -av" in dom0 now says 0 
> bytes trimmed for root? I double-checked and have discard specified 
> everywhere it should be. Only thing I don't remember seeing before is 
> stripe=64 in the mount, but I searched issues and qubes-src for "stripe" 
> and didn't find anything related. 
>
> /dev/mapper/qubes_dom0-root on / type ext4 (rw,relatime,discard,stripe=64) 
>

You have discards enabled at all layers (fs and crypt)?

What I think you are seeing is this: Linux keeps tracks of discards in the 
current session and won't re-issue discards if it hasn't subsequently 
written to the already-discarded area. Reboot and try again. The first time 
after reboot, it should issue discards to the non-allocated portion of the 
volume.

This performance-oriented kernel behavior is one reason I am a proponent of 
activating/issuing discards in all the layers. Another is that SSDs consume 
the actual discards very quickly: hundreds of GBs can be discarded in 
seconds utilizing range discard requests supported by the internal queuing 
of the range discard requests.

Brendan

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f8d0d123-f5c7-440c-92b0-2651350a543a%40googlegroups.com.


Re: [qubes-users] "Root File out of memory warning"?

2019-09-17 Thread 'awokd' via qubes-users
V C:

> I ran the commands, the changes were very small but a reduction did occur. 
> The pop-up did come from the top right near the disk monitor widget. My 
> "Total disc usage" states it is only at 31%...

No problem, it looks like you had already caught it in time anyways.
Good thing, because it's a lot easier to clean up before the disk (or
worse, metadata) gets full!

On a side note, anyone know why "sudo fstrim -av" in dom0 now says 0
bytes trimmed for root? I double-checked and have discard specified
everywhere it should be. Only thing I don't remember seeing before is
stripe=64 in the mount, but I searched issues and qubes-src for "stripe"
and didn't find anything related.

/dev/mapper/qubes_dom0-root on / type ext4 (rw,relatime,discard,stripe=64)

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/f22333b8-8bfc-a14e-e206-d7bbe2cd4b7c%40danwin1210.me.


Re: [qubes-users] "Root File out of memory warning"?

2019-09-17 Thread V C
Thanks Awokd...

I ran the commands, the changes were very small but a reduction did occur. 
The pop-up did come from the top right near the disk monitor widget. My 
"Total disc usage" states it is only at 31%...

It seems to have settled down as my new templates are finalized and old 
ones deleted...I'll grab a screen shot with more details if it happens 
again.

As always...thank you!

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/cf1db89c-07dd-44c8-8467-e08fb993b77c%40googlegroups.com.


Re: [qubes-users] "Root File out of memory warning"?

2019-09-17 Thread 'awokd' via qubes-users
V C:
> Sorry for the noob question but I am getting a pop-up warning that my "Root 
> File is almost out of memory"? Its kinda scary...

Not noob to ask and fix before it causes more problems! Click on the
Qubes disk monitor widget in the top right; that's probably where the
warnings are coming from. Also, check "sudo lvdisplay qubes_dom0/pool00"
in dom0. It should show a similar pool data %. If your allocated
metadata is over 80%, don't do the next steps.

Try running "sudo fstrim -av" in dom0 first, and see if that helps. If
not, find your largest qube with the most free space and run the same
command inside it. Check lvdisplay again and see if the data % went
down, and that metadata % didn't increase too much.

-- 
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/55d82ebd-78ed-dfb3-30b0-c524494504e2%40danwin1210.me.


[qubes-users] "Root File out of memory warning"?

2019-09-16 Thread V C
Sorry for the noob question but I am getting a pop-up warning that my "Root 
File is almost out of memory"? Its kinda scary...

The error pops up more regularly now...is there any maintenance I can do? I 
have had this set up for over a year, working well...not sure the reason, 
possibly:

The way I am deleting old templates (I recently upgraded whonix and made a 
few clones, deleted a few, etc)
I haven't added to many files or photos but I have added. I am not sure of 
the exact language in the pop-up but it stated "Root", "Low-memory" and 
"File"

Any guidance would be appreciated...

Thanks,
VC

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/3d614c33-1a3f-41c0-bbdf-f39d8c5041f4%40googlegroups.com.