-
torbo
Hi, has anyone ever encountered an issue where typing `ls` into a shell yields output in which one of the directories is misspelled? For example, for 3 consecutive times, when I typed `ls`, the name of the `shared` directory was spelled `shaked`, and then it went back to normal.
-
grahamperrin
<rwp> "rtyler, I am just a newbie to..." <- NB not a new dataset within the same pool.
-
shiroyasha
torbo: Maybe a problem with terminal emulator and $TERM variable?
-
shiroyasha
With `st`, sometimes characters get "stuck" on weechat, so it's like it doesn't fully draw lines. Telling weechat to do a full redraw usually fixes it. So maybe something similar is going on.
-
shiroyasha
(With `rxvt-unicode` this problem is way more uncommon for me.)
-
torbo
Thanks, shiroyasha, this was in an Emacs shell mode, and on MacOS, to be specific, so not FreeBSD-related (though MacOS is based on FreeBSD) -- I do run FreeBSD on my desktop. It's just never happened before, so it was particularly surprising. I did take a screenshot and definitely the `k` character was drawn instead of the `r` character. The characters look very different in this font.
-
shiroyasha
torbo: Just to clarify, if it's the same problem I describe, then it would be that there was a "k" in that row+column before you ran `ls`, but after running `ls` that row+column was left unchanged, keeping the "k" from before (unchanged) instead of replacing it an "r" as expected.
-
shiroyasha
Emphasis on "if". It might be something different.
-
torbo
Yeah, you're right, there was a k in that very column in the previous row. Maybe the character re-drawing logic is glitchy and a pointer wasn't de-referenced properly (or something).
-
shiroyasha
I don't know anything about Emacs, but if that "shell mode" is a terminal emulator, I would try setting `TERM` environment variable to "screen-256color" or "xterm-256color" and see if that fixes the issue.
-
torbo
Thanks, shiroyasha. The `TERM` environment variable is already set to xterm-256color. It's just odd that I had never encountered this issue before in over a decade of Emacs use. It happened on my work computer and I worried that it may have been compromised, especially since the word is s_haked_.
-
Remilia
you could also try setting it to vt100 which is the simplest thing supported by everything, and checking with that
-
grahamperrin
torbo: a little.
-
grahamperrin
> … (though MacOS is based on FreeBSD) …
-
grahamperrin
-
VimDiesel
Title: grahamperrin comments on Practical reason to choose FOSS GNU/Linux over FreeBSD:
-
grahamperrin
A few months ago I found a very neat summary of the relationships between FreeBSD and Mac OS X, I couldn't find it when I wrote that. I should have bookmarked it.
-
vkarlsen
sysutils/ztop <3
-
irqq
I need to debug how an aliased hostname gets resolved. I can ping my "alias-hostname", but I do not see anything related to this host in places like /etc/hosts. Any tool or "verbosity" switch saying the way this hostname gets resolved?
-
V_PauAmma_V
See truss(1).
-
V_PauAmma_V
Or (since you want to trace resolving and it's likely DNS if not /etc/hosts), use "options debug". See resolver(5).
-
sukamu
How to install the video drivers in a qemu freebsd virtual machine?
-
sereg
sukamu: i installed from source a patched version of xf86-video-qxl
-
meandrain
hi, any idea how I get the source code for FreeBSD 13.1 ?
-
meandrain
svnlite seems not to be on 13.1
-
V_PauAmma_V
When you install it, bsdinstall gives you an option to install the source. Otherwise, there's a way to fetch it and untar it later... hold on, lemme get the URL.
-
meandrain
-
meandrain
if I install svn package, will this still work?
-
meandrain
-
meandrain
(I will fetch this and install)
-
paulf
is the svn mirror still maintained? the source migrated to git a while ago
-
V_PauAmma_V
-
V_PauAmma_V
It is, IIRC. Just not updated, but still needed for history of files that were deleted or renamed before the git conversion.
-
hays
this is more a macos queation, but i think freebsd uses a similar route tool
-
hays
trying to understand what command creates this route -- fc00:2:: f6.d4.88.d6.75.64 UHL lo0
-
hays
i don't know what it means that there is no /64 there or any subnet info... and also not sure where the mac address is coming from
-
Plasmoduck
whats happening with the new libXft with bgra support? Is it going to make it into 12.3 anytime soon?
-
meandrain
V_PauAmma_V: thank you! (right now I am using i386 for a nanobsd image for some embeded project)
-
meandrain
paulf: that I was curious, if svn is still maintained
-
kevans
paulf: meandrain: only for12.x
-
kevans
stable/12 and releng/12.x are imported only
-
meandrain
so for 13 instead of svn, I shoul use git?
-
paulf
yes
-
nomad_fr
-
VimDiesel
Title: Michel L on Twitter: "@OpenZFS encounter a bug with #ZFS under #FreeBSD 13.1 on a #NFS export trying to access to 'vol/.zfs/snapshot' form NFS give a 'Stale file handle' and then if you try to delete the #snapshot -> zfs hangs : see :
t.co/LMszWfvWj5" / Twitter
-
meandrain
I am trying to compile freebsd 13.1 i386 and I get this error (compiling kernel):
pastebin.mozilla.org/ScWZ5ieU
-
VimDiesel
Title: Mozilla Community Pastebin/ScWZ5ieU (Bash)
-
meandrain
any hint ?
-
rtyler
rwp: media sector size is definitely 512, I wonder (aloud) if that's something that can be changed live without re-imaging.
-
meandrain
-
VimDiesel
Title: Mozilla Community Pastebin/SdnYMDCR (Bash)
-
meandrain
I found the problem, the file /usr/src/sys/contrib/zlib/deflate.c is borked somehow.
-
yuripv
meandrain: here that line looks like "z_streamp strm;"
-
yuripv
yep, was just writing that
-
rtyler
rwp: the verbose status outputs fwiw
bsd.to/vZuP/raw
-
VimDiesel
Title: vZuP
-
rwp
rtyler, If all of the drives in your storage array are 512 byte physical sectors then that's fine. But if any of the drives are newer 4k AF drives then that's definitely *a* performance problem!
-
rwp
Your status shows resilvering in operation now. So that will also slow things up until that completes. That's normal.
-
rtyler
yeah, that I just started. I had taken a disk offline just to play a little while ago to see if any performance changed
-
rtyler
what's interesting to me is how freaking slow that resilvering is
-
rtyler
everything in the array is 512k sectors fwiw
-
rtyler
er, just 512 :)
-
rwp
I like examples. Here is one from one of my drives.
bsd.to/BUOR/raw
-
VimDiesel
Title: BUOR
-
___used
Hi. I am new here. Used *BSD 10 years ago, not since then. Looking at VPS offers, low end, I see 1GB RAM claiming supports it. Is this realistic? Would fbsd run in 1GB RAM with say lighty or a stripped version of apache and a db?
-
rwp
And here is an edited paste with an actual 512 byte sector drive example added.
bsd.to/v77d/raw
-
VimDiesel
Title: v77d
-
rtyler
-
VimDiesel
Title: 4OQe
-
rwp
rtyler, That is definitely a 4k AF advanced format drive and if ashift defaulted to 9 for you then that is definitely something that should be fixed. :-(
-
rwp
Hello ___used. First, I personally think it should work but am rather a newbie myself and so cannot say.
-
rwp
I think it should. But the best answer would be to try it. Since it is a VPS it is easy to try and test.
-
___used
Experience: the best teacher, you get to find what works after trying out everything else? :-/
-
rwp
rtyler, What does "sysctl vfs.zfs.min_auto_ashift" say for you? I think it must say 9 (as in 2^9 = 512) but desired is 12 (2^12 = 4096).
-
rtyler
it definitely should, depending of course what apache is running
-
rtyler
rwp: it says 12
-
rwp
12 is good.
-
rwp
Was this array created some time ago when the default was 9?
-
___used
I said stripped down for a reason... Also, anyone running Asterisk or similar, also limited/stripped down on fbsd? I'm interested in RSS footprint and such. RAM.
-
rwp
I want to double check and verify the array ashift size. Best to know for sure before becoming too concerned.
-
rtyler
rwp: it's been around for about 2-3 years I think, this was a 12-RELEASE box originally, and I'm pretty sure I built it in 2020
-
rwp
I don't know when the defaults were updated from 9 to 12. I am having a mental stall trying to remember how to ask the array what ashift value has been set.
-
» rtyler ponders
-
rtyler
`zfs get all zroot` doesn't show me anything interesting
-
rwp
"zpool get ashift zroot" shows?? Perhaps "zroot ashift 0 default" ??
-
rwp
Example from this end. This was also created on 12.x (I forget which)
bsd.to/mH6B/raw
-
VimDiesel
Title: mH6B
-
rwp
___used, For memory efficiency I am an advocate for Nginx over Apache. It has a hugely smaller memory footprint. (If I can say "hugely smaller"!)
-
___used
Yes, or lighty. Or even thttpd for non SSL.
-
rtyler
rwp: yeah, we're looking pretty identical
-
rtyler
-
VimDiesel
Title: cb9x
-
rwp
I think your array is actually using ashift of 12 as desired. But I don't know enough to know for sure. Sorry. Hopefully someone with real knowledge will know.
-
rtyler
hah, thanks for the help nonetheless
-
rtyler
maybe some time next year when this resilvering is complete I'll be able to rebuild the array xD
-
rtyler
working at leass than 1MB/s is pretty gnarly
-
rtyler
2.95G scanned at 804K/s, 2.09G issued at 569K/s, 2.21T total
-
rwp
-
___used
Something is seriously wrong for a SATA drive and such slow speeds.
-
___used
Any io errors or scsi errors in logs?
-
rwp
I looked at the spec page because I was worried it was perhaps an SMR drive and those are really problematic for resilvering.
-
rwp
But that page never mentions shingle anywhere. So okay.
-
___used
Does that mean it is not shingle type? ;)
-
___used
Shingle type saves money for the maker. Was it cheap or an "AV" disk?...
-
___used
DVRs are one/the(?) last bastion for spinning rust sales now.
-
___used
And they use shingle mode disks of high capacity usually.
-
nacelle
what? people buy nases all the time
-
___used
Sure, but for consumer level low cost drives, shingle mode "AV" disks are the standard. Your average convenience shop DVR.
-
nacelle
I literally dont care about that shit, but sure, I'll take yer word for it
-
___used
np
-
nacelle
shingled are cheaper for the consumer too
-
___used
It's just a factoid to keep in mind when buying AV drives.
-
___used
And using them for non AV things.
-
___used
Random access being one of the other things.
-
rwp
It is true that SMR is cheaper and since 2020 problematic for the buyer using raid not knowing of the problems.
-
nacelle
I can see them being used for AV purposes
-
nacelle
SMR gets you more density per platter, so they end up being cheaper per TB
-
___used
Random access write in particular.
-
rwp
Before 2019 SMR didn't really exist and so wasn't a concern when buying drives. But since 2020 it is now a big concern and easy to buy a drive "not suitable for purpose".
-
rwp
-
VimDiesel
Title: Timeout Mismatch - Linux Raid Wiki
-
nacelle
storage is hard for lots of people
-
rwp
Which also is a good reference for ERC SCT too.
-
nacelle
lots of things to think about, lots of marketing bullshit
-
nacelle
lots of things you'll never think about until you hit it
-
rwp
Western Digital's marketing department got caught mislabeling drives. They came clean.
blog.westerndigital.com/wd-red-nas-drives
-
VimDiesel
Title: On WD Red NAS Drives - Western Digital Corporate Blog
-
___used
Also, pretty much no-one writes smr on disk specs. That I can tell.
-
rwp
-
VimDiesel
Title: Use of Shingled Magnetic Recording (SMR) technology in Toshiba Consumer Hard Drives. | Toshiba Electronic Devices & Storage Corporation | Asia-English
-
rwp
It's definitely a problem to be concerned about but it is possible to step carefully around the problems. Information is power in this case.
-
___used
There was that story about someone buying a bunch of wd I think drives for NAS use and the second time he bought the same kit set they were different, with same model number.
-
nacelle
yes, I've heard that story
-
nacelle
scary crap
-
rwp
Yes. WDC got caught doing that. They later came clean and published a map so buyers could know which was which. That was in their Red line of drives.
-
nacelle
i have a bunch of red
-
nacelle
(at least 16 red drives here)
-
rwp
-
VimDiesel
Title: On WD Red NAS Drives - Western Digital Corporate Blog
-
nacelle
rwp: I'm not new :_)
-
nacelle
already done :-)
-
rwp
Okay then! :-)
-
___used
-
VimDiesel
Title: Surveillance (AV) Hard Drives | CCL
-
rwp
FTR I have a bunch of WDC Red drives too.
-
___used
No trace of SMR but you can bet they are. Large cap, slow speed, low price.
-
nacelle
-
VimDiesel
Title: CMR and SMR Hard Drives | Seagate US
-
nacelle
those seem to be CMR
-
nacelle
8tb isnt a lot nowadays
-
___used
hdd.userbenchmark.com turn on '4k write' column using >> arrows link on right
-
VimDiesel
Title: HDD UserBenchmarks - 1015 Hard Drives Compared
-
nacelle
you can get 14tb used enterprise disks off the eebs for under $170 now
-
souji
I think the WD Red HDDs are also SMR now...
-
nacelle
not all
-
nacelle
there are some that are and some that arent
-
souji
WD Red enterprise are the new CMR hdds
-
» ___used remembers silly jokes about Helium filled disks needing to be taped to the desk to avoid them flying to the ceiling
-
nacelle
and red plus disks too iirc
-
nacelle
-
VimDiesel
Title: WD Red SMR vs CMR Tested Avoid Red SMR - ServeTheHome
-
___used
Surprizing to find 2018 disks (Barracuda 2TB) writing at only 0.79 MBps ... see my link above
-
___used
0.79 MBps is slow even by 2010 USB 2.0 connected dollar store usb stick
-
___used
SSHD is very nice for random write speed ;)
-
rtprio
do red drives have the 3 or 5 year warranty?
-
nacelle
you have to look at each drive specifically to find that out
-
nacelle
by in large 5 though
-
___used
wow, great marketing
-
nacelle
theres no generic "All WD Reds are... "
-
nacelle
they've been around for over a decade
-
nacelle
what do you expect?
-
___used
A listing. Perhaps 3rd party.
-
nacelle
they have that somewhere
-
rtprio
i've just been buying wd black.
-
nacelle
WD Blacks dont do TLER, which makes them iffy for raids
-
rtprio
i've had them in the same zpool for 9 years :shrug:
-
rwp
And advantage of that era of drives is that they were excellent drives.
-
rwp
It's the new drives now that one must be cautious of since things have changed. :-(
-
___used
More exactly: new drives with the /same/ model number as old. GRR
-
rtprio
i haven't looked at storage in a long time; i'm due to rebuild the pool as it's half 512 and half 4096 sectors
-
nacelle
i'm in the middle of a storage project brought on by a failing disk in one of my hand built nas boxes.
-
___used
Is there a port of freebsd for synology etc nas boxes?
-
nacelle
for all the hoopla about the wd red 6tb disks being not great, I've had a set of them that went without errors for 7 straight years, and now I've only one thats failing. (I have a bunch of REDs, this is just my 6tb set)
-
rtyler
___used: yeah, this performance isn't what I would expect from a SATA disk at all, maybe a USB 1.0 flash drive :P
-
rtyler
maybe I left a "suck jumper" on the drives
-
___used
There should be no jumpers on a SATA disk?
-
rtyler
'twas a joke :)
-
___used
I could not tell ;)
-
___used
I wonder how WD's DMSMR "idle time available in SOHO use" ties in with Microsoft's prducts being seemingly designed to keep the HDD led hard on...
-
___used
+o
-
pmnw
Hi. Could someone post the default permissions for the /var/log folder? I changed it to exclude 'others' with "chmod o= /var/log", but now the polipos service won't start due to insufficient permissions.
-
otis
755 root:wheel
-
otis
pmnw: /etc/mtree/BSD.var.dist
-
otis
i.e.: /set type=dir uname=root gname=wheel mode=0755 tags=package=runtime
-
meandrain
any idea how to fix this build error (freebsd 13.1, i386):
pastebin.mozilla.org/KrzSSViP
-
VimDiesel
Title: Mozilla Community Pastebin/KrzSSViP (JavaScript)
-
___used
The way to have more private logs is mkdir /var/log/moreprivacy and set perms on that if you have to
-
otis
meandrain: i'd suggest to open a PR for it, if there isn't any already.
-
___used
PR means pull request here?!
-
pmnw
otis: neat - thank you
-
» rtyler ponders where to search next for this performance problem
-
rtyler
honestly I feel like the solution is to just rebuild the machine entirely
-
___used
rtyler: find your disk's real speed.
-
___used
rtyler: f.ex. on the link I posted above
-
meandrain
i will open a PR but first I want to be sure it's not something I am doing wrong
-
___used
rtyler: random read and write speed
-
___used
You can't make it go faster than the manufacturer provided.
-
rtyler
running the naive benchmark from `diskinfo -t`
-
rtyler
on a disk other than the one which is resilvering of course
-
___used
The benchmark does not test random read write I think, only contiguous read or write?
-
rtyler
yeah, doesn't do writes.
-
rtyler
the only other tool I'm familiar with is bonnie++
-
___used
Even so, random read takes into account head positioning speed, which can slow down things a lot, as well as spin latency (rpm).
-
___used
Remember screaming Barracudas and Fireballs? 15krpm?
-
nacelle
cheetahs?
-
___used
That too I think.
-
___used
I remember the spinning up jet engine sound...
-
nacelle
(I'm not sure that Barracuda or Fireballs ever came in 15k form fwiw)
-
___used
Could be. It's like 20 years back?
-
rtyler
I had some in a 4U rack back in the day, a whole array, loud AF
-
nacelle
i've been in data centers full of them
-
nacelle
couldnt really hear the drives over the fans
-
___used
I had one in a normal PC case iirc. Without covers.
-
nacelle
where the fans are of the "ear bleed" type
-
rtyler
so let's pretend that the disks aren't trash and I need to just reimage and reconfigure the entire zpool, I'm assuming since this is a boot to ZFS environment, I'm going to have to send the datasets somewhere else for a period of time and then bring them back after the new install?
-
___used
-
VimDiesel
Title: Storage Devices - All Categories
-
___used
The server fans are small and mean. Someone made a hoverboard using several.
-
nacelle
made?
-
___used
There is no choice but to spin fast in a 2in tall chassis to move a lot of air.
-
___used
built/assembled. Tethered, not self powered.
-
nacelle
i mean, the fiber channel thing - whats the point of that url?
-
nacelle
it shows a reseller of old crap?
-
___used
Just exemplifying 15k drives you can still buy.
-
nacelle
you can buy anything on ebay ;-)
-
rwp
___used, In FreeBSD PR == Problem Report reference
docs.freebsd.org/en/articles/problem-reports
-
VimDiesel
Title: Writing FreeBSD Problem Reports | FreeBSD Documentation Portal
-
___used
ok, github has a de facto monopoly on PR... I was guessing there.
-
nacelle
PR was Pull Request well before github
-
___used
I think it was Public Relations before it was stolen ;)
-
rwp
PR has been Problem Report from like the last century.
-
rwp
Github created the pull request as far as I recall from history. Because git created "pull".
-
rwp
Before git no one pulled or cloned anything. Before it was always "checked out" and a few other names. YMMV!
-
___used
yes
-
nacelle
rwp: yes, it came with git, not, it did not come with github afaicr
-
nacelle
(git came well before github)
-
nacelle
its plausible my memory of the events are wrong, I concede this
-
rwp
en.wikipedia.org/wiki/Git "Pull requests are not a feature of git, but are commonly provided by git cloud services." But let's take this ot discussion to -social if we are just going to chat. :-)
-
VimDiesel
Title: Git - Wikipedia
-
nacelle
ah I thought I was in social
-
nacelle
I see freebsd-irc and think thats the social, my bad
-
rtyler
here's some disk performance details from a device:
bsd.to/ks1d/raw not sure how to parse this offhand however
-
VimDiesel
Title: ks1d
-
rtyler
_seems_ slow
-
debdrup
try -cit
-
rtyler
uno momento
-
rtyler
heh, I hear the disk fiddling away in there
-
rtyler
-
VimDiesel
Title: gzC8
-
rtyler
dozens of IOPS, dozens!
-
rtyler
debdrup: I don't entirely know what to expect here, but the transfer rates at least look good to me in terms of MB/s
-
yuripv
heh, sectorsize: 1131643 ops in 3.000032 sec = 377210 IOPS
-
yuripv
(it's emulated nvme, so not real numbers)
-
rtyler
heh, yeah the IOPS aren't great xD
-
uskerine
hi, I would like to test suspend/resume in my desktop (so we save some energy without having to power off)
-
uskerine
what shall I do?
-
uskerine
which commands suspend? then is it just pressing a key?
-
yuripv
zzz
-
rwp
rtyler, I ran this on a VM not bare metal:
bsd.to/SRUe/raw
-
VimDiesel
Title: SRUe
-
rwp
uskerine, In case yuripv's response was perhaps taken to be a comment about sleeping, please look at "man zzz".
-
rtyler
rwp: your numbers seem to indicate that these disks are just garbage
-
rtyler
aside from throwing them into the ocean and replacing them, I'm not sure what can be done. I might take the machine down and poke to see if there's any flags in the BIOS to fiddle with
-
rwp
I haven't run diskinfo before. It's entirely safe on a live file system that I don't want to corrupt?
-
rtyler
heh, I'm running it with reckless abandon on my live system XD
-
rwp
Also, did you paste in your "smartctl -i /dev/ada0" information?
-
rtyler
yeah, I pasted that before, lemme repaste it because who knows where it is
-
rtyler
-
VimDiesel
Title: Xdb3
-
rwp
Another thing I spot there is this "SATA Version is: SATA 3.1, 6.0 Gb/s (current: 3.0 Gb/s)"
-
rwp
Not a deal breaker but that is a 2x difference in speed due to the SATA port.
-
rwp
The real killer is "Model Family: Seagate BarraCuda 3.5 (SMR)" SMR! OUCH!!!
-
meena
anyone here using chrony on your FreeBSD servers / vms?
-
rwp
rtyler, Go read this
servethehome.com/wd-red-smr-vs-cmr-tested-avoid-red-smr jump to page 2 scroll to the RAIDZ Resilver Time graphs. Have a good cry!
-
VimDiesel
Title: WD Red SMR vs CMR Tested Avoid Red SMR - ServeTheHome
-
CrtxReavr
There a way with portsnap to tell it to ignore certain ports collections?
-
rwp
meena, I am using ntpd on mine.
-
meena
rwp: as in the default one?
-
CrtxReavr
yeah, I don't know why anyone would run chrony on FreeBSD.
-
rwp
meena, Yes. The one in core.
-
meena
-
VimDiesel
Title: ntpd(8)
-
rtyler
rwp: SMR is trash, got it :D. Briefly reviewing what SMR is and how it works, I suppose it's not surprising that as data has increased on this pool that the performance pain has become much more noticable. I'm not sure if I've got anywhere to go other than replacing it all :/
-
meena
tbh, the main reason why i would consider using something other than ntpd is why I would consider using something other than sendmail
-
rwp
meena, I read that as more of a social comment than as a real bug. It might be heavy for a 256MB Raspberry Pi but for any machine with RAM measured in GB it should be more than fine.
-
meena
rwp: many VMs have RAM measured in MB not in GB, because €€€
-
rwp
Oh, on the Sendmail side I am a complete heretic and run Postfix without any hesitation.
-
meena
i just disable it, and on my pkgbase systems, I uninstall it.
-
meena
i am considering to make a cloud-init module to do that for me…
-
rwp
rtyler, My interpretation of SMR is that if I were archive.org (no connection) then I would be thinking it would be worthwhile to make SMR work. Write once only ever. Read many times. And AFAICT reading doesn't have the penalty. The penalty is all in the writing.
-
meena
CrtxReavr: re portsnap: is that thing still alive?
-
rtyler
hahaha, the resilvering that I started this morning of one of these devices must have been stopped by the system bercause the disk is such a piece of garbage
-
rtyler
yeah, /var/log/messages confirms that it looks like the drive was taking so long to respond that the kernel removed the device
-
rtyler
rwp: wanna buy some 2TB drives? mildly used :P
-
rwp
meena, I looked at the memory use of ntpd on my amd64 system and found this
bsd.to/RSA0/raw
-
VimDiesel
Title: RSA0
-
rwp
rtyler, Yes on the kernel timeouts problem. That's a well known problem for SMR drives. And also for the old WDC Green drives too. Because they might take so long to respond.
-
rwp
rtyler, If you haven't read about TLER and ERC then please read about it here:
raid.wiki.kernel.org/index.php/Timeout_Mismatch
-
VimDiesel
Title: Timeout Mismatch - Linux Raid Wiki
-
rtyler
I just looked at the receipt for the drives from January 2021, they were not listed as SMR drives. So that's fun
-
dch
having realised how much all my disks and servers cost, I'm probably going to consolidate everything down to a single box with mirrored 20TiB disks
-
rwp
Curious... How many drives are we talking about?
-
rwp
I just want to know how much I should cry along with you about it. :-(
-
dch
anybody have strong opinions to share on that? ( just 2 disks)
-
rtyler
rwp: 4 drives
-
dch
-
VimDiesel
Title: Hardware Recommendations Guide | TrueNAS Community
-
rwp
Oh that's not so bad then. You get to keep paying your house mortgage okay then. And honestly those drives can still be used for write-once read-many archive storage needs. Just not in a conventional RAID.
-
rtyler
I have some un-recommendations on some drives XD
-
rwp
dch, I have been making too much noise here but two spindles will be limited to 6 Gb/s transfer rates for 20T drives.
-
rwp
For what sounds like a personal archive with only you accessing the data I think that should be just fine.
-
dch
rwp: this is the classic photos / music backup for a family so that is fine
-
rwp
But let's say you had an engineering lab with many people hitting the storage array then that 6 Gb/s becomes a very small straw.
-
dch
and when the power crisis resolves itself I will sneak in another 2 and move the mirror to a striped setup like i currently have 2 deployments thereof
-
dch
i really want fibre to the cellar and then I can use iscsi from my desktop
-
rwp
Seems reasonable. That's just my opinion and interpretation.
-
rwp
As drives became larger some people ran into performance problems. Making a backup for example can change from a short time to a multi-day backup run!
-
rwp
This year the city fiber project finally became available to my house and I admit to being completely spoiled by it now.
-
rwp
From my house to a friend's on the other side of the continental divide I am getting 890 Mbps data transfer rates. Wow.
-
meena
rwp:
bsd.to/NZXf/raw here's the openbsd daemon, not sure how that fares, cuz i'm pretty blind to numbers…
-
VimDiesel
Title: NZXf
-
rtyler
rwp: here's what I'm considering, curious to your thoughts: I can either buy 4 2TB drives, and replace them piecemeal in this array (RAIDZ2) or I can buy a couple drives (maybe 3x3TB), zfs send some snapshots into the cloud, re-image the machine, and then zfs recv them back
-
rwp
meena, I am confused by VSZ the virtual size being smaller than the RSS resident set size.
-
nacelle
rwp: can confirm, I did a backup recently and it took over 24 hours just rsyncing the raid share to an archive disk (CMR even)
-
meena
rwp: according to the man page, they are in kilobytes, btw
-
meena
on both, FreeBSD and OpenBSD
-
rwp
Right. It makes sense though that a *HUGE* 4TB total array some time ago might have been 16x 512G drives. 16 interfaces. Now it would be only 2.
-
rwp
meena, Oh! I thought they were still in integer pages. My bad. Relatively though the numbers should still compare.
-
meena
rwp: yeah, you're just off by 4, not any orders of magnitude ;)
-
rwp
But in that case ntpd on my FreeBSD system is only using 6MB of space not 24MB. Even better!
-
» meena still likes smol numbers tho
-
rwp
That OpenBSD ntpd seems to be running 3 processes. In which case you would need to add up the totals of all three. 2924+2772+1704=7400 which appears larger than the 5892 that I see. Hmm...
-
meena
rwp: yeah, 7 instead of 6, again, we're in the same order of magnitude tho ;)
-
» meena has learned one thing about math as "engineer" and that is: you need to get the order of magnitude right, everything else, you let computers do
-
nacelle
** except when arguing with other engineers, then you have to get everything right
-
rwp
I am thinking that is listing unique memory pages too. I don't think it is double counting shared pages.
-
rwp
I wouldn't be worried about 5892 versus 7400 either but I was teasing meena a little bit because of the comments about small being important. But I think it is noise difference too.
-
» rwp must go afk to run errands...
-
meena
rwp: when i say small numbers i mean: 5 or 7 vs 5892 or 7400
-
meena
rwp: my head can't do numbers very well, and the longer they get the worst i get at them
-
meandrain
Any idea how to fix this (trying to compile the kernel, FreeBSD 13.1, i386):
pastebin.mozilla.org/LGDaFdDy
-
VimDiesel
Title: Mozilla Community Pastebin/LGDaFdDy (JavaScript)
-
meena
meandrain: on what platform? with what config?
-
meandrain
i385
-
meandrain
*i386
-
meena
meandrain: which OS? version? etc…
-
meandrain
-
VimDiesel
Title: Mozilla Community Pastebin/UB7RyLAj (JavaScript)
-
meandrain
FreeBSD 13.1, i386
-
meandrain
the config file is the one for AMD GEODE CPU, and it taken from nanobsd ( /usr/src/tools/tools/nanobsd/pcengines/ALIX_DSK ) and I've added "tuntap" and "wlan_acl" devices
-
meena
meandrain: and that error then is telling you these devices need some other options enabled that nanobsd doesn't have
-
meandrain
-
VimDiesel
Title: 241047 – iflib: fail to compile kernel on FreeBSD 12.1-BETA2: Fatal error: ifdi_if.h file not found.
-
meandrain
meena: thank you, make sense
-
meena
meandrain: ifdi_if.h is part of iflib
-
meandrain
yes, I'll add that and try, thank you again!
-
meena
meandrain: so you need, according to iflib(4), device pci, device iflib, and i think that's it?
-
meandrain
yes, it worked! >>> Kernel(s) BRIDGE built in 112 seconds, ncpu: 6, make -j6
-
meena
meandrain: good luck booting it :P
-
meandrain
;)
-
» meena → bed
-
rwp
Before I get on my bike and ride I wanted to say that meena should be feeling very good about calling the problem of stealth SMR drives earlier.
-
rwp
That Seagate appears as a good example of a stealth SMR drive!
-
rwp
rtyler, A friend of mine just bought a box of 22 512GB SSDs for $200 off eBay.
-
rwp
The catch? They are all drive locked. That was known at time of sale. But if he can unlock them he will have 11T of SSD for US$200!
-
rwp
I tease him that he now has a gambling problem. But he thinks he can unlock them, just hasn't been successful yet.
-
Oleg
why doesn't the sockstat command show which connection is incoming and which connection is outgoing?
-
Oleg
if I type "sockstat -c", I can't see which connections originated locally and which connections originated remotely.
-
Oleg
why not?
-
rtyler
rwp: xD
-
Oleg
which command should I type to find out which connection originated locally and which connection originated remotely?
-
Oleg
Okay, I'll join some other irc channel to find out the answer to this question.
-
rtprio
Oleg: once a socket is established that information isn't available
-
rtprio
as i recall
-
Oleg
-
VimDiesel
Title: How to tell which established connection is incoming or outgoing in netstat - Quora