1. 'Linux: Show Graphical Layout of Disk Temperatures'

    Sun 03 January 2010

    graphic, representation

    To get a visual representation of hard drive temperatures, I wrote a small script. The output of this script looks like this:

    This output is tailored to the exact disk lay-out of my storage server. However, it is also usable for other servers. You have to edit the lay-out depending on the system.

    This script assumes that you have smartmontools installed on your system. It uses smartctl to obtain the drive temperatures.

    The script can be found here or here in tgz format.

  2. How to Run Debian Linux on an Intel Based Mac Mini

    Sun 01 November 2009

    The Mac Mini is just a gorgeous device. It is beautiful, small, silent, powerfull yet energy efficient. When idle, it uses around 20 watts. I'm using one of the first Intel-based Minis with an Intel Core Duo chip, running at 1.6 Ghz.

    I want to use this mini as an expensive router and download host. I could have used something embedded, such as one of those router boxes that costs about 70 euros, but no, I want to do some more with my router, such as downloading, etc. It is the only device in my house that is allowed to run 24/7 so it has to be a bit more powerful if I want more than just routing. I know that this mini was like 600 euros or something back in the days, and that is quite some money to spend on something that is now only a router. However, when I was still running Mac OS X on it, I didn't do much more with it than I will now, it will actually do more.

    I am assuming that you want to run Linux exclusively on the Mac and that Mac OS X will be wiped off.

    To get this puppy running Debian Linux (Lenny), you need to first boot the Mac with the (Snow) Leopard OS X boot CD and startup the diskutilily.

    You need to create at least two partitions: one for the root file system and one for swap. The most important step is to select 'options' under the partition layout screen, and select Master Boot Record partitioning instead of the other 2 options. Do NOT use GUID or Apple Partition Map.

    Now, boot your regular Debian Linux boot CD, I use the regular network installation CD. When you get to the partitioning screen, do NOT auto- partition the hard disk. Just reconfigure the existing partitions you just made using Diskutility. So the large partition will be configured as "/" and made bootable. The small partition must be configured as swap.

    After the installation finishes, just install GRUB in the MBR and reboot. If all went alright, you will see a non-blinking folder on a gray background for a couple of seconds, after which Linux will boot. If you get a blinking gray folder with a question mark, something went wrong.

    It seems that if configured properly, after the EFI boot mechanism fails to find a system folder on some Mac partition, the legacy BIOS emulation seems to kick in, and star to search for something to boot.

    The Mini has only one network card, so another one is necessary to run it as a router. I bought some no brand USB2 to 100 MBIT NIC (Bus 005 Device 003: ID 9710:7830 MosChip Semiconductor MCS7830 Ethernet) which seems to run smoothly.

    card with a dual gigabit card.

    I guess you will need to mod the Mini but it will allow true gigabit speeds on all interfaces.

    PCI_Express_Dual_Gigabit_LAN_Module/product_info.html

  3. 20 Disk 18 TB RAID 6 Storage Based on Debian Linux

    Tue 21 July 2009

    This system is no longer operational and has been decomissioned (2017)

    This is my NAS storage server based on Debian Linux. It uses software RAID and 20 one terrabyte hard drives. It provides a total usable storage capacity of 18 terrabytes in a single RAID 6 array.

    One of the remarkable side effects of using 20 drives within a single array is the read performance of over one gigabyte per second.

    norco nas

    Case:Norco RPC-4020
    Processor:Core 2 duo E7400 @ 2.8GHz
    RAM:4 GB
    Motherboard: Asus P5Q-EM DO
    LAN:Intel Gigabit
    PSU:Coolermaster 600 Watt Corsair CMPSU-750HX 750 Watt (Coolermaster died)
    Controller: HighPoint RocketRAID 2340 (16) and on-board controller (6).
    Disks:20 x Samsung Spinpoint F1 (1 TB) and 2 x FUJITSU MHY2060BH (60 GB)
    Arrays:Boot: 2x 60 GB RAID 1 and storage: 20 x 1 TB RAID 6
    RAID setup:Linux software RAID using MDADM.
    RAM:4 GB
    Read performance:1.1 GB/s (yes this is correct, not a typo)
    Write performance:350 450 MB/s. (suddenly faster after Debian update)
    OS:Linux Debian Squeeze 64-bit
    Filesystem:XFS (can handle > 16 TB partitions.)
    Rebuild time:about 5 hours.
    UPS:Back-UPS RS 1200 LCD using Apcupsd
    Idle power usage:about  140 Watt

    norco nas

    setup

Page 1 / 1