March 26, 201412 yr I would change to a Capital A like RobJ suggested as a first attempt. I always used a capital A (-A) in my change as I'm fairly sure that is how it was done in the post on the myMain thread that I read. It is also possible that option is only affecting myMain and not the rest of unMENU. So you may need to look at the .awk files and change the code directly to have the -a instead of the "-d ata" in it for the "Array Management" menu option. Tried using -A to no avail. How would I go about editing the code in the .awk files? Sorry for the noobish questions, I'm really not familiar with linux AT ALL. I used an editor from my windows box (Notepad2 is what I used but Notepad+ is recommended allot on the forums also). Then I did a find of "-d ata" in the .awk file (it's just a text source code file) and changed it. You might be able to use Windows search as well to find the .awk files to change and then use Notepad2/Notepad+ to do the changes. Just make sure you change to unix line endings when you save the file or it will not work. Also I would backup any file you want to change first unchanged. Otherwise tonight I can get you a list of the files I use to change tonight when I get home from work.
March 26, 201412 yr Author I would change to a Capital A like RobJ suggested as a first attempt. I always used a capital A (-A) in my change as I'm fairly sure that is how it was done in the post on the myMain thread that I read. It is also possible that option is only affecting myMain and not the rest of unMENU. So you may need to look at the .awk files and change the code directly to have the -a instead of the "-d ata" in it for the "Array Management" menu option. Tried using -A to no avail. How would I go about editing the code in the .awk files? Sorry for the noobish questions, I'm really not familiar with linux AT ALL. I used an editor from my windows box (Notepad2 is what I used but Notepad+ is recommended allot on the forums also). Then I did a find of "-d ata" in the .awk file (it's just a text source code file) and changed it. You might be able to use Windows search as well to find the .awk files to change and then use Notepad2/Notepad+ to do the changes. Just make sure you change to unix line endings when you save the file or it will not work. Also I would backup any file you want to change first unchanged. Otherwise tonight I can get you a list of the files I use to change tonight when I get home from work. Thanks for your help. I will look into this when I have some time today and report back.
March 27, 201412 yr I have removed all occcurances of '-d ata' from 09-unmenu-disk_mgmt.awk. Now it works.
March 27, 201412 yr Author I have removed all occcurances of '-d ata' from 09-unmenu-disk_mgmt.awk. Now it works. You just removed '-d ata' or replaced it with '-a'?
March 27, 201412 yr Author I removed it. Awesome. That worked for me too. Thanks! Does the test output to a log file somewhere? I don't see any reference to the results or the test at all in the SysLog. Also, has anyone had any luck setting up automation with UnMenu? I'd love to setup weekly short smart tests and maybe monthly extended tests to run at say 4am on Monday morning and have the report emailed to me.
March 27, 201412 yr It's a silly interface, there is a button to the left of the smart test button you have to push after a minute or so, that will show the result. There is no other reminder or event.
March 28, 201412 yr SMART reports and SMART tests are different, in that they aren't running within the computer like other programs, but entirely within each of your drives. When you ask for a SMART report, the computer passes the request on to the drive, and it returns the full content of the SMART report back. If you want to run a SMART test, you request that the drive start the test, and if there is no error returned, you can assume that it's running. But there's absolutely nothing to see, because it's entirely within the drive (which has no monitor!). So you wait around for awhile, then request a SMART report and near the bottom of that report you will see whether the test is finished, and if so the results. In the early part of the report are instructions as to how long to wait before asking for a SMART report, typically a few minutes for short tests and often 255 minutes or longer for long tests. Yes, this could be automated but would require parsing SMART reports. You can't even get progress reports, because they never want you requesting SMART reports too soon for some reason.
Archived
This topic is now archived and is closed to further replies.