AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:
CFG:
PT:0
S:andy.sharp@lsi.com
RQ:
SSV:mhbs.lsil.com
NSV:
SSH:
R:<Dave.Johnson@lsi.com>,<larry.scheer@lsi.com>,<chris.vandever@lsi.com>
MAID:2
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/LSI/INBOX	0	C5277CB418429641BC1498607A9F4805A66D8A3F@cosmail01.lsi.com
X-Sylpheed-End-Special-Headers: 1
Date: Thu, 3 Dec 2009 13:22:44 -0800
From: Andrew Sharp <andy.sharp@lsi.com>
To: "Johnson, Dave" <Dave.Johnson@lsi.com>
Cc: Larry Scheer <larry.scheer@lsi.com>, Chris Vandever
 <chris.vandever@lsi.com>
Subject: Re: Utility to identify clusterdb version...
Message-ID: <20091203132244.6de340a2@ripper.onstor.net>
In-Reply-To: <C5277CB418429641BC1498607A9F4805A66D8A3F@cosmail01.lsi.com>
References: <C5277CB418429641BC1498607A9F4805A66D8A3F@cosmail01.lsi.com>
Organization: LSI
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

Cool!

Sounds to me like something we should incorporate into the filer
filesystem, no?  CC'ing Larry because he could handle this with his
eyes partly closed.  All it takes is adding an entry in /etc/magic,
right?  No mods to the 'file' program itself?

Cheers,

a

On Thu, 3 Dec 2009 14:07:45 -0700 "Johnson, Dave"
<Dave.Johnson@lsi.com> wrote:

> With Chris' help I've written a magic recipe for identifying cluster
> database version with the `file` utility without having to copy the
> db file to a live system and running dbtools.
> 
> It is currently only available on beast:
> 
> djohnson@beast:~$
> djohnson@beast:~$
> cd /n/dw/bycase/case0004001-case0006000/case4044/filer2,sn_0625051026/system_get_all,20070510_21100220
> djohnson@beast:/n/dw/bycase/case0004001-case0006000/case4044/filer2,sn_0625051026/system_get_all,20070510_21100220$
> file cluster.db.DB0 cluster.db.DB0: EverON Cluster Database File -
> Version 2.2.0.0
> djohnson@beast:/n/dw/bycase/case0004001-case0006000/case4044/filer2,sn_0625051026/system_get_all,20070510_21100220$
> cd /n/dw/bycase/case0002001-case0004000/case3336/system_get_all,JPTYFS23,2009-09-18
> djohnson@beast:/n/dw/bycase/case0002001-case0004000/case3336/system_get_all,JPTYFS23,2009-09-18$
> file cluster.db.DB0 cluster.db.DB0: EverON Cluster Database File -
> Version 3.3.1.0
> djohnson@beast:/n/dw/bycase/case0002001-case0004000/case3336/system_get_all,JPTYFS23,2009-09-18$
> cd djohnson@beast:~$
> 
> The recipe is in beast:/etc/magic if you want to install on your own
> system.
> 
> -=dave
> 
> Dave Johnson
> Escalations Engineer
> Customer Support
> T +1-866-SAN-FILE
> 
> LSI Corporation
> 254 East Hacienda Avenue
> Campbell, California 95008
> United States
> T +1-415-685-3483
> dave.johnson@lsi.com
> lsi.com
> 
