X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C77331.11A7EE6D@onstor-exch02.onstor.net>; Fri, 30 Mar 2007 18:08:19 -0700
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Content-class: urn:content-classes:message
Subject: RE: Adding the -e option to the tar didn't have the desired results.
Date: Fri, 30 Mar 2007 18:08:18 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E03112BFD@onstor-exch02.onstor.net>
In-Reply-To: <20070330180629.69d02fb2@ripper.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Adding the -e option to the tar didn't have the desired results.
Thread-Index: AcdzMNBa/vqe0rc7Tg+P11Rk8jkSuQAADGYQ
References: <BB375AF679D4A34E9CA8DFA650E2B04E022156E4@onstor-exch02.onstor.net><BB375AF679D4A34E9CA8DFA650E2B04E03112BF0@onstor-exch02.onstor.net> <20070330180629.69d02fb2@ripper.onstor.net>
From: "Brian DeForest" <brian.deforest@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>
Cc: "Larry Scheer" <larry.scheer@onstor.com>

Duh, you're right.   Must be Friday...

-----Original Message-----
From: Andy Sharp=20
Sent: Friday, March 30, 2007 6:06 PM
To: Brian DeForest
Cc: Larry Scheer
Subject: Re: Adding the -e option to the tar didn't have the desired
results.

On Fri, 30 Mar 2007 17:57:25 -0700 "Brian DeForest"
<brian.deforest@onstor.com> wrote:

> Another idea we had discussed was to possibly determine up front if
> there is sufficient disk space available for the entire release.    If
> this can't be calculated on the fly during the install, maybe create a
> file at build time that contains the size of the uncompressed
> binaries, then read this early in the install to do the space check.

Won't work: it will fail even when there is more than enough space to
do the install.  The only way to account for the space that will be
reused by the upgrade is to do an on-the-fly check of how much space
the replaced binaries are currently occupying.  If you think the
upgrade takes too long now....

