CHBMB

Community Developer
  • Posts

    10620
  • Joined

  • Days Won

    51

Everything posted by CHBMB

  1. Hi, can't believe the progress made in UnRAID since I migrated to WHS2011 about a year ago. Am looking to migrate back Yeah, I know, grass is always greener.... Apart from some messing around with VirtualBox in Windows I'm new to all this virtualisation business so please forgive the wall of text as I wanted to put all my steps down so I others could follow the ramblings of my disturbed mind! Managed to get a Win7VM up and running using dmacias' excellent plugin, here is the xml file that was created. <domain type='kvm' id='3'> <name>Win7VM</name> <uuid>16423bf2-47b7-0c00-2cb3-0c000b16ea8a</uuid> <memory unit='KiB'>4194304</memory> <currentMemory unit='KiB'>2097152</currentMemory> <vcpu placement='static'>1</vcpu> <resource> <partition>/machine</partition> </resource> <os> <type arch='x86_64' machine='pc-q35-2.1'>hvm</type> <boot dev='hd'/> </os> <features> <acpi/> <apic/> <hyperv> <relaxed state='on'/> <vapic state='on'/> <spinlocks state='on' retries='8191'/> </hyperv> </features> <clock offset='localtime'> <timer name='hypervclock' present='yes'/> <timer name='hpet' present='no'/> </clock> <on_poweroff>destroy</on_poweroff> <on_reboot>restart</on_reboot> <on_crash>restart</on_crash> <devices> <emulator>/usr/bin/qemu-system-x86_64</emulator> <disk type='file' device='disk'> <driver name='qemu' type='qcow2'/> <source file='/mnt/cache/KVM/VM/Win7VM/Win7VM.qcow2'/> <backingStore/> <target dev='hda' bus='virtio'/> <alias name='virtio-disk0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x03' function='0x0'/> </disk> <disk type='file' device='cdrom'> <driver name='qemu' type='raw'/> <source file='/mnt/user/KVM/Media/Win7AIO.iso'/> <backingStore/> <target dev='hdc' bus='sata'/> <readonly/> <alias name='sata0-0-2'/> <address type='drive' controller='0' bus='0' target='0' unit='2'/> </disk> <controller type='usb' index='0' model='ich9-ehci1'> <alias name='usb0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x7'/> </controller> <controller type='usb' index='0' model='ich9-uhci1'> <alias name='usb0'/> <master startport='0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x02' function='0x0' multifunction='on'/> </controller> <controller type='sata' index='0'> <alias name='sata0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1f' function='0x2'/> </controller> <controller type='pci' index='0' model='pcie-root'> <alias name='pcie.0'/> </controller> <controller type='pci' index='1' model='dmi-to-pci-bridge'> <alias name='pci.1'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x1e' function='0x0'/> </controller> <controller type='pci' index='2' model='pci-bridge'> <alias name='pci.2'/> <address type='pci' domain='0x0000' bus='0x01' slot='0x01' function='0x0'/> </controller> <interface type='bridge'> <mac address='52:54:00:40:3f:e1'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> <alias name='net0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x01' function='0x0'/> </interface> <serial type='pty'> <source path='/dev/pts/0'/> <target port='0'/> <alias name='serial0'/> </serial> <console type='pty' tty='/dev/pts/0'> <source path='/dev/pts/0'/> <target type='serial' port='0'/> <alias name='serial0'/> </console> <input type='tablet' bus='usb'> <alias name='input0'/> </input> <input type='mouse' bus='ps2'/> <input type='keyboard' bus='ps2'/> <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'> <listen type='address' address='0.0.0.0'/> </graphics> <video> <model type='vmvga' vram='9216' heads='1'/> <alias name='video0'/> <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x0'/> </video> <memballoon model='virtio'> <alias name='balloon0'/> <address type='pci' domain='0x0000' bus='0x02' slot='0x04' function='0x0'/> </memballoon> </devices> </domain> I want to passthough my PCI-E Quad Tuner DVB-T2 card which is a TBS6285, the alternative is to use the TVHeadEnd plugin which I used before but it is a bit of a pain bothering piotrasd for media builds with TBS drivers every time there's a new release! Here's the output of lspci -knn without my TV Card installed in the machine. 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09) Subsystem: ASRock Incorporation Device [1849:0150] 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) Subsystem: ASRock Incorporation Device [1849:0152] 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e31] Kernel driver in use: xhci_hcd 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e3a] 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e2d] Kernel driver in use: ehci-pci 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) Subsystem: ASRock Incorporation Device [1849:8892] 00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) Kernel driver in use: pcieport 00:1c.5 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 [8086:1e1a] (rev c4) Kernel driver in use: pcieport 00:1c.7 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 [8086:1e1e] (rev c4) Kernel driver in use: pcieport 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e26] Kernel driver in use: ehci-pci 00:1f.0 ISA bridge [0601]: Intel Corporation H77 Express Chipset LPC Controller [8086:1e4a] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e4a] 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e02] Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e22] Kernel modules: i2c_i801 01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03) Subsystem: LSI Logic / Symbios Logic Device [1000:3020] Kernel driver in use: mpt2sas Kernel modules: mpt2sas 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06) Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168] Kernel driver in use: r8169 Kernel modules: r8169 03:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01) Subsystem: ASRock Incorporation Device [1849:0612] Kernel driver in use: ahci Kernel modules: ahci Once installed I get this output. 00:00.0 Host bridge [0600]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor DRAM Controller [8086:0150] (rev 09) Subsystem: ASRock Incorporation Device [1849:0150] 00:02.0 VGA compatible controller [0300]: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller [8086:0152] (rev 09) Subsystem: ASRock Incorporation Device [1849:0152] 00:14.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller [8086:1e31] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e31] Kernel driver in use: xhci_hcd 00:16.0 Communication controller [0780]: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 [8086:1e3a] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e3a] 00:1a.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 [8086:1e2d] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e2d] Kernel driver in use: ehci-pci 00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04) Subsystem: ASRock Incorporation Device [1849:8892] 00:1c.0 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 [8086:1e10] (rev c4) Kernel driver in use: pcieport 00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4) Kernel driver in use: pcieport 00:1c.5 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 6 [8086:1e1a] (rev c4) Kernel driver in use: pcieport 00:1c.7 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 8 [8086:1e1e] (rev c4) Kernel driver in use: pcieport 00:1d.0 USB controller [0c03]: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 [8086:1e26] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e26] Kernel driver in use: ehci-pci 00:1f.0 ISA bridge [0601]: Intel Corporation H77 Express Chipset LPC Controller [8086:1e4a] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e4a] 00:1f.2 SATA controller [0106]: Intel Corporation 7 Series/C210 Series Chipset Family 6-port SATA Controller [AHCI mode] [8086:1e02] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e02] Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus [0c05]: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller [8086:1e22] (rev 04) Subsystem: ASRock Incorporation Device [1849:1e22] Kernel modules: i2c_i801 01:00.0 Serial Attached SCSI controller [0107]: LSI Logic / Symbios Logic SAS2008 PCI-Express Fusion-MPT SAS-2 [Falcon] [1000:0072] (rev 03) Subsystem: LSI Logic / Symbios Logic Device [1000:3020] Kernel driver in use: mpt2sas Kernel modules: mpt2sas 02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 02) Subsystem: Device [6285:0001] 03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168 PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06) Subsystem: ASRock Incorporation Motherboard (one of many) [1849:8168] Kernel driver in use: r8169 Kernel modules: r8169 04:00.0 SATA controller [0106]: ASMedia Technology Inc. ASM1062 Serial ATA Controller [1b21:0612] (rev 01) Subsystem: ASRock Incorporation Device [1849:0612] Kernel driver in use: ahci Kernel modules: ahci So if I'm correct in my assumptions that means that these two entries are the ones I need to be looking at. 00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4) Kernel driver in use: pcieport 02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 02) Subsystem: Device [6285:0001] Editing my go file to this should allow for passthrough of the slot right? #!/bin/bash # Start the Management Utility /usr/local/sbin/emhttp & #bindpci /usr/local/sbin/vfio-bind 0000:00:1c.4 This then give me these lines when I run lspci -knn so my PCI-E slot is using the virtuo driver right? 00:1c.4 PCI bridge [0604]: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 [8086:1e18] (rev c4) Kernel driver in use: vfio-pci 02:00.0 Multimedia controller [0480]: Philips Semiconductors SAA7160 [1131:7160] (rev 02) Subsystem: Device [6285:0001] Now am I correct in thinking I now need to add something along the lines of this to my VM xml file? <qemu:commandline> <qemu:arg value='-device'/> <qemu:arg value='vfio-pci,host=00:1c.4,bus=pcie.0'/> </qemu:commandline> However once I've done all that, (I edited the xml file for the VM I'd already created rather than create a new one - if that's relevant) but nothing appears in device manager within Windows to indicate that my Tuner card is present. If someone could point out whereabouts I'm going wrong I'd be most grateful. EDIT: It would appear that when I edit the xml file with the VM stopped the changes aren't being saved.
  2. Been using unraid for a while now and decided it's time for an upgrade. Currently using a Supermicro C2SEA and an AOC-SAS-MV8 along with a PCI-E two port SATA card and a TBS 6284 Quad Tuner DVB-T2 which also uses a PCI-E slot. Works flawlessly other than an intermittent issue with the SATA card meaning I only run 14 drives rather than the 15 theoretical maximum I could get in my case (3 x 5 in 3 hotswap caddies). What I'd like to do is upgrade my motherboard, CPU and memory using the 1150 socket and use virtualisation for unraid, a Linux os, and possibly a windows version to give me some more options regarding tv utilisation to serve XBMC clients around the house. I'm not averse to upgrading my SAS card to something like a M1015 if it helped performance. In the future I can see me upgrading to a bigger case like this one so I'd like to keep the option of adding more SAS cards. http://www.xcase.co.uk/pc-cases/home-server-pc-cases/x-case-rm-424-24-hotswap-bay-6gb-mini-sas-sata-sas-backplane-rail-kit-included.html Edit: The supermicro X10SAT looks like it might fit the bill? Possibly combining it with a 4765T processor. Anybody got any thoughts, comments or suggestions? Thanks for any help.
  3. Tried the itunes server plugin. The sqlite component is no longer available. I did manage to find the slackware package online and change the md5 as I just wanted to have a play around, but thought you'd want to know. Great work by the way, love the look and functionality and especially the "modular" design.
  4. Here you go. Unfortunately the server where the package is located updates so the plugin is only valid for the version it was created for and that version is removed once there's an update, so recommend saving a backup of the package file that is downloaded. http://lime-technology.com/forum/index.php?topic=20603.msg229248#msg229248
  5. Bloody hell that was quick! I think I'll ramp up the noctua fans I've got in the case. That should cool it down a bit. Thanks Joe.
  6. Would someone be so kind to cast an eye over this, it's an old drive I used in a WHS build. Preclear Start: Disk: /dev/sdi smartctl 5.40 2010-10-16 r3189 [i486-slackware-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: SAMSUNG HD203WI Serial Number: S1UYJ1WZ400099 Firmware Version: 1AN10002 User Capacity: 2,000,398,934,016 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 6 Local Time is: Fri Mar 1 19:12:45 2013 GMT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (26220) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 255) minutes. SCT capabilities: (0x003f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 808 2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0 3 Spin_Up_Time 0x0023 072 060 025 Pre-fail Always - 8708 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1149 5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0 8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 4743 10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 373 191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 5947 192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0 194 Temperature_Celsius 0x0002 064 052 000 Old_age Always - 35 (Min/Max 16/48) 195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0 196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 199 223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4866 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run SMART Selective self-test log data structure revision number 0 Note: revision number not 1 implies that no selective self-test has ever been run SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Completed [00% left] (0-65535) 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. Preclear Finish: Disk: /dev/sdi smartctl 5.40 2010-10-16 r3189 [i486-slackware-linux-gnu] (local build) Copyright (C) 2002-10 by Bruce Allen, http://smartmontools.sourceforge.net === START OF INFORMATION SECTION === Device Model: SAMSUNG HD203WI Serial Number: S1UYJ1WZ400099 Firmware Version: 1AN10002 User Capacity: 2,000,398,934,016 bytes Device is: Not in smartctl database [for details use: -P showall] ATA Version is: 8 ATA Standard is: ATA-8-ACS revision 6 Local Time is: Sun Mar 3 04:10:20 2013 GMT SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (26220) seconds. Offline data collection capabilities: (0x5b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. No Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 255) minutes. SCT capabilities: (0x003f) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 100 100 051 Pre-fail Always - 880 2 Throughput_Performance 0x0026 252 252 000 Old_age Always - 0 3 Spin_Up_Time 0x0023 072 060 025 Pre-fail Always - 8708 4 Start_Stop_Count 0x0032 099 099 000 Old_age Always - 1149 5 Reallocated_Sector_Ct 0x0033 252 252 010 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 252 252 051 Old_age Always - 0 8 Seek_Time_Performance 0x0024 252 252 015 Old_age Offline - 0 9 Power_On_Hours 0x0032 100 100 000 Old_age Always - 4776 10 Spin_Retry_Count 0x0032 252 252 051 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 252 252 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 373 191 G-Sense_Error_Rate 0x0022 100 100 000 Old_age Always - 5949 192 Power-Off_Retract_Count 0x0022 252 252 000 Old_age Always - 0 194 Temperature_Celsius 0x0002 059 052 000 Old_age Always - 41 (Min/Max 16/48) 195 Hardware_ECC_Recovered 0x003a 100 100 000 Old_age Always - 0 196 Reallocated_Event_Count 0x0032 252 252 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 252 252 000 Old_age Always - 0 198 Offline_Uncorrectable 0x0030 252 252 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0036 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x002a 100 100 000 Old_age Always - 200 223 Load_Retry_Count 0x0032 252 252 000 Old_age Always - 0 225 Load_Cycle_Count 0x0032 100 100 000 Old_age Always - 4866 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 No self-tests have been logged. [To run self-tests, use: smartctl -t] Note: selective self-test log revision number (0) not 1 implies that no selective self-test has ever been run SMART Selective self-test log data structure revision number 0 Note: revision number not 1 implies that no selective self-test has ever been run SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Completed [00% left] (0-65535) 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. Preclear Report: ========================================================================1.13 == invoked as: ./preclear_disk.sh -A /dev/sdi == SAMSUNG HD203WI S1UYJ1WZ400099 == Disk /dev/sdi has been successfully precleared == with a starting sector of 64 == Ran 1 cycle == == Using :Read block size = 8225280 Bytes == Last Cycle's Pre Read Time : 9:18:09 (59 MB/s) == Last Cycle's Zeroing time : 6:53:27 (80 MB/s) == Last Cycle's Post Read Time : 16:44:51 (33 MB/s) == Last Cycle's Total Time : 32:57:36 == == Total Elapsed Time 32:57:36 == == Disk Start Temperature: 35C == == Current Disk Temperature: -->42<--C, == ============================================================================ ** Changed attributes in files: /tmp/smart_start_sdi /tmp/smart_finish_sdi ATTRIBUTE NEW_VAL OLD_VAL FAILURE_THRESHOLD STATUS RAW_VALUE Temperature_Celsius = 59 64 0 ok 41 No SMART attributes are FAILING_NOW 0 sectors were pending re-allocation before the start of the preclear. 0 sectors were pending re-allocation after pre-read in cycle 1 of 1. 0 sectors were pending re-allocation after zero of disk in cycle 1 of 1. 0 sectors are pending re-allocation at the end of the preclear, the number of sectors pending re-allocation did not change. 0 sectors had been re-allocated before the start of the preclear. 0 sectors are re-allocated at the end of the preclear, the number of sectors re-allocated did not change. ============================================================================ Thanks very much guys, especially Joe for all his hard work!
  7. As information becomes outdated so quickly I thought I'd post how I managed to get everything working for OpenElec 2.99.3 but I don't see any reason why it wouldn't work for any other Frodo release. I've also attached a few files that I've been using to try and help those that like myself are inexperienced with a lot of the stuff that many users on here are very familiar with. My setup is a UnRaid Server and a Openelec HTPC, to configure everything I used my Windows 7 Netbook. MySql database is located on my cache drive. Step 1. Used the MySql 5.5 plugin from here. http://lime-technology.com/forum/index.php?topic=20603.msg229248#msg229248 and installed it to /mnt/cache/.mysql Step 2. Then as I've never used MySql before I used a program called HeidiSQL for Windows http://www.heidisql.com/ Started it up, Selected MySQL (TCP/IP) put my Unraid IP address into Hostname/IP and used root as both user and password, clicked open. Step 3. Go to Tools select user manager and click to add a new user, username and password both xbmc and from host selected access from everywhere. Then save changes and exit HeidiSQL. Step 4. Created, with the help of several other people copies, an advancedsettings.xml and copied to the /userdata folder using Notepad++ from here (Make sure encoding is set to UTF8 without BOM): http://notepad-plus-plus.org/ Here's a template of mine. <advancedsettings> <videodatabase> <type>mysql</type> <host>xxx.xxx.xxx.xxx</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> </videodatabase> <musicdatabase> <type>mysql</type> <host>xxx.xxx.xxx.xxx</host> <port>3306</port> <user>xbmc</user> <pass>xbmc</pass> </musicdatabase> <videolibrary> <importwatchedstate>true</importwatchedstate> </videolibrary> </advancedsettings> Now I did run into a problem once I restarted my Openelec machine. As it's on a SSD it boots so quickly the network isn't up and running to access the mysql database. Found the solution on the Openelec forum and it is to create an autostart.sh file and copy it to the config folder. It contained: #!/bin/sh ifconfig eth0 up ifconfig eth0 PUT XBMC MACHINE IP ADDRESS HERE route add default gw PUT ROUTER IP ADDRESS HERE Rebooted my openelec machine, added my sources and scanned them to the database and hey presto. Thanks to p1lot and SeeDrs on the Unraid Forum and scsa20 over at Openelec, as well as the XBMC and Openelec Wikis. Like i said this was intended to be a very basic guide for those like myself that have no experience with MySql and it's configuration.
  8. I came to the realisation that it doesn't actually cost much for me to build an UnRAID server and that it was basically an insurance policy. But with a one off fee and very low yearly fees as the backup will only be switched on when required. I've lost count of the amount of important data I've lost over the years because I didn't protect it well enough so this was the idea I came up. Currently cloning disk 3 of 5 Will look into the Rsync method, thanks for letting me know about your post.
  9. I think that sounds like a much better way to do things actually. What I'd like to do is copy everything to the cache drive as per normal, and when it moves it to the array also make a copy and put it on the external USB. Is that feasible?
  10. I am sorry as I keep adding things to clarify and you're being very patient with me. I won't be deleting any files, it's all archived stuff. The first task I want to accomplish is just to create a duplicate server with the same files on each disk. After that I intend to copy new files to the cache drive and leave them there, then transport that drive to the offsite and copy them onto the backup server, then transport the drive back and move the files to my server. Once again, thank you so much for taking the trouble to help and painstakingly drag the necessary information from me!!
  11. I'm not planning on doing anything remotely. Currently they are both attached to the same network hub in my house and that's how I plan to do the initial backup. After that I will do it manually by taking my cache drive to the offsite backup server (Will be at my parents house) and manually copying the data across there. Does that make things a little easier? Thanks for the reply.
  12. Hi, My UnRAID server has now progressed from being a novelty to an absolute necessity. Should my house burn down it would be among the items I'd be rushing to save! Hence I have decided I need an offsite backup. My plan is to have a complete clone of my server. For example each disk in the array is an identical image in each server. That way even if I lose 2 disks in one array, and can't rebuild the data I only have to copy the files from my offsite backup. All new data to be copied to the server will be contained on the cache disk so I can remove that and manually copy the files to my offsite backup. Can anyone help with getting this going? Ideally I'd like not to use windows as I've found copying large amounts of data through windows sometimes is a little unreliable. Thanks Neil
  13. Recently bought 3 Samsung F4s, all updated with the new firmware. First two precleared and the only attribute that was changed was the temperature. The third disk had Raw Read Error Rate, Hardware ECC Recovered and Multizone Error Rate all changed from 252 to 100 and UDMA CRC Error Count changed from 200 to 100. Should I be concerned? I should probably add, I've now got a niggling doubt that I didn't update the firmware on this drive but will before putting it to use. Logs of preclear for that drive attached below. preclear_start__S2H7JD2B227368_2011-05-26.txt preclear_finish__S2H7JD2B227368_2011-05-26.txt preclear_rpt__S2H7JD2B227368_2011-05-26.txt
  14. Thanks Raj, Haven't added them to an array yet, just stuck them in some spare slots on my server and run preclear, so haven't yet selected the MBR 4K option. Good to know I'm on the right path though. Neil
  15. Just got hold of a couple of these drives, have updated the firmware and am planning to use them in a new server build for my off site back ups. I think I know the answer but I am right to Preclear with the -A switch aren't I? Am planning on using 5.0b6a which I have been using for a while without problems on my other server. Also would it be correct to use the MBR 4k aligned option? Cheers Neil Cheers Neil
  16. I've received it already and it looks pretty good, but it will be a while until I get the rest of the bits so can't give a better critique yet!
  17. Building a second UnRAID server for off site backup purposes. Couldn't find another coolermaster centurion 590 but found this, haven't seen one before nor heard it mentioned, so ordered one. Had a quick look, still not got all the stuff for my build but first impressions are it's a great case for the money. http://www.sharkoon.com/?q=en/node/1858 http://www.ebuyer.com/product/262923
  18. Will that script prevent new files written to the array from being affected? Cheers for the suggestion, will give it a go Neil
  19. Have a small problem with my file permissions when I'm copying files to my UnRAID array. Currently using 4.7 It results in the new files not being seen by Sickbeard and my HTPC. I have got round it by using the script here http://lime-technology.com/forum/index.php?topic=10064.0 but was wondering if there was a way to enable all files to have the permissions set as default. There was a button on one of the 5.xb releases that did this but would love not to have to intervene at all. After a bit of reading think this may involve a smb-extra.conf file but as a linux newb I have very little idea of what to put in there. Can anyone give me any help please Thanks Neil
  20. Thanks Peter, That worked a treat, weirdly it seems to have taken a username and password I use for a website login, wondering if it's a firefox issue?
  21. Yeah already upgraded it. Can't access it anymore to update it again.
  22. Small problem here, installed Sickbeard (Am working up to the others) all working well but now am getting prompted for a username and password when I try to login to http://server:8081 Get this error report 401 Unauthorized You are not authorized to access that resource In addition, the custom error page failed: ValueError: invalid literal for int() with base 10: '401 Unauthorized' Traceback (most recent call last): File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 657, in respond self.hooks.run('before_handler') File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 99, in run hook() File "/mnt/cache/_sickbeard/cherrypy/_cprequest.py", line 59, in __call__ return self.callback(**self.kwargs) File "/mnt/cache/_sickbeard/cherrypy/lib/auth_basic.py", line 86, in basic_auth raise cherrypy.HTTPError(401, "You are not authorized to access that resource") HTTPError: (401, 'You are not authorized to access that resource') Anybody got any ideas? Have updated Sickbeard via the link in the application and it has been running fine. I'm a linux newb so not really sure where to go from here. Has done it before so I just started from scratch to resolve it. Don't really want to have to do that again. Thanks Neil
  23. I've got a SiL3132 http://www.maplin.co.uk/pci-express-dual-esata-dual-internal-sata-ports-221494 with a SIL3726 Port Multiplier connected to it. http://www.addonics.com/products/host_controller/ad5sapm.asp Coupled with the six SATA ports on my Motherboard gives me 12 sata drives. 1 from the SiL3132 and 5 from the PM. Working fine for me.
  24. Try WHS, I've got a copy you can have for 1/2 price! Complete with all manner of problems and workarounds, but with a lovely looking interface, of course the support is nowhere near as good as here and the updates are few and far between, but the new version (Vail) removes the most useful features and thereby removing the bugs. Honestly I can't fault the support here and the frequent updates and fantastic user community. Hands up those of us that have had a BSOD with a MS product, do you start accusing Mr Gates of producing a "Hobby program" I don't see how Tom can be held responsible for a problem created by a hardware manufacturer who forces functionality and alters a drive characteristics whether you want it to or not.
  25. I agree, it would be a bad idea, especially for a beginner, especially since it has only been out for a few days. 4.7 is a MUCH better version for your production use at this time. Most of us doing the testing have 5.0b4 on a second server, one used for testing. I'm using 5.0b4 on my sole setup, BUT do have all my data backed up, so if it all went horribly wrong I can just recopy 6TB of data to a fresh array. Having said that it seems to work fine and as long as you're careful I think it's ok, oddly I'd never in a million years dream of using MS beta software in the same fashion. I'm still having a problem with permissions though in this version, the new script works fine, but if I create a directory in my cache drive although it will show up in my shares I cannot access it from two of my PCs. Rerunning the permissions script fixes the issue though. It may be the way I'm using the cache drive though and I'm not sure if I've tried copying directly to the user share which would in effect just do what I'm doing anyway automatically. I'm loving the new 5.0 UnRAID though, truly wonderful. Just got to get as sleep script working, install the final version of 5.0 when it's released and then leave well alone. Neil Still having some problems with permissions, create folders on the server, copy data to it via a cache drive and then can only access it on my main PC, not my laptops or HTPC. I don't have any security settings on any shares at all. Basically wide open full access to anyone on my home network.