Re: How configure smartctl (not smartd)
Tudor Holton <[email protected]> Mon, 8 Aug 2016 12:07:06 +1000
| Newsgroups | gmane.linux.utilities.smartmontools |
|---|---|
| Message-ID | <[email protected]> |
I second that. I have a number of machines with megaraid controllers. I just put an alias (actually, a bunch of scripts) in /opt/megaraid and then add it to the path ahead of smartctl. I must admit it's a nuisance, tho, but that's the tradeoff for getting so many devices on one motherboard. ;-) Cheers, Tudor. On 07/08/16 19:44, Orsiris de Jong wrote: > RE: [smartmontools-support] How configure smartctl (not smartd) > > Why don't you use an alias ? > > > Orsiris de Jong > > [email protected] - http://www.netpower.fr > > > -----Message initial----- > *De:* fortaisur <[email protected]> > *Envoyé:* dimanche 7 août 2016 7:28 > *À:* [email protected] > *Sujet:* Re: [smartmontools-support] How configure smartctl (not > smartd) > > fortaisur <[email protected]> wrote: > > >One platform I am now working with occasionally has a RAID controller > >which requires adding e.g. " -d sat+megaraid,0" to the smartctl command line > >in order to get anything useful. > > > >I don't work with the platform that much so keep forgetting that parameter > >and have to look it up again. > > > >I assumed there would be a smartctl.conf, or an environment variable like SMARTCTL, > >where I could set that so I don't need to specify it. I cannot find any > >documentation on any way to set smartctl arguments like that. The smartd.conf > >appears to be for smartd only, not smartctl. > > > >Is there some way to set arguments like this? I realize I could make a shell > >alias or function, but most programs have some built-in way to set commonly-needed > >options. > > > >I noticed that per the system logs, smartd needs no such specification - it > >appears to automatically figure out the type of drive/controller. Is there any > >way to get smartctl to do the same? > > > > Hmm, no responses - so smartctl has no way to auto-detect, or set its options? > > > > ------------------------------------------------------------------------------ > _______________________________________________ > Smartmontools-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > > > > ------------------------------------------------------------------------------ > > > _______________________________________________ > Smartmontools-support mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/smartmontools-support ------------------------------------------------------------------------------ _______________________________________________ Smartmontools-support mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/smartmontools-support