00:09:33 mount_smbfs has issues with connecting to smb verions > 1. How can I use samba from ports to be able to mount smb server of higher versions? 00:15:00 and also mount on boot 00:39:34 not sure if i'm imagining it, but virtio-9p file transfers in bhyve seem much faster in 14.2 02:12:31 im trying to add a new zpool using an external drive. i plug drive in then try to destroy its factory partition table with gpart destroy /dev/da0 but it says invalid argument "da0"? 02:13:52 but in camcontrol devlist /dev/da0 shows up 02:18:16 zpool create mydisk da0 works though 02:29:10 l00py: what does it show when you enter "gpart show da0" 02:30:02 it didn't show up 02:30:35 what does gpart say, specifically 02:30:52 no such geom: da0 02:32:10 ah, if you no longer need the data on the drive i would dd it then "gpart create -s GPT da0" 02:32:43 and then add it to the new zpool with zpool create mydisk da0? 02:32:53 exactamundo! 02:33:29 so since i already created the zpool do i need to destroy it then dd it? 02:33:37 yes 02:34:04 ok and by dd do you mean dd if=/dev/zero of=/dev/da0 bs=1M or? 02:34:22 there you go 02:34:34 how long will that take for 2TB? 02:34:47 i would say let it run for 5-15 mins 02:35:06 why would you do a dd on a new zpool? i have never done this 02:35:28 no, we would destroy the new zpool first because it wasn't partitioned correctly 02:36:15 ZFS acts wonky if you give it your entire drive 02:36:37 really? 02:36:37 for example, i had a zpool report bogus numbers about space 02:36:54 we should be able to just throw raw hw at zfs. it's the future 02:36:58 :) 02:37:03 there's no better fs on the planet 02:37:11 i like it myself as well 02:37:31 and then you add FreeBSD stability... :)) 02:37:34 btrsbois stay losing 02:37:58 lol 02:38:10 i haven't used btrfs in years but :x 02:38:30 for me anyways 02:39:00 after the dd and gpart create, i don't need any gpart add ... or newfs stuff because it's going to zfs and not ufs right? 02:39:21 l00py: after gpart create is when you should create the partition table with add 02:39:47 that will depend on if you're going to boot, etc 02:40:02 not going to boot to it, just an external zfs pool is all 02:40:13 one sec, let me find you a link 02:40:26 gpart add -l mydisk -a 1M da0? 02:41:14 that's pretty much what I would do 02:41:27 you got this mannnn 02:41:36 :D 02:46:41 how long have you been using FreeBSD l00py? 02:47:32 like a yar? came from mac 02:47:44 you? 02:47:55 this time around....4 years or so 02:48:11 thoughts? 02:48:21 very happy, especially with ports 02:48:36 in fact, i might not shutup now that you asked me that ;) 02:48:54 spill it 02:49:05 get you a server that can build ports 02:49:13 btw i can skip geli init if i don't care to encrypt the data right? 02:49:13 or a machine or w/e 02:49:36 yes 02:50:05 ty 02:50:25 35k+ ports available mang 02:50:44 biggest gripe with freebsd tho? 02:50:47 hmm 02:51:02 the one thing everyone says...wifi 02:51:18 but we're working on it 02:51:25 or they or whatev 02:51:58 ya true 02:52:26 top notch wifi support would lay the groundwork for their laptop initiative too 02:52:40 yep 02:53:10 btw you're saying to add the /dev/da0p# partition to the zpool create, not the raw da0 disk? 02:53:17 yes 02:53:26 whichever partition is the largest 02:53:32 p1 maybe? 02:53:38 idk how you set it up 02:54:25 zero drive, create gpt partition table with 1 big user partition, create zpool with partition. then start using or? 02:54:36 yes 02:54:43 should mount in "/" 02:54:51 under the name you gave it ofc 02:55:52 i never did external zfs before only ufs on external and zfs on root internal so this is my first time then ill finally know how to put zfs everywhere! 02:56:04 woohoo! 02:56:21 may i offer some advice about zfs on externals? 02:56:33 pls do 02:56:41 export the pool before d/cing or let it shutdown completely 02:57:00 it being the computer 02:57:11 so we don't just umount it like an external ufs, but we work at zfs level for unmounting? 02:57:30 correct. "zfs umount " 02:58:02 Hi there, I was hoping someone here could help me figure this out. I setup a new samba share (4.19.8_1) on a new FreeBSD jail. When I access the file share via Windows and Linux, it works normally. However when I access from Mac, I can navigate into folders, but when I try to go back up in the directory finder disconnects from the server entirely and I have to reconnect. Has anyone seen anything like this before? 02:58:55 what's the diff between zfs unmount mydisk and zpool export mydisk? 02:59:38 got me there 03:00:15 if nothing else zfs mount works at partition level and zpool export the pool level 03:00:38 i'd deal with whole disk at a time here so i'd say zpool export. then unplug. then plug back in and ... import or ? 03:02:30 "zpool import " 03:03:09 so plug in, then zpool import mydisk, then read/write files like normal? 03:03:27 yes 03:03:59 tyvm 03:04:02 :) 03:04:10 hope you enjoy FreeBSD 03:04:14 and ZFS! 03:04:27 ty you too. you got any servers? 03:04:32 or just desktops or 03:04:36 just one for building ports 03:04:45 desktop, laptop 03:05:18 service jails look cool 03:07:11 a small enough "jail" would just be a capability context right? 03:07:33 purely a security and entitlements container 03:09:07 Yes. That's pretty much all that it is at that point. Very light weight. 03:14:51 entitlements meaning no resources are given to jail context by default, it all has to be explicit. like x cpu time, y set of file paths in the host 03:19:02 I don't know how to explicitly make those limitations. I have not needed that myself. And therefore I have no idea about it. But I am sure that others will. 03:55:01 jauntyd when i add the partition, what -t (type) do you use? freebsd-zfs? 03:55:12 yes 03:55:32 do you use the same label as the name of the pool or? 03:55:36 like mydisk 03:55:59 the label will show in /dev/bylabel 03:56:20 that's not right one sec 03:56:27 it shows somewhere....ugh 03:57:25 but no, i don't use labels 03:57:40 but it's a good idea 03:58:04 k 03:59:02 it would show in "/dev/label/labelname" 03:59:03 and when, as a user, i went to run truncate -s 50G /mydisk/vm.img it said permission denied. rather than use sudo i should sudo chown -R l00py:operator /mydisk right? 03:59:31 yep, it defaults to root:wheel permissions 03:59:33 gpt labels show up in /dev/gpt/* 03:59:40 oh sorry! 04:00:05 They are separate from the old glabel type labels. gpt labels are now prefered over glabel labels. 04:00:16 gotcha, ty 04:01:02 ok i ran truncate -s 50G /mydisk/vm.img and it worked, but ls -la shows it's the full 50G in size? shouldn't it be a few kb since nothing's been written to it yet by the vm? 04:01:27 no, that's right 04:01:39 how? 04:01:41 i think there's an option in truncate to not preallocate 04:01:50 one sec, ill look 04:02:16 ls -l will show the allocation size not the actual size. Use du to see the actual size. 04:02:35 l00py: listen to rwp, you're beyond me now ;D 04:03:09 wow 04:03:15 zfs list shows it too i think? 04:03:26 it says 432K used 04:05:01 tyvm 06:34:32 what's the device line for the sparse flat file for bhyve to store the vm in? like do i use virtio-blk or ahci-hd, stuff like that? 06:54:48 is usbconfig the right way to turn an external attached usb drive off safely after i zpool export it? 06:55:04 it's nvme inside external usb enclosure 07:38:24 is usbconfig the right way to turn an external attached usb drive off safely after i zpool export it? it's nvme inside external usb enclosure 08:12:41 any mikrotik users? 08:27:40 l00py: a very long time ago, whats up 08:30:32 drijen ty. so i have a very simple setup. a mikrotik wifi AP that's also the router. public side is router runs dhcp client to get ip from isp. lan side, i added 168.x.x.x/24 and 10.x.x.x/24. i want to make those networks separate so no traffic goes between them, only between each lan and the wan. best idea? 08:38:07 physical seperation or logical? 08:38:13 logical is just a vlan for each 08:39:06 logical is fine 08:39:14 yeah just stick each to a vlan 08:39:16 how do i set up a vlan for each? 08:39:21 ive very long forgotten 08:39:23 im sorry 08:40:36 i will point out that the situation you describe is basically router on a stick, for which you can find details here: https://help.mikrotik.com/docs/spaces/ROS/pages/88014957/VLAN l00py 08:41:03 if networking is unfamiliar to you,i believe ROS is reference in the CCNA chapter 4 or so 08:44:03 for the peanut gallery; i have a synology that i wish to make a backup from to a BSD server; better to just mount the shares and rsync, or use synology's built in hyper backup (assuming folks here have synologys) 09:16:24 is usbconfig the right way to turn an external attached usb drive off safely after i zpool export it? it's nvme inside external usb enclosure 14:04:44 hmmm I am starting to feel I want to redo my zfs setup and replace zvol with volumes with a disk file on :/ 14:04:52 bhyve setup* 14:05:16 I was thinking "I will prove zvol's are useful" and then thought now actually I just made my life difficult :P 14:12:09 did your life became really difficult after that change ? 14:13:31 I haven't changed 14:13:39 but zvols are meant to be considerably slower 14:13:43 (I haven't benchmarked it) 14:14:56 no disaster 14:16:15 meh I dont think it is a big deal, I just thought it would be simpler than tons of disk files 14:16:35 and seeing other peoples setup I have concluded it really isn't much more difficult... 15:13:49 hm. trying out ghostbsd and the usb drive is saying cannot receive new filesystem stream incompatible embedded data stream feature with encrypted receive 15:14:06 almost makes it sound like their img has a broken zfs? 15:31:52 freebsd seems to work fine. guess i'll try that out 15:31:54 and see what the gnome experience is like with it 15:33:06 I don't know. I recently tried to boot a GhostBSD live image and it never fully booted. I didn't investigate, because I had some other live images on hand which got the job done. Might try on other hardware when I find the time 15:33:21 I don't remember exactly where it got stuck 15:55:21 hm 15:55:21 i just installed gnome and set up proc and enabled dbus and gdm in rc.conf 15:55:21 but gdm doesn't start 15:56:43 ... 15:56:50 xorg isn't a dep of gnome? 15:57:17 what in the world? 16:24:55 isn't gnome wayland only these days? 16:25:49 not sure tbh. maybe i'll re-install and see about reading up on how to configure wayland 16:26:13 but yeah. getting a functional ui in fbsd... sure wish the installer had an option to do this heh 16:27:36 i'm going to re-install and give it one more college try but in the meantime work on making a debian usb drive 16:28:50 if my monitors turn back on. 😕 17:17:49 Macer, If you are trying to create a USB booting portable desktop system then give https://nomadbsd.org/index.html a try. 17:52:46 no i was trying to install it as a desktop using either mate or gnome. but i honestly gave up. 🙂 i'll just keep fbsd on my isilon where it belongs 17:53:27 after a couple of hours of re-installing and trying to just set up wayland + gnome... and not having it start... it just wasn't worth the hassle anymore. 17:58:49 I happen to think that the nomadbsd desktop they set up is a very pretty one. I don't use a Desktop Environment but instead use a simple window manager for myself. 17:59:08 For other people I usually set up Xfce which I find much nicer than Mate or GNOME. 18:00:16 Mate (GNOME2) is okay. I just really do *not* like GNOME 3. 18:00:51 I also did not think GNOME 3 was possible without systemd too as the two projects have become inseparably entangled, I thought. 18:01:30 rwp: a lot of linux distributions without systemd work around the issue with elogind 18:01:37 so it's possible, although not the preferred way 18:05:56 I am pretty sure that Devuan gave up on trying to make GNOME 3 work without systemd even though they have elogind there. It's just an endless time sink I am sure trying to keep up with it. 18:06:52 But anyway this is FreeBSD and I usually run a tiling window manager myself. I have run fvwm traditionally. I usually set up Xfce for others. 18:06:58 rwp: both gentoo and guix have gnome working without systemd. it's certainly possible 18:07:15 i don't know if freebsd still has gnome working, however 18:07:17 But then I saw the nomadbsd default desktop and I realize I need to understand how it is set up. It really presents very nicely. 18:07:57 https://nomadbsd.org/screenshots.html 18:08:17 looks like xfce 18:08:38 It might be a customization of Xfce. 18:10:20 I'm really not the target audience of it. I am one of those people who if they have to remove their fingers from the home row of the keyboard and reach for the arrow keys or goodness forbid the mouse then I feel that something about the UI has failed me. 18:42:34 rwp: from the keybindings page: Print Open XFCE 4 screenshooter. 18:42:41 its a slicked up xfce 19:03:30 dang, looking through those screenshots i might try that as a replacement for ubuntu on my laptop 19:06:00 "its a slicked up xfce" Sounds good to me! 19:06:24 * jauntyd pats his enlightenment 19:06:38 Since it is designed as a portable USB desktop that means you can try it out. Take it out for a test drive. See if you like it. 19:06:46 im trying to start another bhyve vm but i get unable to setup memory error. i have 64gb ram and HALF is being used by zfs arc (looking at sudo top) any solutions? 19:06:58 Without doing a local install. Then install it if you decide you like it. Pretty nice! 19:08:00 l00py, "i have 64gb ram and HALF is being used by zfs arc" and what is wrong with that? Sounds like it is working correctly to me. What good is unused memory? 19:08:47 If the system needs memory for something then it will reduce the arc and use it for those other things. 19:08:59 but i just explained how that didn't happen 19:09:10 i tried to start a bhyve vm with 4gb ram and i failed 19:09:29 You said "i get unable to setup memory error" but what does that have to do with the arc memory/ 19:09:44 Start with the bhyve question first. 19:10:00 (Not that I can help with bhyve as I am not proficient there.) 19:15:10 it means zfs didn't give ram back to system for bhyve to get enough to start the vm 19:16:36 I don't think that is enough information to make that conclusion. 19:18:31 ok well whatever the pedantry is, arc is taking half my ram and bhyve isn't getting enough 19:22:56 It would probably be interesting and useful to post the output of "zfs-stats -A". 19:25:32 l00py: What is your vfs.zfs.arc.min set to? 19:31:06 is that a sysctl? 19:31:51 rwp there is no zfs-stats bin 19:32:19 imm_ it's set to 0 19:32:39 l00py: zfs-stats is in zfs-stats port. 19:36:14 https://termbin.com/c5w9 19:40:22 rwp ^ 19:43:20 I don't think it's a problem with ZFS, but bhyve 19:43:28 l00py: Do you use bhyveload? 19:45:30 l00py: Or grub-bhyve or similar. 19:52:25 imm_ to start the vm? 19:52:54 i just use 'bhyve' 20:06:20 looks like i can define a zfs_arc_max somehow 20:09:54 https://www.reddit.com/r/freebsd/comments/wxl5oi/freebsd_13_arc_using_significant_ram_and_making/ 20:17:45 what's a reasonable arc max to set if i have 2x1TB in a mirror on system with 64gb ram 20:17:52 2x nvme drives fwiw 20:25:42 I'm running a 4x7tb raidz1 with 16gb arc limit and 8gb to spare for system+services 20:26:28 (24gb total memory) 20:28:15 run fine? 20:29:42 yup, no issues here. although I don't have that many clients 20:30:03 and this nvme array is so stupidly fast, that I don't really need more caching :D 20:31:27 just a bit of metadata and random smaller regularly accessed files is plenty for my needs, everything else can just go to fetch from nvme 20:32:01 so it all depends on your usecase, if you're planning on running a bunch of additional services that all want their own share of memory, then you'd better limit it accordingly 20:38:36 do you set vfs.zfs.arc.max in /boot/loader.conf or? 20:44:05 l00py: get out of my server :p (also running 2 x 2tb m.2 and 64GB 20:44:10 ) 20:46:13 trying to figure out what speed a pci device is operating at. with pciconf i see "link x4(x8)". does that mean x4 actual, x8 capable? 20:51:11 drijen lol nice 20:51:24 setting vfs.zfs.arc.max worked. i have tons of free ram again 20:51:35 trying out 8GB max and if it feels sluggish i'll up it to 16 21:02:21 I have a system I don't want to build packages for I just want to install bianry package and the system has no internet. How can I manually install a manually downloaded binary package? 21:04:11 burie: from the official package repository? 21:05:37 burie: in broad, you can download any source code, build and install without any repository 21:06:55 burie: and you can install without those early two step if you cross compile in other machine and bring the build to your isolated machine 21:08:57 burie: https://pkg.freebsd.org/ 21:09:13 l00py: Does bhyve work now when ZFS is low? 21:09:19 Download whatever you need, place them on the system, and use "pkg install" to install them. 21:19:19 imm_ yep! 21:20:00 and i'm gonna upgrade my system to 128gb from 64 so it's only a temporary fix to set vfs.zfs.arc.max so low 21:20:08 i'll raise it to 16gb when my new ram is in 21:25:32 ek: so pkg install will work on downloaded pkg files yes 21:31:22 ek: I go to https://pkg.freebsd.org/FreeBSD%3A14%3Ai386/latest/All/ but I get access denied 21:32:22 It looks like its intended behavior... 21:57:52 how much space does it take to do buildkernel buildworld? It's filling up my 38G disk in my vm 22:11:08 burie: Yes, pkg install will work on downloaded .pkg files. That's exactly what they were intended for. 22:15:39 burie: Size of build source for kernel and world varies depending on options. They can get pretty large, though. 22:16:23 burie: pkg.freebsd.org doesn't allow index listing. You need to know the package name specifically (which seems a little silly, but I'm sure there's a reason.) 22:31:29 burie: obj size is 15G (7.4G when compressed)