Beiträge von Hexcode
-
-
-
Thanks subzero - after doing what you said everything seems to run smooth now.
-
Yeah, with fancontrol you can't control the fan based on the state of the hdds.
So with the script, if every hdd is in idle state the fan on the side of the case are completely off. This was something I couldn't achieve with fancontrol. The part with the cpu and the other fan is just for funSeems like somebody saw the problem -> https://github.com/desbma/hddfancontrol
-
Yeah I know that fancontrol is in the debian repos - problem was that it couldn't handle the temperature or the active/idle-state of the harddrives. (I don't remeber the exact reason why I couldn't use it )
But it's been a while since I'm using the script above, and for me it works pretty well.
Another problem is, when you check the temperature of the harddrives, it could be, that they are spinning up every time. -
Hi,
on my NAS i can controll the fans by simple bash-commands, so I set up a bash-script which controlls the fan by CPU-Temperature and the active/idle-state of the Harddrives.
It's a simple solution:Bash
Alles anzeigen#!/bin/bash HDDS="/dev/sda /dev/sdb /dev/sdd /dev/sde" HDT=hddtemp LOG= DOWN= ALERT_LEVEL=50 args="--numeric" VALUE_SIDE=0 VALUE_BACK=0 #while true #do #sleep 1 CPU=0 VALUE_SIDE=0 VALUE_BACK=0 I=0 for disk in $HDDS do HDTEMP=$(hdparm -C $disk) if [[ $HDTEMP != *standby* ]]; then VALUE_SIDE=$(($VALUE_SIDE + 255)) VALUE_BACK=150 I=$(($I + 1)) fi done CPU1=$(cat /sys/class/hwmon/hwmon1/device/temp2_input) CPU2=$(cat /sys/class/hwmon/hwmon1/device/temp3_input) CPU3=$(cat /sys/class/hwmon/hwmon1/device/temp4_input) CPU4=$(cat /sys/class/hwmon/hwmon1/device/temp5_input) CPU=$(($CPU1 + $CPU2 + $CPU3 + $CPU4)) CPU=$(($CPU / 4000)) if [ $CPU -ge 40 2>&- ]; then VALUE_BACK=120 fi if [ $CPU -ge 45 2>&- ]; then VALUE_BACK=150 fi if [ $HDTEMP -ge 55 2>&- ]; then VALUE_BACK=255 fi if [ $I -ge 1 2>&- ]; then VALUE_SIDE=$(($VALUE_SIDE / $I)) fi echo $VALUE_SIDE echo $VALUE_BACK echo 1 > /sys/class/hwmon/hwmon2/device/pwm1_enable echo 1 > /sys/class/hwmon/hwmon2/device/pwm2_enable echo $VALUE_SIDE > /sys/class/hwmon/hwmon2/device/pwm1 echo $VALUE_BACK > /sys/class/hwmon/hwmon2/device/pwm2 #done
You need to install and set up hdparm and hwmon to use it.
It's very simple - but it does what it should.-> When one HDD is active it starts the fans in the side of the case
-> it starts the fan in the back of the case when the cpu reaches different temperature levels.You can exceute this script in an endless-loop by removing the # in the script. I've set up a cron-job which runs it every minute.
-
I already tried the wipe and create a new array solution already - didn't work.
fdisk -l:
Code
Alles anzeigenWARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn 't support GPT. Use GNU Parted. Disk /dev/sda: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sda1 1 1953525167 976762583+ ee GPT WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn 't support GPT. Use GNU Parted. Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes 255 heads, 63 sectors/track, 121601 cylinders, total 1953525168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdb1 1 1953525167 976762583+ ee GPT WARNING: GPT (GUID Partition Table) detected on '/dev/sdd'! The util fdisk doesn 't support GPT. Use GNU Parted. Disk /dev/sdd: 3000.6 GB, 3000592982016 bytes 255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdd1 1 4294967295 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn 't support GPT. Use GNU Parted. Disk /dev/sdc: 32.0 GB, 32017047552 bytes 255 heads, 63 sectors/track, 3892 cylinders, total 62533296 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sdc1 1 62533295 31266647+ ee GPT WARNING: GPT (GUID Partition Table) detected on '/dev/sde'! The util fdisk doesn 't support GPT. Use GNU Parted. Disk /dev/sde: 3000.6 GB, 3000592982016 bytes 255 heads, 63 sectors/track, 364801 cylinders, total 5860533168 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Device Boot Start End Blocks Id System /dev/sde1 1 4294967295 2147483647+ ee GPT Partition 1 does not start on physical sector boundary. Disk /dev/md0: 15.0 GB, 14991360000 bytes 2 heads, 4 sectors/track, 3660000 cylinders, total 29280000 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/md0 doesn't contain a valid partition table Disk /dev/md1: 2984.9 GB, 2984946499584 bytes 2 heads, 4 sectors/track, 728746704 cylinders, total 5829973632 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk identifier: 0x00000000 Disk /dev/md1 doesn't contain a valid partition table Disk /dev/md2: 1000.1 GB, 1000070512640 bytes 2 heads, 4 sectors/track, 244157840 cylinders, total 1953262720 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x00000000 Disk /dev/md2 doesn't contain a valid partition table
-> Seems like it doesn't work because they are usign GPT instead of MBR.blkid:
Code
Alles anzeigen/dev/sde2: UUID="e64ccd0d-4273-aad7-b678-3240c80b9884" UUID_SUB="c3442447-583c-7da6-6062-f9f2474f4ed6" LABEL="NAS:0" TYPE="linux_raid_member" /dev/sde3: UUID="947f253b-68a2-fa9c-bf23-4046e027e208" UUID_SUB="12a25c1b-d4e3-f9e2-4522-c55bd17db6e0" LABEL="NAS:1" TYPE="linux_raid_member" /dev/sdd2: UUID="e64ccd0d-4273-aad7-b678-3240c80b9884" UUID_SUB="6d2158f2-b632-65fe-25d2-81cfdadfe910" LABEL="NAS:0" TYPE="linux_raid_member" /dev/sdd3: UUID="947f253b-68a2-fa9c-bf23-4046e027e208" UUID_SUB="33233cd6-e491-3000-559b-a3b8937a4e8f" LABEL="NAS:1" TYPE="linux_raid_member" /dev/sdc1: UUID="5748-248B" TYPE="vfat" /dev/sdc2: UUID="0b2bc64e-3a1b-48e6-be15-b597767be52d" TYPE="ext4" /dev/md1: UUID="f4bddd95-df10-4822-8043-3b12867715b0" TYPE="ext4" /dev/md0: UUID="54b98109-4f1b-4f04-ad52-6717e56e5e79" TYPE="ext4" /dev/sda: UUID="9165353f-380d-2064-7e9e-f964852b62ae" UUID_SUB="17183433-28d5-8d3a-e961-f7f698c008ea" LABEL="NAS:2" TYPE="linux_raid_member" /dev/sdb: UUID="9165353f-380d-2064-7e9e-f964852b62ae" UUID_SUB="757b2e16-3406-b549-1c3f-d1b720b7b157" LABEL="NAS:2" TYPE="linux_raid_member" /dev/md2: UUID="43b0d8c8-3f27-46c7-aec8-d4a066d9e9d6" TYPE="ext4"
And I'm using the 3TB Raid with the two partitions, because it's an old RAID build from another system, which I just plugged in into the OMV-NAS. Is there a known way to delete the first RAID and add the space do the second RAID on the 3TB drives - without recreating the RAID?
-
Hi,
I've build a NAS out of the following components:
CPU + Motherboard - ASRock Q1900DC-ITX
Memory: 8GB Crucial DDR3L
Power-Supply: LC-POWER LC120NB connected to an APC USP http://www.apc-home.de/seriendetails/items/back-ups-bx.html with 800VA (should run for a while )
Case- SilverStone DS380
Harddrives: 2x 1TB WD, 2x 3TB Seagate
System-SSD: ADATA SolidState 32GBCurrently I'm just using it for backuping my systems and recording IPTV-Streams, but I plan to add an PXE-Environment with DHCP and DNS-Support for my home-network.
To get the motherboard running I had to use the correct Realtek-Ethernet driver, which is described here http://wiki.hetzner.de/index.p…ion_des_r8168-Treibers/en .I've written a short review in german on https://www.review-center.de/n…review-center-de-nas.html
Pictures are under https://www.review-center.de/g…nter-de-nas.html?start=20Greetings Hexcode
-
Hi,
I installed 2x 3TB and 2x 1TB Hard-Drives into the OMV-System - on each harddrive of the same system I want to add a RAID1 System.
On the 3TB Harddrives it's no problem - there are two RAIDs running (dev/sdd2 + dev/sde2 and dev/sdd3 + dev/sde3)
The problem is: everytime I want to set up the RAID on the 1TB-harddrives, everything is working fine, until a reboot - then OMV doesn't remeber that there was a RAID /dev/md2 on the two 1TB-drives.
I can rebuild the raid without any problems, but I have to do this everytime the systems has to reboot.Is there a setting I'm missing or something?
Greetings
Hexcode -
As far as I see there aren't any BIOS-updates or settings for wol Second NIC doesn't work - I've tried both.
The e1000e_82574 was used at the original Thecus OS, so I think they edited something on it. Seems to be version: 1.1.2-NAPI
Seems I have to install another PCIe X1 card to get it work or I have to use the crappy Thecus OS.
I think it could only be a problem with the debian System or something like that - I've read somewhere, that it could be an ACPI problem and the solution there was to use APM instead. But when I tried to disable ACPI in grub the system won't boot up -.--> /sys/class/net/eth0/device/power/wakeup is empty in my case - as listed here http://www.mythtv.org/wiki/Wake-on-LAN it should be enabled -> but when I try to change it the system don't save it.
-
Tried it - doesn't work...
The original Thecus-Firmware doesn't use the normal e1000e driver - when I try lsmod on it there is only e1000e_82574 -
Seems to be a problem with debian... after installing a wheezy-system there way the same problem
-
Interfaces:
Code
Alles anzeigen# The loopback network interface auto lo iface lo inet loopback iface lo inet6 loopback # eth0 network interface auto eth0 allow-hotplug eth0 iface eth0 inet static address 192.168.2.3 gateway 192.168.2.1 netmask 255.255.255.0 dns-nameservers 192.168.2.1 post-up /sbin/ethtool -s $IFACE wol g post-down /sbin/ethtool -s $IFACE wol g iface eth0 inet6 manual pre-down ip -6 addr flush dev eth0 # eth1 network interface auto eth1 allow-hotplug eth1 iface eth1 inet static address 192.168.2.20 gateway 192.168.2.1 netmask 255.255.255.0 dns-nameservers 192.168.2.1 post-up /sbin/ethtool -s $IFACE wol g post-down /sbin/ethtool -s $IFACE wol g iface eth1 inet6 manual pre-down ip -6 addr flush dev eth1
The NAS is connected via eth0 -
-
Hey,
I've installed openmediavault on a modifiedThecus N4200Eco NAS an it works realy good.
For example the raid-config from the Thecus System was directly visible in the RAID-Menu of omv.
My problem is now, that wakeonlan doesn't work.
When booting the orginal thecus system it was no problem, but after booting OMV there is no wol usage anymore, so it must be a problem with the softwaresystem of omv and not a bios setting.
The checkbox in OMV was set so I think this shouldn't be the problem.
I think it could be a problem with the network driver, but as far as I remember both cards are Intel 82574L Gigabit network cards...
LSHW shows:Code
Alles anzeigenH/W path Device Class Description ============================================================= system OEM /0 bus Pineview-ICH9 /0/0 memory 128KiB BIOS /0/4 processor Intel(R) Atom(TM) CPU D525 @ 1.80GHz /0/4/8 memory 64KiB L1 cache /0/4/9 memory 512KiB L2 cache /0/1d memory 1GiB System Memory /0/1d/0 memory 1GiB DIMM DDR2 Synchronous 800 MHz (1.2 ns) /0/1d/1 memory DIMM [empty] /0/100 bridge N10 Family DMI Bridge /0/100/2 display N10 Family Integrated Graphics Controller /0/100/2.1 display N10 Family Integrated Graphics Controller /0/100/1a bus 82801I (ICH9 Family) USB UHCI Controller #4 /0/100/1a.1 bus 82801I (ICH9 Family) USB UHCI Controller #5 /0/100/1a.2 bus 82801I (ICH9 Family) USB UHCI Controller #6 /0/100/1a.7 bus 82801I (ICH9 Family) USB2 EHCI Controller #2 /0/100/1b multimedia 82801I (ICH9 Family) HD Audio Controller /0/100/1c bridge 82801I (ICH9 Family) PCI Express Port 1 /0/100/1c/0 eth0 network 82574L Gigabit Network Connection /0/100/1c.1 bridge 82801I (ICH9 Family) PCI Express Port 2 /0/100/1c.1/0 eth1 network 82574L Gigabit Network Connection /0/100/1c.4 bridge 82801I (ICH9 Family) PCI Express Port 5 /0/100/1c.4/0 storage JMB362/JMB363 Serial ATA Controller /0/100/1c.4/0.1 scsi0 storage JMB368 IDE controller /0/100/1c.4/0.1/0.0.0 /dev/sda disk 128MB AFAYA MDM 128 /0/100/1c.4/0.1/0.0.0/1 /dev/sda1 volume 2032KiB Linux filesystem partition /0/100/1c.4/0.1/0.0.0/2 /dev/sda2 volume 11MiB Linux filesystem partition /0/100/1c.4/0.1/0.0.0/3 /dev/sda3 volume 30MiB Linux filesystem partition /0/100/1c.4/0.1/0.0.0/4 /dev/sda4 volume 77MiB Extended partition /0/100/1c.4/0.1/0.0.0/4/5 /dev/sda5 volume 9840KiB Linux filesystem partition /0/100/1c.4/0.1/0.0.0/4/6 /dev/sda6 volume 7920KiB Linux filesystem partition /0/100/1c.4/0.1/0.0.0/4/7 /dev/sda7 volume 59MiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0 /dev/sdb disk 128MB AFAYA MDM 128 /0/100/1c.4/0.1/0.1.0/1 /dev/sdb1 volume 2032KiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0/2 /dev/sdb2 volume 11MiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0/3 /dev/sdb3 volume 30MiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0/4 /dev/sdb4 volume 77MiB Extended partition /0/100/1c.4/0.1/0.1.0/4/5 /dev/sdb5 volume 9840KiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0/4/6 /dev/sdb6 volume 7920KiB Linux filesystem partition /0/100/1c.4/0.1/0.1.0/4/7 /dev/sdb7 volume 59MiB Linux filesystem partition /0/100/1d bus 82801I (ICH9 Family) USB UHCI Controller #1 /0/100/1d.1 bus 82801I (ICH9 Family) USB UHCI Controller #2 /0/100/1d.2 bus 82801I (ICH9 Family) USB UHCI Controller #3 /0/100/1d.7 bus 82801I (ICH9 Family) USB2 EHCI Controller #1 /0/100/1e bridge 82801 PCI Bridge /0/100/1f bridge 82801IR (ICH9R) LPC Interface Controller /0/100/1f.2 scsi2 storage 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Control /0/100/1f.2/0 /dev/sdc disk 1TB WDC WD10EARS-00Y /0/100/1f.2/0/1 /dev/sdc1 volume 1999MiB Linux swap volume /0/100/1f.2/0/2 /dev/sdc2 volume 929GiB Linux RAID partition /0/100/1f.2/1 /dev/sdd disk 1TB WDC WD10EARS-00Y /0/100/1f.2/1/1 /dev/sdd1 volume 1999MiB Linux swap volume /0/100/1f.2/1/2 /dev/sdd2 volume 929GiB Linux RAID partition /0/100/1f.2/2 /dev/sde disk 3TB ST3000DM001-1CH1 /0/100/1f.2/2/1 /dev/sde1 volume 1999MiB Linux swap volume /0/100/1f.2/2/2 /dev/sde2 volume 2792GiB Linux RAID partition /0/100/1f.2/3 /dev/sdf disk 3TB ST3000DM001-1CH1 /0/100/1f.2/3/1 /dev/sdf1 volume 1999MiB Linux swap volume /0/100/1f.2/3/2 /dev/sdf2 volume 2792GiB Linux RAID partition /0/100/1f.2/0.0.0 /dev/sdg disk 251GB WDC WD2500YS-01S /0/100/1f.2/0.0.0/1 /dev/sdg1 volume 231GiB EXT4 volume /0/100/1f.2/0.0.0/2 /dev/sdg2 volume 1935MiB Extended partition /0/100/1f.2/0.0.0/2/5 /dev/sdg5 volume 1935MiB Linux swap / Solaris partition /0/100/1f.3 bus 82801I (ICH9 Family) SMBus Controller /1 power
Anyone know a solution for this problem?
Greetings Hexcode