some ZFS-related improvements to sysdiagnose

Moderators: jhartley, MSR734, nola

some ZFS-related improvements to sysdiagnose

Post by grahamperrin » Wed Nov 14, 2012 2:28 pm

Related: sysdiagnose and related approaches to gathering information

For reference only, here's a shortlist of sysdiagnose-related feedback to Apple. A few of the items are ZFS-related.

Most details were lost a few months ago (my bad) when a hard disk failed without comprehensive backups, hence the gaps below. I might fill the gaps at some point in the future but in the meantime, the titles alone are fairly self-explanatory.

----

process-specific things should run earlier in the sysdiagnose routine


sysdiagnose should run allmemory – typically the longest part of its routine – later, or last

… because running allmemory before spindump may take so long that when spindump time is reached, there's no longer value in gathering process-specific data …

if any partition type is ZFS, then sysdiagnose should run zpool status -xv -T d



if any partition type is ZFS, then sysdiagnose should run zfs list, then for each listed filesystem zfs get all



if any partition type is ZFS, then sysdiagnose should try zstat



sysdiagnose seems unable to move on in troublesome environments



if sysdiagnose is used with option -f then allmemory should use the same path for transient subdirectory allmemoryDataFiles and for allmemoryData.amdata



nvram -p enhancement to the sysdiagnose script

Within the script,
/usr/bin/sysdiagnose
I see nothing relating to NVRAM.

Results of script might be improved with use of:

nvram -p

Maybe also option -x for XML. Whatever will be most useful for diagnoses.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Process-specific things

Post by grahamperrin » Sat Jan 05, 2013 5:59 am

grahamperrin wrote:process-specific things should run earlier in the sysdiagnose routine


Two of the process-specific things listed in my previous post must run after, not before, sysdiagnose.
Last edited by grahamperrin on Thu Jan 24, 2013 2:09 am, edited 2 times in total.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

A question for people who have scripting skills

Post by grahamperrin » Thu Jan 24, 2013 2:12 am

grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom

Re: some ZFS-related improvements to sysdiagnose

Post by marlinbrown » Mon Feb 04, 2013 1:45 am

I'm curious if anyone can recommend any kind of enclosure that does NOT use hardware RAID and is simply a way to create an inexpensive RAIDz that works with the Zevo Community edition software.
Become photoshop expert with 70-290 training course. Get the latest pmp dumps css tutorials and design guide to learn about different web applications.is a Beautiful this page JUNIPER and more visit this page The Johns Hopkins University ,Best Wishes.
marlinbrown Offline


 
Posts: 1
Joined: Mon Feb 04, 2013 1:44 am

Open source sysdiagnose

Post by grahamperrin » Sun Oct 13, 2013 12:44 am

Not specific to ZFS, but worth mentioning, my feedback to Apple includes the following request (2013-01-04):

  • please add sysdiagnose to Apple open source.
grahamperrin Offline

User avatar
 
Posts: 1596
Joined: Fri Sep 14, 2012 10:21 pm
Location: Brighton and Hove, United Kingdom


Return to General Discussion

Who is online

Users browsing this forum: ilovezfs and 0 guests

cron