The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

smartcheck

Discussion in 'General Discussion' started by rs-freddo, Jul 28, 2008.

  1. rs-freddo

    rs-freddo Well-Known Member

    Joined:
    May 13, 2003
    Messages:
    832
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Australia
    cPanel Access Level:
    Root Administrator
    I'm one of the many people that would like smartcheck to work properly on my drives.
    After reading /scripts/smartcheck
    i realise that this command line
    perl -MYAML::Syck=DumpFile -e 'DumpFile("/var/cpanel/smartcheck_custom_dash_d.yaml", {"/dev/sda"=>"ata"});'
    will fix my a drive
    BUT WHAT ABOUT MY B DRIVE...??????????
    perl -MYAML::Syck=DumpFile -e 'DumpFile("/var/cpanel/smartcheck_custom_dash_d.yaml", {"/dev/sdb"=>"ata"});'
    just replaces a with b
    i want them both to be in the yaml file.

    Any smarty out there who knows the command line to put both my hard drives into the yaml file?
     

Share This Page