00:03:08 wi 1 00:10:05 Password: 00:11:05 password123 00:20:45 wowzersbrain, Honestly I heard blah blah blah wordpress blah blah and I think, the site was probably compromised. There are Wordpress vulnerabilities posted every other week. 00:21:07 +1 for ncdu. I would run this and see where the space is consumed: ncdu -x / 00:21:59 That -x says don't decend other filesystems/datasets. That keeps it out of /dev and such. Run that for each and every dataset. Or don't use -x and see if it runs across everything okay. 00:22:22 I have just gotten in the habit of using -x to keep it out of /dev and /tmp and other datasets. Maybe that's not needed anymore. I don't know. 00:23:08 If you have been using snapshots then you will need to look there: zfs list -t snapshot -o space 00:23:53 And: zfs list -o space 00:34:48 a little further down they mentioned using ufs 00:52:40 I think ufs gained snapshot ability at some point, I actually don't know since I am not using it. But then ncdu should find all of the used space okay. 00:53:32 Sometimes web server log files get blown up due to the external nature of abuse from the hostile internet. That's another typical place to consume all disk. 00:54:48 The database server depending upon the storage engine might expand the db file and not shrink it. The various engines have ways to re-compact. "vacuum"?? Since it is Wordpress it is possible something compromised it and then used a lot of database storage. 04:09:01 Hello, I need help. I added a new geli encrypted mirror to my zroot and now freebsd won't boot anymore 04:09:06 zro_read error: 5 04:09:23 I don't think the bootloader is opening the new geli drives 04:09:36 I set them up with -g 04:11:12 how can i recovery my system to be bootable again? 04:13:19 oh that's so weird 04:13:28 it uh... booted up anyways after lots of errors 09:40:55 * trench slaps perplexa with a freebsd memstick 09:41:03 ohno 09:41:07 \o 12:32:59 i'm trying to moun a ext2 partition. I get `mount: /dev/da2s2: No such file or directory`, but if I do `file -s /dev/da2s2` I get this: 12:33:07 `/dev/da2s2: Linux rev 1.0 ext4 filesystem data, UUID=eb61a36e-4d8c-4320-beb1-81c18f7695f7, volume name "rootfs" (needs journal recovery) (extents) (large files)` 12:33:21 afaik the journal recovery should happen automatically if I try to mount it 12:33:57 yourfate, try specifying the mounting point and filesystem type (-t). 12:34:43 I do specify the mountpint 12:35:23 what is the correct option for the `-t` flag? just ext2? 12:35:28 yourfate, sorry, I didn't notice it in your message. I get exactly this error if I pass only the device to mount, that is not it fstab. 12:36:29 I'm doing this `doas mount /dev/da2s2 ./mount-linux` 12:36:37 mount linux exists 12:36:38 yourfate, I cannot tell. I read the mount man page yesterday, and saw no explanation. 12:38:33 If you pass the wrong (unsupported) -t, the error message says so. 12:39:44 `doas mount -t ext2 /dev/da2s2 ./mount-linux` returns `mount: /dev/da2s2: Invalid fstype: Invalid argument` 12:39:58 do I need some pacakge? I didn't find anything in the freebsd article on those fses 12:40:28 yourfate, ext2fs manual says -t ext2fs 12:40:53 I tried that too 12:41:03 then I get invlaid argument 12:41:03 The same man-page says you must have: kldload ext2fs . 12:41:11 I'm installing e2fsprogs rn 12:41:13 oooh 12:41:27 Yes: error messages from `mounm 12:41:38 Error message from `mount' are not very good. 12:42:05 `kldload: can't load ext2fs: module already loaded or in kernel` 12:42:08 hm 12:42:43 Can you mount any other ext2fs system? 12:42:48 I have never tried 12:42:50 I have none 12:43:02 I just have this SD card that was in a pi I was given, and I want to snoop around :P 12:43:05 Try creating one, perhaps, just for testing purposes... 12:43:36 I for one failed to found an NTFS partiotion from the Ventory USB stick. Still no idea how to do it... 12:44:29 I have mounted NTFS and BTRFS successfully before 12:44:57 How did you mount NTFS on FreeBSD? 12:45:24 I tried it with the ntfs-3g utility from FuseFs, but to no avail. 12:45:40 ye, I used that 12:45:45 oooh I fixed it! 12:45:50 How? 12:45:57 I needed the `e2fsprogs` 12:46:03 then I had to fix the journal 12:46:13 using `doas e2fsck /dev/da2s2` 12:46:25 So your initial conjecture was correct, lucky you (-: 12:46:37 then I could mount it using `doas mount -t ext2fs /dev/da2s2 ./mount-linux` 12:47:26 this PI was used in a digital signeage application 12:47:30 it seems they used teamviewer :D 12:47:46 lol 12:58:45 yourfate, You error "/dev/da2s2: No such file or directory" above is misleading. Could that be a bug in `mount' or one of its subprograms? 13:17:31 oof, dd block size can make a huge difference 13:17:39 I'm backing up that old sd card 13:17:50 no bs specified: 1 MB/s 13:17:59 bs=64k: 64MB/s 13:58:26 t'was always so, back to the 1980's 14:06:06 :) 14:06:13 so far I have had dd work fast without BS before 14:06:21 that was with internal drives tho mostly 17:06:09 Local disks are going to have file system buffer cache. SD cards vary greatly in quality and many are awful. Specifying a dd block size is going to make a difference. I usually use 1M at least these days since RAM is available for it. 17:58:46 rwp, what do you mean? why does that make a difference? 17:59:42 Re: 07:17 oof, dd block size can make a huge difference; 07:17 no bs specified: 1 MB/s ; 07:17 bs=64k: 64MB/s 17:59:51 yourfate, try using XFS instead of ext on flash storage. it makes a huge speed difference 18:00:14 rwp, no i mean why does the block size make that big of a difference 18:00:33 how is the qualitiy of an sdcard determined? 18:00:39 Some SD cards are just really crappy. To read a default 512 byte block internally it might read an 8K stripe. Then to read the next 512 byte block it will read the 8K stripe again. 18:01:34 And so a read-amplification happens causing a default block size read of 512 byte blocks to result in 16 reads. A 16x performance penalty immediately. 18:01:35 so if the block size is 8K, why would 1M be any faster then bs=8K? 18:01:42 Which can be mitigated by using a larger block size. 18:02:26 and to be clear, the problem is the sdcard not reporting it's true sector size to the operating system? 18:02:34 As to why 1M might be faster than 8K I imagine it is just all of the overhead. Doing the read might set up a DMA and stream most of that out all at once. Which is just more efficient. And some Flash NAND storage might have even bigger stripes than 8K. 18:03:08 AFAIK dd does not ask the storage for the logical block size. It just does a read(2) using the block size we tell it. 18:03:30 And the default block size unless we tell it something different is 512 bytes. 18:03:38 I've heard of people using pv instead of dd. Does pc read the block size 18:03:58 I use pv and like the progress bar. It also does not read the block size afaik. 18:04:19 I am usually using pv to read from local disk piping to dd to write to an NAND Flash though. 18:04:44 pv foo.img | dd of=/dev/da0 bs=1M iflag=fullblock oflag=sync,direct 18:04:57 filesystems read block sizes though right? 18:05:02 just not raw-reads 18:05:07 That way I get a nice pv created write progress bar. And dd writes to my usb connected storage /dev/da0 with a bigger block size. 18:05:46 When file systems are created I believe they do read the block size. But flash storage is natorious for lying. That's why there is the flashbench program to deduce it from benchmarks. 18:06:06 https://github.com/bradfa/flashbench 18:06:17 oh it's not in ports? 18:06:35 Not that I see. 18:07:02 But honestly I would have referenced the URL of the upstream just as documentation for looking at what it does. 18:07:06 thankyou for this tool. this is probably why XFS is so much faster 18:07:23 XFS is an awesome file system. +1 18:07:48 is XFS well supported on FreeBSD too? 18:07:52 i know it is on Linux 18:10:45 I don't know. I haven't needed to try it. 18:10:58 dev.c:21:10: fatal error: 'linux/fs.h' file not found 18:10:58 21 | #include 18:11:08 damn, flashbench on bsd is not to be 18:11:10 On FreeBSD I am one of the ZFS converts. 18:11:22 ===> NOTICE: 18:11:22 The xfsprogs port currently does not have a maintainer. As a result, it is 18:12:32 I see that "currently does not have a maintainer" for a great many of the ports. So... Have become desensitized to it. 18:12:58 But I did not know that flashbench was tied that deep with the Linux compile environment. Oh well! 18:15:24 sfox, https://forums.freebsd.org/threads/xfs-support.61449/ says xfs is supported through fusefs and shows it working. 18:16:55 I have no idea how well that works though. 18:21:12 i like ZFS too bug XFS is still faster for some reason 18:21:24 i like ZFS too but XFS is still faster for some reason 18:28:33 I think it was not terribly long ago on 2.5 Admins that they talked about using pv instead of dd, and that it was often faster without having to specify blocksize 18:38:46 the pv man says: "The default buffer size is the block size of the input file's filesystem multiplied by 32 (512kb max), or 400kb if the block size cannot be determined." 20:56:34 Hello, all. Does anybody have experience with extracting the EDID data from your laptops? On my HP 15-bs0xx I get this: 21:37:27 I'm using bsd.prog.mk but I don't seem to find an option to make it move object files to a custom directory 21:46:27 sfox: oh, I'm not using ext by choice, its just an old SD card I found and watned to see whats on it 21:47:22 im uing UFS on the sd card