> From: Larry Scheer=20
> Sent: Friday, March 30, 2007 5:39 PM
> To: Brian DeForest; Andy Sharp
> Cc: Larry Scheer
> Subject: Adding the -e option to the tar didn't have the desired
> results.
>=20
> I added the -e option to the tar command thinking it would fix defect
> # 18113 (Install continues even if file system is full.)
>=20
> The install did pause long enough for me kill the upgrade with <ctrl>
> C, but I chose to play customer and ignore the message. The end
> result was as you see it below. Upgrade ran to completion and
> reported a file still needing upgrading. Tar was able to
> replace/over-write the other files on the flash, just not add the new
> one.
>=20
> Installing distribution files on Fri Mar 30 17:02:55 PDT 2007
> This may take a while...
> Command: tar exvzpf /mnt/R2.3.0.DEV-BCDBG-033007.tar.gz -C /mnt1 -T
> /mnt/files-to_upgrade.lst
>=20
> /mnt1/usr/local/agile: write failed, file system is full
>=20
> tar: Failed write to file
> ./usr/local/agile/lib/libauthen.so./txrx_bc.bin
> ./usr/lib/libldap-2.2.so.7.19
> ./usr/lib/libldap_r-2.2.so.7.19
> ./usr/local/agile/lib/libpm.so
> ./usr/local/agile/lib/libfs.so
> ./usr/local/agile/lib/libafsutil.so
> ./usr/local/agile/lib/libucdmibs.so
> ./usr/local/agile/lib/libfile.so
> ./usr/local/agile/lib/libe_log.so
> ./usr/local/agile/lib/libubik.so
> ./usr/local/agile/lib/libevent.so
> ./usr/local/agile/lib/libipmd.so
> ./usr/local/agile/lib/liblwp.so
> ./usr/local/agile/lib/libauthen.so <No space left on device>
>                                                 <--------- Paused long
> enough here for me to kill upgrade=20
> ./usr/local/agile/lib/libanpssc.so
> ./usr/local/agile/lib/libncm.so
> ./usr/local/agile/lib/libsnmp.so
> ./usr/local/agile/lib/libopt.so
> ./usr/local/agile/lib/libutils.so
> ./usr/local/agile/lib/libshlt.so
> ./usr/local/agile/lib/libicucommon.so
> ./usr/local/agile/lib/libucdagent.so
> ./usr/local/agile/lib/librmc.so
> ./usr/local/agile/lib/libafsrx.so
> ./usr/local/agile/lib/libgns.so
> ./usr/local/agile/lib/libnfxsh.so
> ./usr/local/agile/lib/libcluster.so
> ./usr/local/agile/lib/libnfxnis.so
> ./usr/local/agile/bin/ncm_server
> ./usr/local/agile/bin/volread
> ./usr/local/agile/bin/sendmail
> ./usr/local/agile/bin/fsdb
> ./usr/local/agile/bin/prom-upgrade
> ./usr/local/agile/bin/simevtx
> ./usr/local/agile/bin/sshd
> ./usr/local/agile/bin/tape-driver
> ./usr/local/agile/bin/encrypt_pw
> ./usr/local/agile/bin/raid-ui
> ./usr/local/agile/bin/spm
> ./usr/local/agile/bin/sscccc
> ./usr/local/agile/bin/txrxcmd
> ./usr/local/agile/bin/sanmd
> ./usr/local/agile/bin/smbcontrol
> ./usr/local/agile/bin/registryMgr
> ./usr/local/agile/bin/snmpd
> ./usr/local/agile/bin/timekeeper
> ./usr/local/agile/bin/ea
> ./usr/local/agile/bin/nistest
> ./usr/local/agile/bin/socat
> ./usr/local/agile/bin/ctest
> ./usr/local/agile/bin/sdm_cfgd
> ./usr/local/agile/bin/options
> ./usr/local/agile/bin/chassis
> ./usr/local/agile/bin/vtmd
> ./usr/local/agile/bin/modify-ro
> ./usr/local/agile/bin/rmc_server
> ./usr/local/agile/bin/tape-sniffer
> ./usr/local/agile/bin/sysHealth
> ./usr/local/agile/bin/sanmcron
> ./usr/local/agile/bin/crashsaved
> ./usr/local/agile/bin/fscmd
> ./usr/local/agile/bin/dcache
> ./usr/local/agile/bin/ndmp_ui
> ./usr/local/agile/bin/ldaptest
> ./usr/local/agile/bin/dbtools
> ./usr/local/agile/bin/tape-ui
> ./usr/local/agile/bin/ncmd
> ./usr/local/agile/bin/filesh
> ./usr/local/agile/bin/ascron
> ./usr/local/agile/bin/ipmd
> ./usr/local/agile/bin/ndmp_cfgd
> ./usr/local/agile/bin/fsbench
> ./usr/local/agile/bin/vsd
> ./usr/local/agile/bin/dumplic
> ./usr/local/agile/bin/sysdvt
> ./usr/local/agile/bin/ncm_client
> ./usr/local/agile/bin/cluster_server
> ./usr/local/agile/bin/nfxsh
> ./usr/local/agile/bin/write
> ./usr/local/agile/bin/evm_cfgd
> ./usr/local/agile/bin/addlic
> ./usr/local/agile/bin/rcon
> ./usr/local/agile/bin/eventd
> ./usr/local/agile/bin/asd
> ./usr/local/agile/bin/pmtool
> ./usr/local/agile/bin/tape-copy
> ./usr/local/agile/bin/chassisd
> ./usr/local/agile/bin/rmc_client
> ./usr/local/agile/bin/cluster_contrl
> ./usr/local/agile/bin/storage
> ./usr/local/agile/bin/raid-cfgd
> ./usr/local/agile/bin/mc-ui
> ./usr/local/agile/bin/cifsd
> ./usr/local/agile/bin/net
> ./usr/local/agile/bin/hostidd
> ./usr/local/agile/bin/stdiod
> ./usr/local/agile/bin/dellic
> ./usr/local/agile/bin/auth-agent
> ./usr/local/agile/bin/elog
> ./usr/local/agile/bin/cluster_relay
> ./usr/local/agile/bin/read
> ./usr/local/agile/bin/pm
> ./usr/local/agile/bin/wrv
> ./usr/local/agile/bin/elog-shell
> ./etc/var.tgz
> ./fp_bc.bin
> ./fc_bc.bin
>=20
> Filesystem updated on Fri Mar 30 17:07:42 PDT 2007
> Verifying filesystem integrity
> Checking: etc/var.tgz
> Checking: fc_bc.bin
> Checking: fp_bc.bin
> Checking: txrx_bc.bin
> Checking: usr/lib/libldap-2.2.so.7.19
> Checking: usr/lib/libldap_r-2.2.so.7.19
> Checking: usr/local/agile/bin/addlic
> Checking: usr/local/agile/bin/ascron
> Checking: usr/local/agile/bin/asd
> Checking: usr/local/agile/bin/auth-agent
> Checking: usr/local/agile/bin/chassis
> Checking: usr/local/agile/bin/chassisd
> Checking: usr/local/agile/bin/cifsd
> Checking: usr/local/agile/bin/cluster_contrl
> Checking: usr/local/agile/bin/cluster_relay
> Checking: usr/local/agile/bin/cluster_server
> Checking: usr/local/agile/bin/crashsaved
> Checking: usr/local/agile/bin/ctest
> Checking: usr/local/agile/bin/dbtools
> Checking: usr/local/agile/bin/dcache
> Checking: usr/local/agile/bin/dellic
> Checking: usr/local/agile/bin/dumplic
> Checking: usr/local/agile/bin/ea
> Checking: usr/local/agile/bin/elog
> Checking: usr/local/agile/bin/elog-shell
> Checking: usr/local/agile/bin/encrypt_pw
> Checking: usr/local/agile/bin/eventd
> Checking: usr/local/agile/bin/evm_cfgd
> Checking: usr/local/agile/bin/filesh
> Checking: usr/local/agile/bin/fsbench
> Checking: usr/local/agile/bin/fscmd
> Checking: usr/local/agile/bin/fsdb
> Checking: usr/local/agile/bin/hostidd
> Checking: usr/local/agile/bin/ipmd
> Checking: usr/local/agile/bin/ldaptest
> Checking: usr/local/agile/bin/mc-ui
> Checking: usr/local/agile/bin/modify-ro
> Checking: usr/local/agile/bin/ncm_client
> Checking: usr/local/agile/bin/ncm_server
> Checking: usr/local/agile/bin/ncmd
> Checking: usr/local/agile/bin/ndmp_cfgd
> Checking: usr/local/agile/bin/ndmp_ui
> Checking: usr/local/agile/bin/net
> Checking: usr/local/agile/bin/nfxsh
> Checking: usr/local/agile/bin/nistest
> Checking: usr/local/agile/bin/options
> Checking: usr/local/agile/bin/pm
> Checking: usr/local/agile/bin/pmtool
> Checking: usr/local/agile/bin/prom-upgrade
> Checking: usr/local/agile/bin/raid-cfgd
> Checking: usr/local/agile/bin/raid-ui
> Checking: usr/local/agile/bin/rcon
> Checking: usr/local/agile/bin/read
> Checking: usr/local/agile/bin/registryMgr
> Checking: usr/local/agile/bin/rmc_client
> Checking: usr/local/agile/bin/rmc_server
> Checking: usr/local/agile/bin/sanmcron
> Checking: usr/local/agile/bin/sanmd
> Checking: usr/local/agile/bin/sdm_cfgd
> Checking: usr/local/agile/bin/sendmail
> Checking: usr/local/agile/bin/simevtx
> Checking: usr/local/agile/bin/smbcontrol
> Checking: usr/local/agile/bin/snmpd
> Checking: usr/local/agile/bin/socat
> Checking: usr/local/agile/bin/spm
> Checking: usr/local/agile/bin/sscccc
> Checking: usr/local/agile/bin/sshd
> Checking: usr/local/agile/bin/stdiod
> Checking: usr/local/agile/bin/storage
> Checking: usr/local/agile/bin/sysHealth
> Checking: usr/local/agile/bin/sysdvt
> Checking: usr/local/agile/bin/tape-copy
> Checking: usr/local/agile/bin/tape-driver
> Checking: usr/local/agile/bin/tape-sniffer
> Checking: usr/local/agile/bin/tape-ui
> Checking: usr/local/agile/bin/timekeeper
> Checking: usr/local/agile/bin/txrxcmd
> Checking: usr/local/agile/bin/volread
> Checking: usr/local/agile/bin/vsd
> Checking: usr/local/agile/bin/vtmd
> Checking: usr/local/agile/bin/write
> Checking: usr/local/agile/bin/wrv
> Checking: usr/local/agile/lib/libafsrx.so
> Checking: usr/local/agile/lib/libafsutil.so
> Checking: usr/local/agile/lib/libanpssc.so
> Checking: usr/local/agile/lib/libauthen.so
> usr/local/agile/lib/libauthen.so old version needs upgrade
> Checking: usr/local/agile/lib/libcluster.so
> Checking: usr/local/agile/lib/libe_log.so
> Checking: usr/local/agile/lib/libevent.so
> Checking: usr/local/agile/lib/libfile.so
> Checking: usr/local/agile/lib/libfs.so
> Checking: usr/local/agile/lib/libgns.so
> Checking: usr/local/agile/lib/libicucommon.so
> Checking: usr/local/agile/lib/libipmd.so
> Checking: usr/local/agile/lib/liblwp.so
> Checking: usr/local/agile/lib/libncm.so
> Checking: usr/local/agile/lib/libnfxnis.so
> Checking: usr/local/agile/lib/libnfxsh.so
> Checking: usr/local/agile/lib/libopt.so
> Checking: usr/local/agile/lib/libpm.so
> Checking: usr/local/agile/lib/librmc.so
> Checking: usr/local/agile/lib/libshlt.so
> Checking: usr/local/agile/lib/libsnmp.so
> Checking: usr/local/agile/lib/libubik.so
> Checking: usr/local/agile/lib/libucdagent.so
> Checking: usr/local/agile/lib/libucdmibs.so
> Checking: usr/local/agile/lib/libutils.so
>=20
> The following files need upgrading:
>=20
> ./usr/local/agile/lib/libauthen.so
>=20
> Updating configuration files
> tar command:
> cd /; /bin/tar -b 63 -s '+etc/fstab++' -s '+usr/local/agile$++' -cf -
> usr/local/agile/conf/agile.conf etc/hosts etc/mygate etc/hostname.sc1
> etc/hostname.sc2 etc/master.passwd etc/passwd etc/pwd.db etc/spwd.db
> etc/myname usr/local/agile/conf/cluster.conf
> usr/local/agile/conf/cluster.db.DB0
> usr/local/agile/conf/cluster.db.DBSYS1 /etc/resolv.conf
> /etc/ssh/ssh_host_dsa_key.pub /etc/ssh/ssh_host_dsa_key
> /etc/ssh/ssh_host_key.pub /etc/ssh/ssh_host_key
> /etc/ssh/ssh_host_rsa_key/ /etc/ssh/ssh_host_rsa_key.pub
/etc/localtime
> /etc/syslog.conf /etc/ntp.conf /etc/ntp/step-tickers
> /usr/local/agile/etc/elog.conf /usr/local/agile/etc/syslog.conf
> usr/local/agile/etc/snmpd.conf 2>/dev/null | (cd /mnt1; tar -xhvpf -
> 2>/dev/null)
> usr/local/agile/conf/agile.conf
> etc/hosts
> etc/mygate
> etc/hostname.sc1
> etc/hostname.sc2
> etc/master.passwd
> etc/passwd
> etc/pwd.db
> etc/spwd.db
> etc/myname
> usr/local/agile/conf/cluster.conf
> usr/local/agile/conf/cluster.db.DB0
> usr/local/agile/conf/cluster.db.DBSYS1
> etc/ssh/ssh_host_dsa_key.pub
> etc/ssh/ssh_host_dsa_key
> etc/ssh/ssh_host_key.pub
> etc/ssh/ssh_host_key
> etc/ssh/ssh_host_rsa_key
> etc/ssh/ssh_host_rsa_key.pub
> etc/localtime
> etc/syslog.conf
> etc/ntp.conf
> etc/ntp/step-tickers
> usr/local/agile/etc/elog.conf
> usr/local/agile/etc/syslog.conf
> usr/local/agile/etc/snmpd.conf
> Upgrade of the standby flash completed
> Unmounting /mnt1/usr/local/agile/conf...done.
> Unmounting /mnt1/var...done.
> Unmounting /mnt1/usr/local/agile...done.
> Unmounting /mnt1/usr...done.
> Unmounting /mnt1/tmp...done.
> Unmounting /mnt1/...done.
> eng216 diag>
