/srv/irclogs.ubuntu.com/2019/07/14/#ubuntu-server.txt

peepsalotanyone have an idea how to deal with unresponsive byobu on a server?  it seems to have frozen and unfortunately I have run byobu-enable so it always loads into byobu session(and hangs) when I attempt to logon.  is there anything i can do without rebooting?02:08
peepsalotgah, nevermind it became responsive again, after 10minuts or something.  really weird02:10
rapeepsalot, you could get the pid in top or htop and kill the process, then restart. i use tmux02:15
peepsalotthe thing was I couldn't get into any shell at the time when it was frozen02:16
peepsalotalso afaiui byobu is just a frontend for tmux anyways02:17
ractrl-f6 should force kill a window02:23
JanCbyobu is a configuration for tmux or screen02:31
JanCcalling it a frontend is technically wrong  :)02:32
JanCand my guess would be that something was delaying login or something like that?02:33
JanCor shell startup?02:33
JanCor the system was overloaded02:34
JanCpeepsalot: ^^^02:35
peepsalotwell, i do keep it busy with work: 49.94 load on 48 threaded cpu(s) :)    but i've never noticed any responsiveness issues like that before02:38
peepsalotit happened while I was in the middle of doing a search of scrollback in a tmux window02:39
peepsalotwhich only keeps 100k lines in the worst case02:40
JanCI/O overload can do that, I guess, or when you get into a swap storm02:41
peepsalot0 swap usage though, i got ram to spare02:41
peepsalotonly about 33% ram used02:42
JanCif you were logged in remotely, it could also have been a network issue02:42
rapeepsalot, you might try byobu-disable and start it from the terminal to see if the hang reproduces that way02:44
peepsalotit was over ssh (on my LAN), but even when I went to the physical computer to try logging into virtual console, it was hanging upon login (because that would connect to the same byobu session since that's what "byobu-enable" configures it to do)02:46
JanCit might be a login/authentication/PAM issue02:47
JanCI've seen that happen on a heavy I/O load too02:48
peepsalotwell, anyways its better now, not sure I could reproduce it if I tried (i've already been doing more scrollback finds and nothing like that is happening now), just an odd hiccup that hopefully won't occur again soon02:51
rapeepsalot, re my first reply about the pid, you can alt-f2, alt-f3 to open a new tty and kill the process03:05
peepsalotra, i couldn't login from those at the time... because byobu/tmux was stuck churning on something, and login goes directly to byobu session03:09
raso try byobu-disable and start it from the terminal to see if that changes anything03:12
rapeepsalot, but you did try alt-f2?03:14
JanClogin would have to happen before byobu starts on a new virtual console03:15
kinghatis my zfs mirror pool mounting automatically to the server?04:34
kinghatwhat i mean is i can see its mount point and its working fine but i dont see it setup in my fstab.04:36
kinghatand i just added another drive to the system and formatted it to ext4 and it shows up in the disk list, im guessing i need to manually give it a mount point?04:38
blackflowkinghat: ZFS doesn't use fstab unless you explicitly set up mountpoints in legacy mode. zfs-mount.service mounts datasets that aren't in legacy mode.06:07
kinghatso I would just need to make it auto mount manually?15:25
tomreynif you're alking to someone specifically, be sure to mention their nickname.15:30
tomreynotherwise, provide context.15:30
kinghattomreyn: nobody in particular and its just an added drive to my server. i had forgotten how my pool was mounted since it was set and forget.15:41
kinghatsince i dont think i will be adding the drive to the pool and just using it for backup i need to figure out how to get it to auto mount like a regular drive15:42
kinghatunless zfs also does backup stuffs?15:43
blackflowkinghat: you're asking confusing questions.15:58
kinghatprobably15:59
blackflowZFS datasets are mounted either by zfs-mount.service -- which looks at datasets mountpoint attribute -- or by legacy mounts via fstab (for which mountpoint=legacy at the dataset attribute)15:59
kinghatya im guessing mines via zfs-mount.service.16:00
blackflowso if you want a dataset mounted, you should specify its mountpoint= attribute. if it's "legacy", then you need to use fstab.16:00
kinghati have a zfs mirror pool that is mounted and working fine. i added another drive, formatted it and noticed it doesnt automatically have a mount point.16:01
blackflowkinghat: "formatted it" ?16:01
kinghati think i want to use the drive as a backup drive that gets backed up to from multiple locations everyday.16:01
blackflowyou're not answering my questions. how did you "format" the drive (the terminology doesn't exist for ZFS)16:02
kinghatblackflow: i did mkfs.ext4 /dev/sdc16:02
blackflowand that has to do with your ZFS questions... what? lol16:02
kinghatit was previously formatted with ntfs16:02
blackflowso if you want an ext4 filesystem mounted at boot, you need to add it to fstab.16:04
kinghatit doesnt. i was confused as to why/how the zfs pool/drives were mounted as i couldnt remember setting them up. i just addeded a drive, formatted it, and noticed its not auto mounted anywhere on the system.16:04
kinghatyes16:04
blackflowfstab or write a proper systemd .mount unit  (fstab is converted to them at run time anyway)16:04
kinghatfigured thats what i needed to do something like that.16:04
blackflowZFS is a completely different beast from traditional filesystems. It's a whole fs+volumes+raid+snapshots+compression+encryption+.... kind of kitchen sink solution, with a set of services, its own specific concepts and idisyncrasies16:06
blackflowext4 is just a passive filesystem, nothing else, no services, no volume management, no raid, but latest versions methinks can do encryption.16:07
kinghatblackflow: if i didnt want to add the new drive as a 3rd mirror and wanted to use it as a backup drive, does zfs have something for that as well or just use something like rsync?16:30
blackflowkinghat: you can send ZFS snapshots at block-level to another drive, or over the network to <wherever>16:34
kinghatwhat if im sending other data from another drive to said backup drive?16:34
kinghatas well*16:35
blackflowkinghat: but consider what you're asking. if you're gonna add a third drive to the same chassis, that's hardly a backup. you can add a hot spare to your existing pool, or simply increase redundancy by creating a 3-way mirror16:35
blackflowyou can rsync files from other filsystems, and use zfs snapshots send|recv for ZFS filesystems16:35
blackflowsnapshots are moved between datasets, so you can have   rpool/backups-for-zfs ,   rpool/backups-for-others     and then you send|recv to backups-for-zfs, and use rsync under backups-for-others16:36
RoyKkinghat: something like this? https://xkcd.com/1718/16:37
kinghatlel16:46
=== Greyztar- is now known as Greyztar
=== Wryhder is now known as Lucas_Gray

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!