Recent content by finalgt

  1. F

    Some (probably easy) bash scripting help

    devid=$(/opt/MegaRAID/MegaCli/MegaCli -LdPdInfo -aALL|sed -n -e "s/Device Id: //p") | xargs ./smartctl -a -d megaraid,$i /dev/sda | awk '/Device|Serial|^read|^write|^verify|^Non-medium/ {print $0}';Looks like it's stopping after the first running device id. How do I get it to repeat for all the...
  2. F

    Some (probably easy) bash scripting help

    censored$ devid=$(/opt/MegaRAID/MegaCli/MegaCli -LdPdInfo -aALL|sed -n -e "s/Device Id: //p"); echo -e "$devid" 29 17 20 21 18 19 22 28 24 25 26 27Alright, just a little bit further...now, the question is, how do I get the system to run ./smartctl -a -d megaraid,$devid for each of those values?
  3. F

    Some (probably easy) bash scripting help

    Tiny amount of progress: censored$ devid=$(/opt/MegaRAID/MegaCli/MegaCli -LdPdInfo -aALL|awk '/Device Id/ {print$0}'); echo $devid Device Id: 29 Device Id: 17 Device Id: 20 Device Id: 21 Device Id: 18 Device Id: 19 Device Id: 22 Device Id: 28 Device Id: 24 Device Id: 25 Device Id: 26 Device Id...
  4. F

    Some (probably easy) bash scripting help

    Okay, I feel like I need to bow to the Linux gods on this one. Been at it for 2 hours now with no luck, and my Google Fu is spectacularly unhelpful. Here's the deal: I have a bunch of different servers that have a bunch of LSI RAID controllers that I need to run a command on to output SMART...
  5. F

    This pretty much sums up how my day has been going today.

    Combination of -nodeps and --allmatches fixed my problem. Thanks! I was trying all sorts of shit to get an updated version onto that host; rsync and scp were involved. It was painful.
  6. F

    This pretty much sums up how my day has been going today.

    -bash-3.1# rpm -ivh flashupdt-1.9.70-4.i386.rpm Preparing... ########################################### [100%] package flashupdt-1.9.70-4 is already installed -bash-3.1# rpm -e --nodeps flashupdt-1.9.70-4.i386.rpm error: package flashupdt-1.9.70-4.i386.rpm is not...
  7. F

    Question for folks familiar with megacli

    Thanks for the help. After trying everything imaginable, it turns out you can get the commands to pass by putting in [:3], i.e., not putting anything for enclosure id. Updating to a newer version of megacli would have been much easier, but unfortunately this is a cloud compute datacenter...
  8. F

    Question for folks familiar with megacli

    I've had to start using megacli quite a bit at my new job, and while it's generally a pain in the ass (why do some flags have no vowels while others randomly do...?) I've pretty much gotten the hang of it. However, I'm at something of an impasse right now. I've got a number of boxes that had...
  9. F

    VCP4 cert holders with other certs: How hard is the VCP exam?

    From what I understand, I can take the exam without the class, it's just that VMware won't "recognize" a passing score without showing that I've taken the class. I'm aware I won't be able to say I have my VCP, I just want to be able to say I passed the exam. At that point, in theory, they'll...
  10. F

    VCP4 cert holders with other certs: How hard is the VCP exam?

    I've got little-to-no experience with VMware specifically, but I understand virtualization concepts well. Essentially, I want to see if it's feasible to go from that point to VCP4 certified in 4 weeks (3-4 hours studying per day, more on weekends) as a kind of "Fuck you" to my company, who sent...
  11. F

    VMworld 2010

    My company is exhibiting there, even though we're storage, and not really virtual. Management decided to get a booth to tout the fact that our storage has a VMWare storage management plug-in...
  12. F

    My Captivate Review

    How sturdy does the phone feel? How accurate is the touch screen? Phone looks good, and so do the specs. I have severe trust issues with Samsung after the Eternity, though.
  13. F

    Need recommendation for sturdy AT&T phone

    I got a Samsung "Eternity" back in November 2008. Thought the touch screen performed well enough in the store, but I realized after using it daily that the entire phone is just slow as fuck. Oh, and the touch screen stopped working a month ago. Kinda shitty thing for a phone that can *only be...
  14. F

    I want to start learning webapp development. Where do I start?

    Maybe my Google Fu is weak, but every search I've tried invariably leads to articles from sites like about.com from 8 years ago about how to make an Angelfire family album in HTML. It's starting to become professionally desirable for me to jump into programming, specifically of the dynamic...
  15. F

    Dynamips/Dynagen Official Thread. CCNA/CCNP/CCIE equipment questions... come here!

    Alright, so I'm running through this in an attempt to get my CCNA, and I've only got one question: where the hell do I find IOS images? lol.
Back
Top