-
mns
I have this in my /etc/rc.conf: ifconfig_bridge0="inet 192.168.70.150/24 addm bge0 up" but when I do an ifconfig bridge0, I don't see an inet: entry for it
-
mns
What am I missing or doing wrong?
-
foxxx0
mns: I'm guessing you also need something like cloned_interfaces="bridge0"
-
mns
foxxx0: I have that too, sorry forgot to mentiont that.
-
voy4g3r2
mns: ifconfig_bridge0="inet 192.168.0.25 netmask 255.255.255.0 addm igb0 addm tap4 addm tap0 addm tap1 addm epair0a addm tap2 addm tap3"
-
voy4g3r2
maybe try adding the netmask and dropping the /24 ?
-
voy4g3r2
this is what i got for mine.. the "mess" are mainly for bhyve instances
-
voy4g3r2
i have ifconfig_bridge0="up" on line below
-
voy4g3r2
not sure why i did it that way but it works
-
elge
meow there) I use DRBD quite a lot on gnu/linux for building convergent XEN clusters (storage+virtualization) and that's only possible thanks to DRBD being able to have dual-primaries during guest live-migration
-
elge
as far as I've checked, HAST doesn't have dual-primaries. so I suppose XEN guest live-migration won't work there.
-
elge
is it planned to have that feature for HAST?
-
elge
(the moment where dual-primaries is used is very short, but seems necessary to me)
-
mns
voy4g3r2: My problem is that although bridge0 is up, and the epair0a is up, and is a member, my vnet jail doesn't seem to be able to connect with the outside world. this used to work (famour last words, I know) .
-
polarian
rtprio: yup
-
rtprio
polarian: so you either need to run nat on your wireguard host or run wireguard on your router instead
-
rtprio
if i recall your problem
-
martinrame
Hi, I'm struggling to configure /compat/ubuntu on FreeBSD 14.1
-
martinrame
-
martinrame
Now, when I'm on chroot /compat/ubuntu /bin/bash
-
martinrame
I cannot install basic apps, like curl for example.
-
rtprio
is linux bash running now?
-
martinrame
After "apt update" I run "apt install curl" and I get:
pastebin.com/nns6Qa15
-
rtprio
you already filled the sources.list ?
-
rtprio
did you try running --fix-broken like it suggests?
-
martinrame
rtprio: no, didn't filled sources.list, let me try
-
mrelcee
I anm trying to cheat a little to save a bit of time. trying to bring up a 4 drive raidz1 and build it in degraded mode while i wait for what will be the parity info drive to reformat from 520b sectors..
-
mrelcee
the plan was add the physical volumes da4-7 and then create a sparse zvol for a placeholder. create the raidz1 then offline the zvol.
-
mrelcee
the sparse zvol
-
mrelcee
id be replacing with the real deal in about 18 hours that its gonna take to let the drive reformat
-
rtprio
"reformat from 512*b sectors" ?
-
mrelcee
from 520
-
mrelcee
they are sas drives from fibre channel arrays
-
rtprio
uh. i don't think you can build a pool in degraded mode
-
rtprio
why not just wait your 18 hours
-
mrelcee
youre right. you have to have it think all is there. its a bit of q sleight of hand trick.
-
martinrame
Hi again, I was able to install some command line applications in /compat/ubuntu, now I installed an application that internally bundles a Java Runtime, but I'm getting: Desktop API is not suppoorted on the current platform.
-
martinrame
I must add. This is running perfectly well on another FreeBSD 14.1 machine.
-
mrelcee
if you actually tried to fill a pool beyond the disk storage available for the sparse zvol it would crap itself
-
mrelcee
but once built you offline the drive that is the sparse zvol
-
mrelcee
the it runs in degraded
-
rtprio
martinrame: i suppose if you had some extra space you could create the pool like this: truncate -s [exact size of drives] /usr/placeholder; zpool create blah raidz1 /usr/placeholder /dev/da4 /dev/da3 /dev/da2
-
mrelcee
one of those dragons be here things. :)
-
martinrame
rtprio: this should be for mrelcee
-
martinrame
I have the /compat/ubuntu issue, not the zfs pool one.
-
mrelcee
rrprio: exactly what i'm doing only with a sparse zvol. i unfortunately dont have 3.6tb free anywhere else atm.
-
mrelcee
to just use trunc
-
rtprio
mrelcee: ok. worth a try i guess. I wouldn't expect it to work
-
rtprio
martinrame: perhaps you missed a step on this system then the last one
-
mrelcee
specifying a zvol should be as simple as /dev/zvol/poolname/zvolname as the device. which i've done and I then used gpart to create a gpt label, and added a partition the exact size of the drives to that. so id be specifying it as /dev/zvol/poolname/zvolnamep1
-
martinrame
To debug the issue I'm trying to run xcalc, but I get: /compat/ubuntu/bin/xcalc: /lib64/libm.so.6: version `GLIBC_2.29' not found (don't know how to install libm.so.6)
-
rtprio
that should be part of glibc
-
martinrame
rtprio: yes, I don't know why it doesn't exists here. I was able to run xclock, but not xcalc
-
rtprio
probably because xclock doesn't link to libm
-
mrelcee
i mean you can simulate the same idea with disk files. add the three drives and then the disk file as a zpool. it'll limit the size to the size of the disk file that is added to it. you can offine that but it wont expand till theres a device listed in its place that is the proper size. hence i was going for a sparse zvol i just dont add data to. :)
-
rtprio
mrelcee: ok man. but i would be prepared to rebuild the pool when you have all disks present
-
mrelcee
nah. replace the hinky device i the pool. let it resilver
-
rtprio
ok, good luck
-
mrelcee
maybe i have a way. i do have 1T free ion my boot ssd.. and the data that needs on there is 1.8T. make a 950G file with truncate.. add that and the three drives.. move data over and when the last drive is done reformatting.. I can down the dummy file, replace with the real disk. let autoexpand do its job.. the sparse zvol not working is the problem here...
-
mrelcee
funny thing this worked in pre-openzfs days on freebsd. is advertised to work on linux machines now. doesnt now on freebsd. or I am missing something.
-
rtprio
it seems like a lot of work to do it the wrong way first rather than just doing it the right way™️
-
mrelcee
just shifting time around. its called hacking. :) this isnt wrong like creating manbearpig. Just a little wrong.
-
mrelcee
yep creating 950G file and replacing the 10G placeholder it autoexpanded the volume.
-
mrelcee
that is offlined again - i was reformatting the drives yesterday and missed doing this oe. i really dont have another day to wait around is all. :)
-
» ober gets a lot of kernel time spiking from browsers playing youtube. short bursts that make it hard to ctx