empty-handed-topping2304

Members
  • Posts

    3
  • Joined

  • Last visited

Everything posted by empty-handed-topping2304

  1. Just so people know I got this working, with a monitoring bash file I found on this forum will have to find and book mark it. It writes out to a file, then mounted that file in a nfs share and basically cat and echoed it back into proxmox Used a cronjob for it like the below it runs every minute. #!/bin/bash dir="/mnt/PWM/" nfs_server="x.x.x.x:/mnt/user/FANSHARE" command_to_run="ls -l $dir" while true; do if mountpoint -q $dir; then echo "NFS directory is already mounted. Running command..." # Replace the following line with the command you want to run when the NFS directory is mounted cat /mnt/PWM/pwm > /sys/class/hwmon/hwmon3/pwm1 break else echo "NFS directory is not mounted. Attempting to mount..." mount $nfs_server $dir if [ $? -eq 0 ]; then echo "NFS directory successfully mounted. Running command..." # Replace the following line with the command you want to run when the NFS directory is mounted cat /mnt/PWM/pwm > /sys/class/hwmon/hwmon3/pwm1 break else echo "Mount failed. Waiting for 30 seconds..." sleep 30 fi fi done Asked chapgpt to write that for me. I'm ok at reading scripting never been good at writing it.
  2. Looking for some help and not sure if its even possible. I have a jonsbo n3 and just installed some pwm fans and replaced the jonsbo 3 pins ones with Artic 4 pin pwm fans. My morherboard is the Asus Prime n100 it has 1 pwn connector, I bought an adapter so I could connect 3 fans to this 1 port. I had'nt thought this fully through. Unraid cannot see the pwm sensor and Proxmox cannot see the disks as the sata adapter is passed through to unraid. I want to control the speed of the fans based on the temperature of the drives. Is there anyway of passing the pwm sensor from proxmox into unraid. Failing that pass the temperature back into proxmox to control the fans from there. Server runs headless so havent had a chance to look at bios options yet. Any advice would be greatly appreciated.
  3. I've built my Nas system on proxmox and use unraid virtualized just (bought the licence) with a sata card passed through. Its a 8 port sata card never knew about multipliers untill I started reading the sub forum on it. The card is passed through into unraid currently with 2 disks 14tb and 12tb. When my new case comes I have another 2 disks to put into it 2x 6TB disks. It's live now for 10 days with 2 X HD's attached to this card. Jonsbo n3 This is the sata card I can still return it. https://www.amazon.co.uk/dp/B099Z7SYDX?ref=ppx_yo2ov_dt_b_product_details&th=1 SATA controller: ASMedia Technology Inc. Device 1064 (rev 02) (prog-if 01 [AHCI 1.0]) Subsystem: ZyDAS Technology Corp. Device 2116 The motherboard I'm using is a Asus Prime n100. It only has 1 x sata port this a boot drive with a ssd in it. Have a nvme with 2TB in the nvme slot. PCIe 3.0 x1 is capable of ~985 MB/s, or 8Gbps I guess my question is when I add other drives am I going to run into issues. Or will it just be speed issues. if its data corruption or damage to my disks I'll look at changing it out. Server is on a 1GB network with a couple of devices hard wired but mostly wifi. Used for Media streaming managing photos and home automation. Ideally I want to be able to add 8 disks eventually. Problem is the pcie slot is PCIe 3.0 x1 slot. Can't find any HBA's that fit that slot and want to keep it as low powered as possible thats what led me known the sata route. Other option I could do is get a 6 port sata card and 2 port sata for m key e slot. I ordered this and will test it on Monday. https://www.amazon.co.uk/BEYIMEI-Controller-Expansion-Non-Raid-Profile/dp/B097Y638X7/ref=sr_1_5?crid=36CMU029U7FLM&keywords=6%2Bport%2Bsata%2Basm1166&qid=1697048189&s=electronics&sprefix=6%2Bport%2Bsata%2Basm1166%2Celectronics%2C52&sr=1-5&th=1 Then one of these for 2 drives although I can't find detail on speed of them https://www.amazon.co.uk/MZHOU-SATA3-0-Expansion-Adapter-JMB582-KEY-M-2/dp/B0B14GZX3M/ref=sr_1_1?crid=2ZL0HXF3YWJOV&keywords=m%2Bkey%2Be%2Bsata&qid=1697048232&s=electronics&sprefix=m%2Bkey%2Be%2Bsata%2Celectronics%2C52&sr=1-1&th=1 Another option I'm thinking of is nvme to sata 6 port and if that works with the m key e that would give me 8 drives. The nvme I could add into a pcie adapter for the nvme. If the 2 ports sata m key e doesnt work. What would my options be. I've seen m2 key to pcie I could add a hba that way but I cant figure out how Id actually mount the card then.