DeathStar Darth

Members
  • Posts

    36
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DeathStar Darth's Achievements

Noob

Noob (1/14)

3

Reputation

  1. For anyone like me stumbling across this post when in the same situation, I would advise watching Spaceinvader's How to Safely Shrink an Unraid Array video guide on just this topic - you'll want method 2 to be safe rather than method 1 which has a danger zone period!
  2. If you don't mind using userscripts you can bastardise my script at https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install ncdu at main · techie2000/unraid (github.com) to suit your needs. I have it set to install with the initial array startup.
  3. If you use userscripts, you can bastardise my script https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install atop which installs atop at the first array startup. a similar script is available for powertop in the same project. As is python3, but I only have one piece of software that needs it so can't guarantee that I have not missed any dependencies. iperf3 is a factory install in the newer versions of unraid (the ones since the nerdpack became an issue)
  4. iperf3 is factory installed these days If you don't mind using userscripts, feel free to bastardise my script that I install Powertop with at each initial start of the array: https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install Powertop
  5. If you don't mind using user scripts to install it at array startup time, you can use my quick n dirty script and be using v12.52 (at the time of writing) https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install exiftool iftop, iotop, screen (albeit it an older version for now) and unrar (v6.11) are there as well if required. Feel free to hack it and just install once to extras folder. However, as I review my userscripts from time to time, I'm more likely to check for newer versions and amend the script to download them than I am if blindly having them installed at boot time!
  6. For my personal use I created a userscript that installs unrar fresh on the first array startup. Feel free to bastardise it as much as you like (it's not too pretty, but it does work). https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install unrar
  7. I am VERY inexperienced with the sed command but putting something like sed -i '/\(mpt2sas_cm[12]: Temperature Threshold flags\|mpt2sas_cm[12]: Current Temp In Celsius\)/d' /var/log/syslog in a user script to run every hour (or frequency of your choosing) will remove the entries from the syslog to make it easier to read (ie without the noise from the entries that you can't control/wish to ignore), but still keep any other mpt2sas entries. I've posted this on https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/Delete mpt2sas noise from syslog for future reference
  8. I'm just self installing any progs these days via user scripts. NCDU is not one I've used for a long time but I've added it my collection if you want to use it https://github.com/techie2000/unraid/tree/main/boot/config/plugins/user.scripts/scripts/install ncdu
  9. Having just installed my first LSI 9201-16e and seen this in my logs, I went digging. It looks like this is coming directly from the driver /** * _scsih_temp_threshold_events - display temperature threshold exceeded events * @ioc: per adapter object * @event_data: the temp threshold event data * Context: interrupt time. * * Return nothing. */ static void _scsih_temp_threshold_events(struct MPT2SAS_ADAPTER *ioc, Mpi2EventDataTemperature_t *event_data) { if (ioc->temp_sensors_count >= event_data->SensorNum) { printk(MPT2SAS_ERR_FMT "Temperature Threshold flags %s%s%s%s" "exceeded for Sensor: %d !!!\n", ioc->name, ((event_data->Status & 0x1) == 1) ? "0 " : " ", ((event_data->Status & 0x2) == 2) ? "1 " : " ", ((event_data->Status & 0x4) == 4) ? "2 " : " ", ((event_data->Status & 0x8) == 8) ? "3 " : " ", event_data->SensorNum); printk(MPT2SAS_ERR_FMT "Current Temp In Celsius: %d\n", ioc->name, event_data->CurrentTemperature); } } I don't know about you, but I don't want to be compiling my own driver I will be ordering a Noctura (or two) to somehow strap to what appeared to be a really rather good heatsink - putting the case sides on sees the reported temps rapidly rise...suspect I am going to need to add another extractor to the case as well to cope with the extra heat the Noctura will (hopefully) suck away from the LSI.
  10. libzen is a shared library used by mediainfo You could setup a UserScript to fire at first array start. I've put an (untested) version in github (it's not pretty() but look like it should work)
  11. @makutaku if you are not comfortable in modifying your go file AND have the UserScripts plugin installed you can add a script to have it installed when you start the array the first time. I've shared my copy at github that should work. (it uses the same principles outlined by jortan above.
  12. If you are not running a version of UnRaid where it is included, and you are familiar with UserScripts plugin, then you can add a script to install it each time you boot the array (or put it in /extras but I think that was been discouraged). I put an example up at github that should work
  13. yes, that's correct. I replied late last night whilst away but didn't have my forum login details to hand so it looks like it gets blocked pending a moderator (just in case you see a similar post later). I rebooted in regular (rather than safe) mode, installed the binhex preclear docker, ran that, and it behaved well I forgot to disable the weekly backup and the law of sod being what it is, it was scheduled for early this morning so got interrupted. I restarted it earlier and its 45% of the way through the read cycle....so fingers crossed from here on in. Update 2022-09-08 07:45 BST - still running happily. Fully expect it to complete Update 2022-09-09 13:45 BST - at 94% of stage 10/10 so unless there is final 'gotcha', we look good.
  14. I removed the Nerd Pack, rebooted and tried a pre-clear again, and observed the same pattern of errors as seen with it present. (note, I again observed intermittent read speeds >0 bytes) I booted in safe mode and set a tail of the syslog going before adding the the CA and UA plugins. I noticed ominous signs on the thumbdrive Sep 5 15:34:41 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:41 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:41 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:41 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 58 00 Sep 5 15:34:41 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x80700 phys_seg 88 prio class 0 Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c9 00 00 57 00 Sep 5 15:34:42 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16073 op 0x0:(READ) flags 0x80000 phys_seg 87 prio class 0 Sep 5 15:34:42 TheDeathStar emhttpd: error: get_fs_sizes, 6059: Input/output error (5): statfs: /boot Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:42 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 01 00 Sep 5 15:34:42 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Sep 5 15:34:42 TheDeathStar kernel: FAT-fs (sda1): FAT read failed (blocknr 14024) Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 58 00 Sep 5 15:34:43 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x80700 phys_seg 88 prio class 0 Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c9 00 00 57 00 Sep 5 15:34:43 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16073 op 0x0:(READ) flags 0x80000 phys_seg 87 prio class 0 Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:43 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 01 00 Sep 5 15:34:43 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Sep 5 15:34:43 TheDeathStar emhttpd: error: get_fs_sizes, 6059: Input/output error (5): statfs: /boot Sep 5 15:34:43 TheDeathStar kernel: FAT-fs (sda1): FAT read failed (blocknr 14024) Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 58 00 Sep 5 15:34:44 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x80700 phys_seg 88 prio class 0 Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=0s Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 Sense Key : 0x3 [current] Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 ASC=0x11 ASCQ=0x0 Sep 5 15:34:44 TheDeathStar kernel: sd 0:0:0:0: [sda] tag#0 CDB: opcode=0x28 28 00 00 00 3e c8 00 00 01 00 Sep 5 15:34:44 TheDeathStar kernel: blk_update_request: critical medium error, dev sda, sector 16072 op 0x0:(READ) flags 0x0 phys_seg 1 prio class 0 Sep 5 15:34:44 TheDeathStar emhttpd: error: get_fs_sizes, 6059: Input/output error (5): statfs: /boot Sep 5 15:34:44 TheDeathStar kernel: FAT-fs (sda1): FAT read failed (blocknr 14024) Time for a new thumbdrive me thinks... I proceed with the CA/UA install anyway and tried preclear again. This time I don't get the repeating errors (shown in https://forums.unraid.net/topic/120567-unassigned-devices-preclear-a-utility-to-preclear-disks-before-adding-them-to-the-array/?do=findComment&comment=1165650, instead it has just been (seemingly) stuck on /usr/local/emhttp/plugins/unassigned.devices.preclear/scripts/preclear_disk.sh --notify 4 --frequen cy 4 --cycles 1 --no-prompt /dev/sdb I have not seen read speed >0 on this attempt. The syslog has recorded the following in that period: Sep 5 15:38:56 TheDeathStar kernel: usb 4-4.4: USB disconnect, device number 4 Sep 5 15:38:56 TheDeathStar kernel: usb 4-4.4: new full-speed USB device number 6 using xhci_hcd Sep 5 15:38:57 TheDeathStar kernel: cdc_acm 4-4.4:1.0: ttyACM0: USB ACM device Sep 5 15:39:00 TheDeathStar kernel: usb 4-4.4: USB disconnect, device number 6 Sep 5 15:39:00 TheDeathStar kernel: usb 4-4.4: new full-speed USB device number 7 using xhci_hcd Sep 5 15:39:00 TheDeathStar kernel: cdc_acm 4-4.4:1.0: ttyACM0: USB ACM device Sep 5 15:39:44 TheDeathStar ntpd[1621]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized Sep 5 15:41:58 TheDeathStar emhttpd: cmd: /usr/local/emhttp/plugins/dynamix.plugin.manager/scripts/plugin install https://raw.githubusercontent.com/Squidly271/community.applications/master/plugins/community.applications.plg Sep 5 15:41:58 TheDeathStar root: plugin: running: anonymous Sep 5 15:41:58 TheDeathStar root: plugin: running: anonymous Sep 5 15:41:58 TheDeathStar root: plugin: skipping: /boot/config/plugins/community.applications/community.applications-2022.07.26-x86_64-1.txz already exists Sep 5 15:41:58 TheDeathStar root: plugin: running: /boot/config/plugins/community.applications/community.applications-2022.07.26-x86_64-1.txz Sep 5 15:41:58 TheDeathStar root: plugin: running: anonymous Sep 5 15:42:31 TheDeathStar emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.php install https://raw.githubusercontent.com/dlandon/unassigned.devices/master/unassigned.devices.plg Sep 5 15:42:31 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices/unassigned.devices-2022.09.02.tgz already exists Sep 5 15:42:31 TheDeathStar root: plugin: running: anonymous Sep 5 15:42:31 TheDeathStar root: plugin: creating: /tmp/start_unassigned_devices - from INLINE content Sep 5 15:42:31 TheDeathStar root: plugin: setting: /tmp/start_unassigned_devices - mode to 0770 Sep 5 15:42:31 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices/unassigned.devices.cfg already exists Sep 5 15:42:31 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices/samba_mount.cfg already exists Sep 5 15:42:31 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices/iso_mount.cfg already exists Sep 5 15:42:31 TheDeathStar root: plugin: creating: /tmp/unassigned.devices/smb-settings.conf - from INLINE content Sep 5 15:42:31 TheDeathStar root: plugin: creating: /tmp/unassigned.devices/config/smb-extra.conf - from INLINE content Sep 5 15:42:31 TheDeathStar root: plugin: creating: /tmp/unassigned.devices/add-smb-extra - from INLINE content Sep 5 15:42:31 TheDeathStar root: plugin: setting: /tmp/unassigned.devices/add-smb-extra - mode to 0770 Sep 5 15:42:31 TheDeathStar root: plugin: creating: /tmp/unassigned.devices/remove-smb-extra - from INLINE content Sep 5 15:42:31 TheDeathStar root: plugin: setting: /tmp/unassigned.devices/remove-smb-extra - mode to 0770 Sep 5 15:42:31 TheDeathStar root: plugin: running: anonymous Sep 5 15:42:59 TheDeathStar emhttpd: cmd: /usr/local/emhttp/plugins/community.applications/scripts/pluginInstall.php install https://raw.githubusercontent.com/dlandon/unassigned.devices/master/unassigned.devices.preclear.plg Sep 5 15:42:59 TheDeathStar root: plugin: running: anonymous Sep 5 15:42:59 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices.preclear/unassigned.devices.preclear-2022.09.02.tgz already exists Sep 5 15:42:59 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices.preclear/tmux-3.1b-x86_64-1.txz already exists Sep 5 15:42:59 TheDeathStar root: plugin: running: /boot/config/plugins/unassigned.devices.preclear/tmux-3.1b-x86_64-1.txz Sep 5 15:42:59 TheDeathStar root: plugin: skipping: /boot/config/plugins/unassigned.devices.preclear/utempter-1.2.0-x86_64-3.txz already exists Sep 5 15:42:59 TheDeathStar root: plugin: running: /boot/config/plugins/unassigned.devices.preclear/utempter-1.2.0-x86_64-3.txz Sep 5 15:42:59 TheDeathStar root: plugin: running: anonymous Sep 5 15:42:59 TheDeathStar root: plugin: running: anonymous Sep 5 15:43:22 TheDeathStar unassigned.devices: PHP Warning: file_get_contents(plugins/dynamix.s3.sleep/Sleep.php): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/include/Translations.php on line 66 Sep 5 15:48:43 TheDeathStar unassigned.devices: PHP Warning: file_get_contents(plugins/dynamix.s3.sleep/Sleep.php): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/dynamix/include/Translations.php on line 66 Sep 5 15:48:58 TheDeathStar unassigned.devices: Refreshed Disks and Configuration.