kizer

Moderators
  • Posts

    3742
  • Joined

  • Last visited

  • Days Won

    4

Posts posted by kizer

  1. Yeah a search database would be awesome. Are thinking a web interface or would you run it from console?

     

    Yeah from what I can tell XBMC runs very well. I've only had it give me issues once or twice because the database file some how got locked up in permissions and I couldn't write to it.

  2. I haven't done much coding in Linux or BSD for a long time, but I used to use the Today command a lot when I created directories since well every day is a new day. I don't know all the locations in Slackware and maybe somebody else can make this technically correct, but I used to use a script that would create a folder based on Today's Date and then copy everything in that folder. Then I would tar it up and keep it archived. However this one doesn't it just adds today's date to the front of each file so you can find it easily. Maybe when I'm up and running I'll tinker with it myself, but hardware isn't all here yet.

     

    Here's something really basic and of course I ran it from Cron so I wouldn't have to worry about it. I'll probably do something of the same, but like I said I don't know all the directory paths in Slackware, because I used to use BSD and more or less just pieced this today from what Joe L typed.

     

    #!/bin/sh
    
    Today="`date +%Y-%m-%d`"
    
    find /mnt/disk1  -ls >/boot/diskcontents/$Today_disk1_contents.txt
    find /mnt/disk2  -ls >/boot/diskcontents/$Today_disk2_contents.txt
    find /mnt/disk3  -ls >/boot/diskcontents/$Today_disk3_contents.txt
    find /mnt/disk4  -ls >/boot/diskcontents/$Today_disk4_contents.txt
    find /mnt/disk5  -ls >/boot/diskcontents/$Today_disk5_contents.txt
    find /mnt/disk6  -ls >/boot/diskcontents/$Today_disk6_contents.txt

     

    Then I used something like this that would go through a folder and delete anything that was older than 30 days. Of course all the paths would have to be fixed, but its what I used to clean out old archived things that I thought where to old.

     

    #!/usr/local/bin/perl -w
    $reports = "/boot/diskcontents/";
    @file_list= (`/usr/bin/find $reports -mtime +30 -print`);
    if ($file_list[0]) {
       foreach $file (@file_list) {
          print "Removed $file";
          `rm -fr $file`;
       };
    }else{
       print "No tripwire report files were removed.\n";
    };
    ######################################################################
    opendir(REPORTDIR,$reports) || die "Unable to opendir $reports: $!";
    @numfiles= grep { /[^\.]\w+/ } readdir(REPORTDIR);
    $numfiles=@numfiles;
    close (REPORTDIR);
    print "Their are $numfiles reports left in the report archive.\n";
    ######################################################################
    undef @file_list;
    undef $file;
    undef $reports;
    undef *numfiles;

     

    You just have to make sure that you are pointing it at the right folder or it would wreck havic on your files. ;)

  3. I ended up buying the following, well at least for starters. ;)

     

    (1) Red locking - Parity

    (4) Black - Data

    (1) Blue - Cache

     

    I like that idea of using different colors for the controller card's. Not there yet, but when I am I think I might go with that too.

     

     

    Question how does unRAID react to moving your drives around like that if/when you move your existing drives to a controller card? I'm only starting off with (4) drives, but I know I'll end up going to (5) soon after for cache and having a (6) one in waiting.

     

    Is it best to fill up your Mobo ports then jump onto a controller card or does it really matter?

  4. I'm not one of the Gurus, but I wouldn't do any other hardwar swaps until your Bad drive is no longer bad. I'm on my phone and can't send you to it, but I know in the wiki it talks about using a larger drive than the parity to rebuild an array. I know it doesn't help you, but its at least a place to take a look.

     

    Back to my PC ;)

     

    This should sorta be required reading at least for this.

    http://lime-technology.com/wiki/index.php?title=UnRAID_Manual#Disk_configuration_changes

     

    It says something about a swap-disable.

    Look under failed disk.

     

    Now I'm not saying you should do this because the people that really know this will give you better help than I can, but I have been reading the wiki a lot lately and I saw that.

  5. Ok, I was looking at Sata Cables and came across Sata, Sata 2 and Sata 3.

     

    Doing some reading it appears that Sata and Sata 2 are compatable with each other. Now on MonoPrice.com they show Sata 3 cables.

     

    When you click on the Discription of Serial ATA 2/ SATA II Cables

    Up comes a ton of Sata 3 cables. I'm aware that Sata 3 is talking about the 6gbs drives, but are they the same interface as the 3gbs drives?

     

    I know the older style Satas used the molex plug for power, but are all of the Sata 1/2/3 the same as far as interface for data? Or is this the same thing as the old school IDE drives meaning if you are running a 133 drive you don't want to use an IDE cable that doesn't have the blue end or you will get the slower speeds? Meaning I could by Sata 3 now and if/when I do have a mobo and drives that support Sata 3 I would benifit?

     

    Man I'm really feeling out of it. LOL

     

    I figured I'd buy

    (1) Red for Parity - cant seem to find orange there

    (4) Blue for Data

    (1) Black for cache

  6. Personally that button is asking for trouble. With my limited knowledge of the web interface I was able to get a few things setup for testing. I'm almost sure I would of hit that button and screwed things up even knowing better since I've read it here many times.

     

    I did have one issue when I needed to find it, but did a search and found initconfig.

     

    Personally keep it simple and if need be build a help command into the console and when you type "help" have it give you a list of useful commands that are out of the web config or are nice to know commands that somebody might actually forget.

     

    Back in the day I used to use a lot of alias's and one of them was actually "Help" it would spit out a list of commands that often forgot. ;) Maybe it was Help Me. I don't rember any more.

  7. Well based on the budget build suggestion

    http://lime-technology.com/wiki/index.php?title=Hardware_Compatibility#Recommended_Builds

     

    Power Supply: CORSAIR CMPSU-400CX 400W (will support up to 12 drives)

     

    I of course do not have any intention of going that big as of yet, but I'll let you know once my hardware arrives and I start shoving things in it. I know for sure I'm looking at least

    1 parity

    2 media drives

    1 data drive

     

    Of course I might as well prepair for another drive or two as my media collection is ripped and readied. ;)

  8. Ok, dropped some digital funds on the net today and this is the current setup as far.

     

    Proc - AMD Sempron 140 Sargas 2.7 1MB AM3 45W Single Core Processor

    Mobo - BIOSTAR A760G M2+

    PSU - CORSAIR CMPSU-400CX 400W

    CASE - COOLER MASTER Centurion 590

    2TB Parity Drive Western Digital Caviar Green WD20EARS 2TB 64MB

     

    I don't know the distance from the Mobo to the bottom of the case where the 4-in-3 cage is and of course I need to order up some Sata cables, but I've seen prices anywhere from 99cents up to $5 a piece. I'm guessing the cheaper ones are going to cause failures. I'm not planning on running any controller cards as of yet since I'm only starting with 4 drives

     

    Can anybody give me a reasonable cable length or recommened a decent cable or is it more or less trail and error? I gave the forum a search and there is talk about loose cables and locking are always nice, but heck your talking to a guy who's used IDE cables forever and is now building his first Sata based machine.  ???

     

    Sorry if I keep sounding like a help me, help me person. I promise once I get it all figured out I will pay it all forward. ;)

  9. It looks like NewEgg is out of BIOSTAR A760G, but Amazon seems to have a few left nearly the same price including shipping. http://www.amazon.com/Biostar-MATX-AMD-Motherboard-A760G/dp/B001THLVUQ/ref=sr_1_1?ie=UTF8&s=electronics&qid=1277245476&sr=8-1

     

    $58.99

     

    It cost me $64.48 shipped

     

    NewEgg yesterday was 64.99 shipped, but sadly I didn't grab it yesterday and ordered all my parts today. Go figure huh?

  10. Is there a particular Norco you guys are talking about? On NewEgg I see a few of them, but trying to figure out which one is the one that would accept the stacker, but of course in its simplist form so later a stacker could be added when funds would/could be available.

     

    Still I think the Norco would be a bit overkill for my immediate needs, but having a rack Im sure in the future it would really come in handy as long as I could con the wife into letting me plug tons of drives into it.

  11. Yeah they look really nice. I however can't lay out that much money as of now. I might later after I'm really sold on unRAID. Honestly I have a bit of time in console and the webclient. Heck I haven't even prep'd my drives yet. I have a full size rack sitting in my office given to me by a friend, but I've got mixed feelings if I should relocate it since I only have a few things on it that can move else where. I can't at the moment because my garage isn't insulated, which I've been working on so its an oven in the summer and a freezer in the winter. So my immediate goal is to try and keep the heat and noise down. Heck in the garage id let the fans make all the racket they want.

     

    I'm guessing you might mean this as well for the access from the outside. Another item on the recommended list. Seems a bit pricey, but I'm sure its worth it for the added access opposed to having to crack open the case to tinker with drives.

    http://www.newegg.com/Product/Product.aspx?Item=N82E16817994027