|
Sparse file?
|
# ? Jan 14, 2019 23:10 |
|
|
# ? Apr 26, 2024 14:05 |
|
That's it, thanks! # du core 33892 core # fallocate -d core # du core 347 core #
|
# ? Jan 14, 2019 23:11 |
|
Slanderer posted:I'm seeing something weird with the du utility (from BusyBox v1.23.2). I noticed that the size of an old core dump file changed after copying it from one directory to another, according to du. ls still returns the correct size. Sparse file, probably. Try comparing `du --apparent-size` (the default is to compare size on disk), and/or copying with `cp --sparse=always`.
|
# ? Jan 15, 2019 00:20 |
|
ToxicFrog posted:Sparse file, probably. Try comparing `du --apparent-size` (the default is to compare size on disk), and/or copying with `cp --sparse=always`. Yup, it was sparse. Unfortunately I don't have those options with the busybox utils on this platform, but my (dumb) solution for the future will be to use `ls -sl` and see if the allocation size * 1024 is >= the file size. If there's an actual way to do this with busybox that'd be cool, but it's not a big deal.
|
# ? Jan 15, 2019 00:25 |
|
Different filesystems with different block sizes? Edit: gently caress. I missed a whole page. Leaving this here for people to laugh at me.
|
# ? Jan 15, 2019 02:06 |
|
Deduplication and compression are the other things that can give similar results - du returning on-disk sizes keeps tripping me up on the ZFS file servers at work. It's admittedly right there in the name of the utility, but still.
|
# ? Jan 15, 2019 02:24 |
|
quote:# time sleep 1 What can cause a system to think time is actually much, much slower than it really is? Around on the order of 1/130th real time. Also for commands to take forever in real time to execute, but if you time them, linux appears to think it was tenths of seconds. CPU load appears to be basically nothing Methanar fucked around with this message at 03:45 on Jan 15, 2019 |
# ? Jan 15, 2019 03:43 |
|
Slanderer posted:I'm seeing something weird with the du utility (from BusyBox v1.23.2). I noticed that the size of an old core dump file changed after copying it from one directory to another, according to du. ls still returns the correct size. do you have some kind of compression enabled in the location you copied from? Edit: G-Prime posted:Different filesystems with different block sizes?
|
# ? Jan 15, 2019 03:50 |
|
Methanar posted:What can cause a system to think time is actually much, much slower than it really is? Around on the order of 1/130th real time. Looks like you're interrupting that sleep before it finishes. What happens when you don't hit Ctrl+C? Does it run for multiple seconds?
|
# ? Jan 15, 2019 04:37 |
|
Mr. Fix It posted:Looks like you're interrupting that sleep before it finishes. What happens when you don't hit Ctrl+C? Does it run for multiple seconds? It will run for approximately 130 seconds while reporting that it only took 1 second. I should mention this is a bare metal machine with an NFS root for extra information.
|
# ? Jan 15, 2019 04:50 |
|
Methanar posted:It will run for approximately 130 seconds while reporting that it only took 1 second. Hmm, never ran into something like that. How are the system clock and hardware clock behaving?
|
# ? Jan 15, 2019 05:01 |
|
It could be that the program itself is genuinely taking 1 second to run, but forever for the system to load the binary or its shared-object dependencies. Try running an strace on it and see what that does.
|
# ? Jan 15, 2019 05:04 |
|
minato posted:It could be that the program itself is genuinely taking 1 second to run, but forever for the system to load the binary or its shared-object dependencies. Try running an strace on it and see what that does. Doesn't seem like it. It hangs right on that nanosleep code:
code:
Methanar fucked around with this message at 05:18 on Jan 15, 2019 |
# ? Jan 15, 2019 05:10 |
|
That's a toughie. 'time' gets its data from the kernel, which would imply that the kernel is locking up somewhere. For the timers to pause, it'd probably mean an interrupt handler is hanging somewhere, which suggests a buggy device driver or a mis-behaving device.
|
# ? Jan 15, 2019 09:12 |
|
Alternatively, you could try a different clocksource (which is what generates the timer interrupts). I think the RHEL 7 guide here should work - just try all the available ones and see if it changes anything.
|
# ? Jan 15, 2019 17:05 |
|
Funnily enough I just got done troubleshooting clocksource issues a couple of days ago, had an HP server where hpet was causing the kernel to crash under high CPU/IO load. Passed hpet=disable via grub and problem solved.
|
# ? Jan 16, 2019 13:42 |
|
Can't seem to find any static builds for MPlayer for RHEL 6 and RHEL 7. Is there a better tool to play back rando videos?
|
# ? Feb 4, 2019 22:28 |
|
VLC?
|
# ? Feb 4, 2019 22:33 |
|
mpv
|
# ? Feb 4, 2019 23:32 |
|
Shaocaholica posted:Can't seem to find any static builds for MPlayer for RHEL 6 and RHEL 7. Is there a better tool to play back rando videos? My solution to this is to run Fedora in a chroot (on CentOS 7, not tried with 6) so I can install all the stuff like that which you can't otherwise get (but have to create a new chroot every year due to the Fedora lifecycle). It's like a "this is why people don't use Linux on the desktop" project though. If you want I can write up some instructions. Basically it involves running rpm and yum with options to make them chroot and install the Fedora packages you need for a base install (straightforward, the challenge is just in knowing that you can do this), setting up schroot so you can get into the chroot to do other things (not too hard), configuring schroot to set up some additional things so that PulseAudio works inside the chroot (somewhat obscure), and at least in my case getting the right nvidia libraries in the chroot. On the plus side, just about everything I've ever wanted to do in the chroot has worked, other than installing Steam. With various Fedora versions, I've used this to run kdenlive and other video-related tools, various games, Amarok (also available on CentOS, but not with MP3 support), and other things I've forgotten. I should probably start using Docker though
|
# ? Feb 5, 2019 08:33 |
|
Supposedly it’s in EPEL?
|
# ? Feb 5, 2019 09:06 |
|
Shaocaholica posted:Can't seem to find any static builds for MPlayer for RHEL 6 and RHEL 7. Is there a better tool to play back rando videos? I think there might be something in the Red Hat Software Collections repo. I've been doing a LOT of backend editing to TheForeman/Red Hat Satellite 6.4, and I've basically had to keep that drat repo enabled. I've noticed it seems to be a RedHat groomed EPEL, and I imagine there's probably a whole lot more in here than just every-goddamn-single-version-of-python-to-ever-exist.
|
# ? Feb 5, 2019 12:37 |
|
Don't use rhel/centos on the desktop. Use fedora or ubuntu.
|
# ? Feb 5, 2019 15:36 |
|
kujeger posted:Don't use rhel/centos on the desktop. Use fedora or ubuntu. Sure, if your environment allows you that degree of freedom. Government environments require that you use software which is STIG approved to support FIPS 140-2. Basically, only RHEL and MacOS fit that requirement If you can't use EPEL at all, you might have luck using rhscl. If you CAN use Fedora, Debian, FreeBSD, Gonkulator, TempleOS, whatever you so wish, it's probably better to use that than even try using Red Hat's Workstation or Developer builds.
|
# ? Feb 5, 2019 16:18 |
|
|
# ? Feb 5, 2019 16:41 |
|
Definitely mpv.
|
# ? Feb 6, 2019 03:00 |
|
nem posted:Supposedly it’s in EPEL? Actually the article says it's in the repo "nux-dextop" (which I've never heard of before). e: While trying to install mpv, I noticed that mplayer itself is available from the rpmfusion-free-updates repo. I can't remember why I don't use that - I think it might be because not all of the codec packages are available, or it's too old. I guess I should try it again and report back. Buttcoin purse fucked around with this message at 03:18 on Feb 6, 2019 |
# ? Feb 6, 2019 03:14 |
|
Install flatpak and then install install mpv or whatever from flathub?
|
# ? Feb 6, 2019 03:40 |
|
Buttcoin purse posted:My solution to this is to run Fedora in a chroot (on CentOS 7, not tried with 6) so I can install all the stuff like that which you can't otherwise get (but have to create a new chroot every year due to the Fedora lifecycle). What the gently caress are you doing?
|
# ? Feb 8, 2019 01:11 |
|
An Enormous Boner posted:What the gently caress are you doing? Demonstrating the kind of poo poo people do that makes them think that linux isn't ready for the desktop
|
# ? Feb 8, 2019 05:57 |
|
Yeah, I know I'm not using a desktop distribution, and it was a dumb way to say that it was a lot of screwing around.
|
# ? Feb 8, 2019 09:32 |
|
Buttcoin purse posted:Yeah, I know I'm not using a desktop distribution, and it was a dumb way to say that it was a lot of screwing around. At least your av agrees
|
# ? Feb 8, 2019 10:43 |
|
Buttcoin purse posted:Actually the article says it's in the repo "nux-dextop" (which I've never heard of before). Nux is a guy who's done a lot of stuff for CentOS with extra packages. The repo or some version of it has been around for years. It's definitely unofficial, but it's one of the good ones. I've used it in production for packages where someone's been desperate for a GUI on a CentOS box; I can't remember it ever causing any problems.
|
# ? Feb 8, 2019 17:23 |
|
Major Ryan posted:Nux is a guy who's done a lot of stuff for CentOS with extra packages. The repo or some version of it has been around for years. It's definitely unofficial, but it's one of the good ones. Thanks, nice to know. Looking forward to seeing whether any of these repos include KDE for RHEL 8 when the time comes
|
# ? Feb 9, 2019 06:06 |
|
Maybe someone can point me in the right direction before I take an axe to this server: This is bizarre, but a few days ago our fibre went out (now repaired, cable that terminated at roadside had broken). They obviously can't be related events but since then, ssh and samba performance on my local file server has taken a massive nose dive. Large delays in ssh feedback, samba directory listing, opening large files has huge delays to stream content etc. Here is where I'm at:
I don't really know where to look or troubleshoot next. I'm tempted to just reinstall the OS to attempt to confirm if it is hardware related at this point.
|
# ? Feb 19, 2019 03:50 |
|
can you boot it into another OS or something before nuking the install?
|
# ? Feb 19, 2019 04:40 |
|
I don't have a spare drive lying around to test out an installed os, but I could probably do a test with a live distro from USB stick or something right? I haven't really used one in ages, do they mount a tempfs or something to be able to install new packages? I might do that if that's a thing.
|
# ? Feb 19, 2019 04:49 |
|
Yeah, you can install packages.
|
# ? Feb 19, 2019 04:50 |
|
Xik posted:Maybe someone can point me in the right direction before I take an axe to this server: Can you tcpdump the machine? Maybe it is doing something network related which went TITSUP when your fibre went down.
|
# ? Feb 19, 2019 11:02 |
|
|
# ? Apr 26, 2024 14:05 |
|
Is there a DBAN alternative that can boot from USB, and preferably does SSDs? I’ve tried everything under the sun to get it to boot from USB with no luck. I could probably do it manually, but I’ve got about 20 drives to wipe and can only do 4 disks at a time. A plug in and wait tool would save me so much time. I’d even be happy to shell out a few quid if needs be.
|
# ? Feb 24, 2019 13:57 |