coblck

Members
  • Posts

    255
  • Joined

  • Last visited

Posts posted by coblck

  1. Hi can anyone help I currently have motherboard nic 1gb but have installed a new 2.5gb pci card. Mb nic is eth0 and card is eth1 in the network settings. Is it as simple as changing them in interface rules so that 2.5card is then eth0 and vice versa? 

     

    Will the card adopt the previous static ip address previously set with Mb nic? 

     

    Does both have to be on a different ip range before I swap? 

     

     

  2. Hi quick question i wrote a script to enable me to start backing up my most valuable data but ran into a few problems, 

     

    #!/bin/sh

    rsync -av --delete /mnt/user/Pictures /mnt/disks/Backups_Ext

     

    Backup when well but when finished has used 75% of my memory and it pegged my cpu at 100% for about 3mins and when i tried to start my VM  it wouldnt as not enough memory , also made my system very unstable to the point unusable so had reboot. Thankfully everything back to normal but was wondering  if can i manually flush/empty the memory? 

  3. Hi quick question i wrote a script to enable me to start backing up my most valuable data but ran into a few problems, 

     

    #!/bin/sh

    rsync -av --delete /mnt/user/Pictures /mnt/disks/Backups_Ext

     

    Backup when well but when finished has used 75% of my memory and it pegged my cpu at 100% for about 3mins and when i tried to start my VM  it wouldnt as not enough memory , also made my system very unstable to the point unusable so had reboot. Thankfully everything back to normal but was wondering  if can i manually flush/empty the memory? 

  4. Hi can anyone tell me why my script wont work since update to 6.9, the script spins my drives up during busy time at time 

     

    #!/bin/bash
    disks=$(ls /dev/md* | sed "sX/dev/mdXX");
    for disknum in $disks; do
        /usr/local/sbin/mdcmd spinup $disknum;
    done
     

    below is error i get 

    Script location: /tmp/user.scripts/tmpScripts/Spin Up Drives/script
    Note that closing this window will abort the execution of this script
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument
    /usr/local/sbin/mdcmd: line 11: echo: write error: Invalid argument

     

    any help would be great 

  5. This command  "touch /boot/config/modprobe.d/amdgpu.conf # create an empty file" 

     

    Im sorry for the hassle just not very clear to me. 

     

    So within  config/modprobe.d folder create a file with "touch /boot/config/modprobe.d/amdgpu.conf # create an empty file" using notepad ??