Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

one liner command that shows model etc. along with smartctl --scan? #4

Open
anish70 opened this issue Aug 1, 2017 · 2 comments
Open

Comments

@anish70
Copy link

anish70 commented Aug 1, 2017

Hi,

Sitting behind LSI MegaRAID, it is very hard to know what devices make up your RAID.
One way to do that is to run 'smartctl --scan'.

However, if I have multiple RAIDs on the same box, it is hard to know details of a Device-ID like model, capacity etc.

Can an option be added to address above?

Ideally smartctl --scan --info works together to print a succinct output that shows DID, along with model and capacity?

thanks,
Anish

@samm-git
Copy link

Hi, i dont think that you need any kind of special command for that. Just use something like smartctl --scan|awk '{print $1}'|xargs -n1 smartctl --info and tat will do the job.

@samm-git
Copy link

@anish70 please also note that is not an official mirror or project bugtracker. Use smartmontools.org or github.com/smartmontools/smartmontools instead

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants