Divan
Arshia
I'm SURE u didn't used someone else's config(8.7 / 10 I don't like green)
John
gruvbox
Arshia
My bad
John
no one use this scheme anymore nowdays
Arshia
Yh
Divan
i mean, i only use it at night tbh, in daytime i use light mode
Divan
I'm SURE u didn't used someone else's config(8.7 / 10 I don't like green)
is caring if a config is original or not a thing that matters in the arch community?
Arshia
Oh btw how do I make a login screen with UI In free bsd?
Divan
Oh btw how do I make a login screen with UI In free bsd?
Personally i dont, i boot into text mode and then just type hyperland when i want a desktop
Arshia
Personally i dont, i boot into text mode and then just type hyperland when i want a desktop
Oh no Im talking about the logging in part when it's asking for a user
Divan
like a login manager?
Arshia
yh
Divan
and you are using i3?
Arshia
yh
Arshia
i could use i3 lock i think.
Divan
thats a lock screen...
Arshia
well idk what to do
Arshia
okie
Pouria
I'm currently using slim as my login manager. The slim-freebsd-black-theme is awesome imo.
Arshia
okie lemme finish the rice then do it
Divan
https://forums.FreeBSD.org/threads/display-manager.82397/post-536214
Pouria
Simply install and enable it. For my desktop, I have set my username to avoid having to write it each time. That's all you need to know.
polyduekes
i need help, my freebsd 15 current vm is acting weird
Jekyll
Out of space?
Rincewind
Yes 18 GB from 18 GB used 🙈
Rincewind
Not enough memory
Rincewind
106 % or - 1 Gb
Rincewind
More as enough
Maxim
> Avail: -1.8G
Rincewind
No Read the params First line
Rincewind
And the last line , minus 1 GB
Arshia
hey so i was trying to install pip and i cant do it for some reason and here are the logs: # pkg install python Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... FreeBSD-kmods repository is up to date. All repositories are up to date. The following 2 package(s) will be affected (of 0 checked): New packages to be INSTALLED: python: 3.11_3,2 [FreeBSD] python3: 3_4 [FreeBSD] Number of packages to be installed: 2 2 KiB to be downloaded. Proceed with this action? [y/N]: y [1/2] Fetching python3-3_4.pkg: 100% 1 KiB 1.2kB/s 00:01 [2/2] Fetching python-3.11_3,2.pkg: 100% 1 KiB 1.1kB/s 00:01 Checking integrity... done (0 conflicting) [1/2] Installing python3-3_4... [1/2] Extracting python3-3_4: 100% [2/2] Installing python-3.11_3,2... [2/2] Extracting python-3.11_3,2: 100% # pip zsh: command not found: pip # pkg install py38-pip Updating FreeBSD repository catalogue... FreeBSD repository is up to date. Updating FreeBSD-kmods repository catalogue... FreeBSD-kmods repository is up to date. All repositories are up to date. pkg: No packages available to install matching 'py38-pip' have been found in the repositories
Maxim
I mean, you have python311 installed, that's a no-brainer
Arshia
oh ok thank you i forgot about that 💔
Jekyll
And the last line , minus 1 GB
I'd suggest try df without -h.
polyduekes
Out of space?
nope, if you are to do maths properly,the avail should be 447156 in positive, it's impossible to go in negative unless the way the avail space is calculated is flawed,also it's a vm disk that in actually has just consumed 8.2GB of space
Jekyll
That's how df always works.
Jekyll
(at least in my experience.)
polyduekes
That's how df always works.
it's not about just df, read the ss properly and you will see everything including pkg thinks the avail storage is in -1GB
polyduekes
i freed up some space and it's still flawed
polyduekes
a thing to note is that "du -ch /" reports the same used storage
accelerat0r 🇮🇱 🇮🇱 🇮🇱
lol.. where is gnome ?
accelerat0r 🇮🇱 🇮🇱 🇮🇱
😂
nami
i need help, my freebsd 15 current vm is acting weird
Is this on zfs? Was compression enabled?
polyduekes
Is this on zfs? Was compression enabled?
this is a ufs vm on a zfs compressed dataset yes but it still isn't a good thing if it starts to go in negative, this doesn't happen on a zfs vm or any linux fs vm
X
Gnome was nice until v. 2 or 3 iirc
X
😁
nami
Or how to reproduce
polyduekes
Or how to reproduce
create a zfs dataset with lz4 compress use that dataset with vm bhyve, create a 14.x release ufs vm or a 15 snapshot ufs vm, now with sufficient writes inside the vm the avail storage will go in negative
polyduekes
repeat the same for a linux or zfs vm, the avail storage won't go in negative
Pouria
i need help, my freebsd 15 current vm is acting weird
Try these to empty some space and figure out why. pkg clean rm -r /usr/src rm -r /usr/obj rm -r /usr/ports
Pouria
If I understand your problem correctly, the issue is not the hypervisor. Your guest vm won't understand how much actually allocated under its disks.
polyduekes
Try these to empty some space and figure out why. pkg clean rm -r /usr/src rm -r /usr/obj rm -r /usr/ports
the question isn't why i don't have enough storage, the question is why is avail storage calculation on ufs so inaccurate that it can go into negative
Pouria
a zfs vm or any linux fs vm calculates avail storage properly in the same environment
From the FreeBSD FAQ: 9.27. How is it possible for a partition to be more than 100% full? A portion of each UFS partition (8%, by default) is reserved for use by the operating system and the root user. df(1) does not count that space when calculating the Capacity column, so it can exceed 100%. Also, you will notice that the Blocks column is always greater than the sum of the Used and Avail columns, usually by a factor of 8%.
polyduekes
The reserved space is not for pkg to use.
what i mean is do dd if=/dev/random of=/root/a.txt status=progress and dd will stop way after the avail storage has gone into negative do pkg install, pkg will fail as soon as avail storage is 0 i am sure there would be other examples but the pkg one is the most pronounced for me
polyduekes
it's not about pkg using reserved space it's about pkg and maybe some other utilities being affected by that avail storage measure
polyduekes
pkg checks the available space. dd would not. This is reasonable behavior to me.
dd stops on it's own when storage is actually filled so that counts as being aware of avail storage
polyduekes
pkg on the other hand would refuse to install even when you actually have avail storage
Pouria
Because it couldn't write more, the kernel refuses to allow it to write. pkg asks about the available storage, while dd will continue to write until someone stops it.
polyduekes
Because it couldn't write more, the kernel refuses to allow it to write. pkg asks about the available storage, while dd will continue to write until someone stops it.
why does kernel refuses pkg when there is storage that's actually available? if something can stop dd when there is no more space to wrote then surely someone can tell pkg that there is space to write when there actually is
polyduekes
or perhaps make the avail storage measure take the reservation in account
Pouria
Read the source code: https://github.com/freebsd/pkg/blob/main/libpkg%2Fpkg_jobs.c#L2292
polyduekes
or perhaps make the avail storage measure take the reservation in account
that should be possible by not including the reservation in the total size told by df
The BSD Guy
Linux Adding Detection For BSD's Bhyve Hypervisor To Support 255+ vCPUs - Phoronix https://www.phoronix.com/news/Linux-Bhyve-Detection
Castle
accelerat0r 🇮🇱 🇮🇱 🇮🇱
?