bland328

Members
  • Posts

    105
  • Joined

  • Last visited

Posts posted by bland328

  1. tl;dr: macOS VM virtual mouse eventually stops responding.

     

    I have macOS Mojave 10.14.1 (I haven't quite figured out how to successfully update to 10.14.2 yet) working very smoothly, thanks to the excellent @SpaceInvaderOne guide at: 

     

    I'm accessing this VM purely through VNC, and I'm passing through no USB ports, nor even any audio or graphics.

     

    My <input>, <graphics> and <video> XML looks like this:

    ...
    <input type='tablet' bus='usb'>
          <address type='usb' bus='0' port='1'/>
        </input>
        <input type='mouse' bus='ps2'/>
        <input type='keyboard' bus='ps2'/>
        <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
          <listen type='address' address='0.0.0.0'/>
        </graphics>
        <video>
          <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/>
        </video>
    ...

    and my usb-mouse and use-kbd XML looks like this:

    ...
    <qemu:commandline>
        <qemu:arg value='-usb'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd,bus=usb-bus.0'/>
        <qemu:arg value='-device'/>
    ...

    After some time, some number of VNC connections/disconnections (I sometimes use RealVNC viewer and sometimes the built-in "noVNC" VNC Remote), or some other factor I haven't considered, the mouse stops responding, but the keyboard continues to work.

     

    At this point, I can't figure out any way to get it going again, except to reboot the VM.

     

    The mouse always works after a fresh boot.

     

    Any thoughts on what I might try, or other information that might be valuable to help others help me? Thanks, all!

  2. Thanks again for a great and thorough response!

     

    I get the APFS bit--I think a lot of people were initially so confused that they managed to confuse other people with their postings on the topic.

     

    Interestingly, you say:

    1 hour ago, John_M said:

    Time Machine over SMB should "just work" with Sierra and High Sierra BUT you must configure a new network destination from scratch using SMB - you can't convert an existing AFP share to use SMB. So if you have an existing AFP Time Machine destination you need to retire it and create a new one using SMB.

    .I'd sure like for that to be true, and perhaps under the right circumstances, it is, but none of my new SMB shares have been recognized by Time Machine, and even when I've used the macOS tmutil command along these lines...

    sudo tmutil setdestination -ap smb://[email protected]/timemachineshare

    ...I've had no luck. If you know of some magic, I'd love to hear it!

     

    have managed to make a sparsebundle locally, using a command like this...

    hdiutil create -size 2000g -fs HFS+j -volname "Time Machine" ComputerName.sparsebundle

    ...then copy that out to an SMB share on my Unraid server, then mount that from the share, then hand the resulting mountpoint (e.g. '/Volumes/Time Machine') over to Time Machine using the tmutil command. That all seems to work, except it looks to me like Time Machine has then been fooled into thinking it is backing up to a local disk.

     

    Which is either a problem, or it isn't. I don't know if Time Machine uses any more fault-tolerant approaches or different read/write patterns when it knows it is dealing with a network destination, so I'm not sure whether to consider this approach a high-quality solution or a dangerous stunt.

     

    As for your question about why I'm trying to get away from AFP--well, at the moment, I'm honestly not really trying to solve a particular problem. So perhaps I shouldn't even be attempting it! But, since I was making some changes and interested in dropping (again, for no particular reason) dependence on that aging protocol, I figured I'd take a shot.

     

    That all said, it looks like Samba version 4.8 has robust Time Machine support, as discussed here:

     

    https://macosx.com/threads/smb-samba-for-time-machine-backup.324958/

     

    and a variety of places online, thanks to the addition of (what I understand to be) new Global configuration options such as:

    fruit:time machine = yes
    fruit:advertise_fullsync = true

    I don't know if there's an easy/safe/friendly way to inject Samba 4.8 into Unraid 6.5.3, but given that Unraid 6.6.0-RC1 already has Samba 4.8.4 in it, I imagine I'll just be patient.

     

    Unless, of course, someone wants to tell me about that easy/safe/friendly way to inject Samba 4.8 into Unraid 6.5.3 😅

  3. First of all, that's a great response, and I really appreciate it--it does give me some more insight.

     

    Secondly, I feel sorta dumb about my question, because I was a little short on sleep and not properly considering (or remembering ;) ) that only my cache drive is BTRFS--my actual data drives are XFS, so I think that makes my question pretty much moot.

     

    That said, I'm currently drowning in hints and tips here and there about getting Time Machine working over SMB between HIgh Sierra and Unraid 6.5.3, so if you have any more to say about "increasing support for SMB," I'd love to hear it.

     

    It looks to me like Samba 8.0 tidies Time Machine issues up quite a lot, but I realize Unraid doesn't yet include it, so I'm open to suggestions.

     

    And perhaps I should be starting a new thread ;)

     

    EDIT: In fact, I have jumped over to join the conversation at:

     

     

  4. Should I disable Copy-on-Write (CoW) for a Time Machine share on a BTRFS disk?

     

    Given that I can't conceive of how or why I'd benefit from any BTRFS-level snapshotting on Time Machine file sets, and given the admittedly little bit I understand about potential CoW performance penalties, I suspect I should disable it.

     

    Or, at the very least, that there's probably not a downside to disabling it.

     

    Can anyone with a deeper-than-mine understanding of Time Machine and/or BTRFS Copy-on-Write provide any insight?

     

    Thanks very much for any help!

  5. I humbly suggest/request an unRAID-friendly Docker based on the Raspberry Pi Server (piserver) at:

     

    https://github.com/raspberrypi/piserver

     

    piserver is an official project of the Raspberrry Pi Foundation (https://www.raspberrypi.org/blog/piserver/), which can run on a Raspberry Pi, but is primarily intended to run on a Debian-based OS on an x86 computer.

     

    Its purpose is pretty slick: To provide easy-to-manage network-based bootability to Raspberry Pis without SD cards (or with minimal, read-only, corruption-proof SD cards for older models).

     

    I took a shot at building a VNC-friendly Docker based on the brilliant https://hub.docker.com/r/jlesage/baseimage-gui/ base images created by @DJoss, but my Docker-fu is still too weak to overcome a couple D-Bus struggles...and maybe I didn't really need to be using the bigger Debian baseimage-gui in the first place!

     

    I painlessly built it and got it running on a local Debian 8 VM, but just can't...quite...make it a good Docker.

     

    Many thanks to anyone who might make this magic happen.

  6. @Squid, this plug-in is fantastic!

     

    I love the ability to execute a script both At Startup of Array, but I now I have a script that modifies /root/.bash_profile, and I really need to execute it at boot time, regardless of whether the array has started yet, and even if the array is configured so as not to automatically start at all.

     

    So, I'm requesting an "At Boot" (or "After Boot") scheduling option, if it is workable and ever fits into what you are working on.

     

    Thanks for your consideration!

  7. On 2/24/2018 at 5:17 PM, unevent said:

    The Seasonic 550W would be my suggestion.  Gold would be a more cost effective solution since your only looking at a few $ electricity cost difference per year and paying more for Titanium.  Newegg has the Focus 550W (Gold) for $54.99 after rebate vs. $71 for the 550W Focus Plus.  Both are excellent choices.

     

    Thanks very much for the advice. Are you saying that 550W sounds like enough for my specific configuration?

  8. Finally, it is time to build a modest new box so I can do some light virtualization with unRAID 6 (but no gaming on this new box)--I'm loathe to admit I'm still running unRAID 5.x, but pleased that it has served me well for so long!

     

    I'm piecing this together:

    • ASUS M5A97 R2.0
    • AMD FX-6300
    • 32GB DDR3 1600 RAM
    • IBM M1015/LSI SAS9220-8i PCIe controller
    • (1) SSD
    • (2) WD Green drives
    • (10) WD Red drives

    The number of drives is unlikely to go beyond 13, since I'm putting this in a Rosewill RSV-L4412 12-bay hotswap case.

     

    Some back-of-envelope calculations (that I'm not particularly qualified to be doing) suggest I might need as much as 250W sustained if everything is running full-out, so my gut is telling me to go with a Seasonic FOCUS FM 450W 80+ Gold (SSR-450FM) or Seasonic FOCUS Plus 550W 80+ Platinum (SSE-550PX).

     

    Or, how about a Corsair TX650M 80+ Gold, which I can get through Newegg for just $65 after rebate right now?

     

    Any thoughts on whether I'm even close to reasonable on my PSU thoughts are greatly appreciated!

  9. It is set to automatically reinstall upon boot in unMENU, and

    openssh-5.1p1-i486-1.tgz.auto_install

    is right where it should be in

    /boot/packages

    .

     

    If I telnet in after boot and manually run

    openssh-5.1p1-i486-1.tgz.auto_install

    , ssh then works.

     

    I assume it is probably this old issue:

     

    http://lime-technology.com/forum/index.php?topic=12706.msg123281#msg123281

     

    but since that post is 2+ years old and I don't see anyone else talking about this, I'm checking in here before altering

    auto_install

    to cure it.

     

    Can anyone please advise?  Thanks very much for the help.

  10. Figured I'd have to reboot the box or restart a service or some such thing, but not needed...WeeboTech's suggestion worked perfectly (under admittedly limited testing) and immediately.  Slick!  Thank you.

     

    Edit: For future visitors, I'll point out that nothing has been renamed--instead a SMB "boot" alias has been created that also points to the boot drive.

  11. It is possible/practical/not too terrible of an idea to rename the "flash" share as "boot" under unRAID 5?

     

    I ask only because when I bounce back and forth between administrative and development tasks via SSH and SMB, I'm forever getting "\flash\" vs. "/boot/" wrong on one side of the fence or the other.

     

    I know better, but apparently my fingers don't ;)

     

    Thanks for any thoughts on this.

     

    B

  12. Shortly after noon local time today, while I was using TeraCopy (high-performance batch copy utility) under Windows 7 to push a large number of large files to my unRAID server, the unRAID server disappeared off the network.

     

    When this happened, I tried hitting both

    http://tower

    and

    http://tower:8080

    from a browser, but no luck.

     

    The LEDs next to the network port on the unRAID box were still active, so I unplugged and replugged the cable, though I wish I wouldn't have done that, since it complicated the system log a bit.

     

    The unRAID box itself was still alive, and I was able to log in through the console and successfully browse

    /mnt/user

    before putting a copy of my system log on the flash drive.

     

    A click of the power button got me a beep, but after five minutes or so, it was still alive.  The

    powerdown

    console command returned immediately and didn't appear to do anything, either.  Eventually, I used the

    poweroff

    command, which appeared to get a lot of things stopped before the box powered itself off.

     

    After rebooting, the unRAID server appeared on the network without anything else being rebooted or power-cycled, and was perfectly happy.

     

    I don't see anything all that interesting in the system log, but I'm no expert yet, either.  I'd appreciate other opinions!

    syslog_2012-06-20.txt

  13. If there is a more formal bugtracker in which I should file this, please let me know.

     

    The defect I've run into is that the unMENU 1.5 interface for setting ssmtp Configuration Variables doesn't support root email addresses with plus signs in them, even if escaped.

     

    I've tried:

     

    [email protected]

     

    and

     

    alert\[email protected]

     

    but in both cases, I end up with:

     

    alert [email protected]

     

    in

    /usr/local/etc/ssmtp/ssmtp.conf

    .

     

    Is there any workaround right now, other than using the go script to copy a corrected

    .conf

    file into place at boot time?

  14. Thanks for the quick response, Joe.  In that folder, I see these smtp-related files:

     

    ...
    -rwxrwxrwx 1 root root     7026 Jun 10 19:35 mail-ssmtp-unmenu-package-3.conf*
    -rwxrwxrwx 1 root root     7045 Jun  7 16:14 mail-ssmtp-unmenu-package-3.conf-2012-06-07-161444.bak*
    -rwxrwxrwx 1 root root     7020 Jun 10 19:10 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191043.bak*
    -rwxrwxrwx 1 root root     7041 Jun 10 19:11 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191105.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:11 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191115.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:12 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191237.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:13 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191306.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:13 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191316.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:13 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191336.bak*
    -rwxrwxrwx 1 root root     7042 Jun 10 19:18 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191832.bak*
    -rwxrwxrwx 1 root root     7041 Jun 10 19:18 mail-ssmtp-unmenu-package-3.conf-2012-06-10-191847.bak*
    -rwxrwxrwx 1 root root     7041 Jun 10 19:34 mail-ssmtp-unmenu-package-3.conf-2012-06-10-193405.bak*
    -rwxrwxrwx 1 root root     7026 Jun 10 19:34 mail-ssmtp-unmenu-package-3.conf-2012-06-10-193439.bak*
    -rwxrwxrwx 1 root root     7041 Jun 10 19:35 mail-ssmtp-unmenu-package-3.conf-2012-06-10-193501.bak*
    -rwxrwxrwx 1 root root     7041 Jun 10 19:35 mail-ssmtp-unmenu-package-3.conf-2012-06-10-193530.bak*
    -rwxrwxrwx 1 root root     7045 Jun  7 16:50 mail-ssmtp-unmenu-package.conf*
    ...
    drwxrwxrwx 3 root root     4096 May  1 21:20 ssmtp/
    -rwxrwxrwx 1 root root    52501 Nov 23  2009 ssmtp_2.64.orig.tar.bz2*
    -rwxrwxrwx 1 root root     2641 Jun 10 19:35 ssmtp_2.64.orig.tar.bz2.manual_install*
    -rwxrwxrwx 1 root root   215040 May  1 21:20 ssmtp_2.64.tar*
    ...

     

    The

    ssmtp

    subfolder contains the ssmtp source code.

     

    I don't know how normal or odd the contents of this folder look, since I've never directly dabbled in this folder before.

     

    Is your position that I should delete the June 7 version

    mail-ssmtp-unmenu-package.conf

    file?

     

    Should those .bak files go, too?

     

    And is there anything else I should tidy up?  Thanks for your help!