Jump to content

SpeedyVV

Members
  • Posts

    41
  • Joined

  • Last visited

Posts posted by SpeedyVV

  1. Background:

    1. I have me cache drive as RAID 0 for max speed.
    2. I want to make sure the content is being copied onto the array as quickly as possible as a backup, in case the one of the cache drive fails.

     

    Any ideas on how I could achieve this? Is there already a plugin that could help?

     

    Basically make sure that any new or updated files get copied over every 5 seconds (or X time).

     

    If there is a different approach to my setup that gets the same result, I'm all ears.

  2. On 3/9/2020 at 9:16 PM, testdasi said:

    ...

     

    What I have been doing is to have custom smb config that targets /mnt/cache directly (instead of enabling disk shares) to get max performance.

    Hey, any chance you can do this "custom smb config that targets /mnt/cache directly" thingy?

    Thanks

  3. On 3/14/2020 at 2:17 PM, hugenbdd said:

    That is not working for me..

    Your access is 7 days before your creation/modified entries....

    Finally figured this one out.

    Because I modified the file after reading it. So that makes sense.

     

    The problem is because it has the name "creation/modified" it sounds counter intuitive.

     

     

  4. 24 minutes ago, Squid said:

    The shares are (and the disks) are not mounted to support atime

    
    Feb 13 15:58:26 unraidA emhttpd: shcmd (139): /usr/local/sbin/shfs /mnt/user -disks 4194303 1024 -o noatime,allow_other -o remember=0  |& logger

     

    I tried "stat" and it works. Could that be used?

     

    Quote

    root@Rui-unRAID:/mnt/user/appdata/dupeGuru/log/nginx# stat -c %x access.log
    2020-03-06 17:05:41.272210428 +0000

    Quote

    root@Rui-unRAID:/mnt/user/appdata/dupeGuru/log/nginx# stat access.log
      File: access.log
      Size: 12225           Blocks: 24         IO Block: 4096   regular file
    Device: 29h/41d Inode: 10977524091716103  Links: 1
    Access: (0644/-rw-r--r--)  Uid: (   99/  nobody)   Gid: (  100/   users)
    Access: 2020-03-06 17:05:41.272210428 +0000
    Modify: 2020-03-13 20:04:21.812377107 +0000
    Change: 2020-03-13 20:04:21.812377107 +0000
     Birth: -

     

  5. @hugenbdd, great running start! Installed.

     

    I would like to ask for an additional feature/field:

        - Move files off cache based on age of the last time the file was accessed.

     

    My use case is based on the fact that I have a lot of old files that are commonly used.

     

    Thanks for your consideration.

  6. Please help! I'm close but yet so far ;-)

     

    Installed as per video: The Newest, Easiest and Best way to install OSX Sierra on KVM with unRAID

     

    All working, but I installed Mavericks instead of Sierra, as theSoftware my gf uses (Vectorworks 2014) does not work on Sierra.

     

    Then added a NVidia GTX 960 4Gb using this Video: Advanced OSX VM techniques for KVM in unRAID. Get everything working!

     

    Here I am not sure what to do 6:55 in the video talks about how in Sierra we no longer use Boot>nvidia_drv=1, but instead use 

    check both System Parameters>Inject System ID and NVidiaWeb. 

    I tried both but neither solves the problems I have:

         1 When I first tried to install the WebDrivers,  would not install with Error "Computer not supported Error". Solved using this help.

         2 After solving 1, was able to install/reboot, and boot process shows on the Monitor connected to the GTX 960. But after the initial grey Apple boot screen with the little spinning "clock", it just resets into this same endless loop.

     

    Did try to change cpu to core2duo instead on penryn, but did not help.

     

    Hope this XML might include some hint:

     

    Quote

    <domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
      <name>Mavericks</name>
      <uuid>644c68ed-3eca-b63a-c445-bea296aadcb5</uuid>
      <metadata>
        <vmtemplate xmlns="unraid" name="Linux" icon="OSX_10.9.png" os="linux"/>
      </metadata>
      <memory unit='KiB'>4194304</memory>
      <currentMemory unit='KiB'>4194304</currentMemory>
      <memoryBacking>
        <nosharepages/>
      </memoryBacking>
      <vcpu placement='static'>8</vcpu>
      <cputune>
        <vcpupin vcpu='0' cpuset='4'/>
        <vcpupin vcpu='1' cpuset='5'/>
        <vcpupin vcpu='2' cpuset='6'/>
        <vcpupin vcpu='3' cpuset='7'/>
        <vcpupin vcpu='4' cpuset='36'/>
        <vcpupin vcpu='5' cpuset='37'/>
        <vcpupin vcpu='6' cpuset='38'/>
        <vcpupin vcpu='7' cpuset='39'/>
      </cputune>
      <os>
        <type arch='x86_64' machine='pc-q35-2.5'>hvm</type>
        <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi.fd</loader>
        <nvram>/etc/libvirt/qemu/nvram/644c68ed-3eca-b63a-c445-bea296aadcb5_VARS-pure-efi.fd</nvram>
      </os>
      <features>
        <acpi/>
        <apic/>
      </features>
      <cpu mode='host-passthrough'>
        <topology sockets='1' cores='4' threads='2'/>
      </cpu>
      <clock offset='utc'>
        <timer name='rtc' tickpolicy='catchup'/>
        <timer name='pit' tickpolicy='delay'/>
        <timer name='hpet' present='no'/>
      </clock>
      <on_poweroff>destroy</on_poweroff>
      <on_reboot>restart</on_reboot>
      <on_crash>restart</on_crash>
      <devices>
        <emulator>/usr/local/sbin/qemu</emulator>
        <disk type='file' device='disk'>
          <driver name='qemu' type='raw' cache='writeback'/>
          <source file='/mnt/disks/Crucial_525G_SSD2/domains_ssd/Mavericks/mavericks.img'/>
          <target dev='hdc' bus='sata'/>
          <boot order='1'/>
          <address type='drive' controller='0' bus='0' target='0' unit='2'/>
        </disk>
        <controller type='usb' index='0' model='ich9-ehci1'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci1'>
          <master startport='0'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci2'>
          <master startport='2'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
        </controller>
        <controller type='usb' index='0' model='ich9-uhci3'>
          <master startport='4'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
        </controller>
        <controller type='sata' index='0'>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/>
        </controller>
        <controller type='pci' index='0' model='pcie-root'/>
        <controller type='pci' index='1' model='dmi-to-pci-bridge'>
          <model name='i82801b11-bridge'/>
          <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/>
        </controller>
        <controller type='pci' index='2' model='pci-bridge'>
          <model name='pci-bridge'/>
          <target chassisNr='2'/>
          <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/>
        </controller>
        <controller type='virtio-serial' index='0'>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0'/>
        </controller>
        <interface type='bridge'>
          <mac address='52:54:00:51:66:48'/>
          <source bridge='br0'/>
          <model type='e1000-82545em'/>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/>
        </interface>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x81' slot='0x00' function='0x0'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/>
        </hostdev>
        <hostdev mode='subsystem' type='pci' managed='yes'>
          <driver name='vfio'/>
          <source>
            <address domain='0x0000' bus='0x81' slot='0x00' function='0x1'/>
          </source>
          <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/>
        </hostdev>
        <memballoon model='none'/>
      </devices>
      <seclabel type='none' model='none'/>
      <qemu:commandline>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-kbd'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='usb-mouse'/>
        <qemu:arg value='-device'/>
        <qemu:arg value='isa-applesmc,osk=blahblahblablahblahblaAppleComputerInc'/>
        <qemu:arg value='-smbios'/>
        <qemu:arg value='type=2'/>
        <qemu:arg value='-cpu'/>
        <qemu:arg value='Penryn,vendor=GenuineIntel'/>
      </qemu:commandline>
    </domain>

     

    EDIT: I went ahead and tried installing Sierra, and got everything working including GTX 960 and a PCIe USB controller.

     

    Unfortunately Vectorworks 2014 is a not working at all... so still trying Mavericks with no luck so far. :-(

  7. Might be simpler for you to just use the unBalance plugin which is based on this.

     

    Great suggestion.

     

    Got it installed in a flash.

     

    Unfortunately, it does not seem to be able to move a folder from Unassigned Devices :-( And that is what I am trying to do.

     

    Currently trying to move my old Windows (NTFS) data onto the array. I figured it would be quicker that doing a move from a Windows VM.

×
×
  • Create New...