tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* Patch removal without backup
@ 2002-05-16 13:21 Joe Hatchel
  2002-05-16 17:48 ` SUMMARY: " Joe Hatchel
  0 siblings, 1 reply; 5+ messages in thread
From: Joe Hatchel @ 2002-05-16 13:21 UTC (permalink / raw)


I have a 4.0G pk3 box to which I have to install C2
security.  During this process I have to uninstall one
of the patches from the Patch Kit.  The problem, they
were installed without a backup.  Any ideas on how
this might be done?

My first pass reaction is to take a small box, install
4.0G then the patch with a backup.  But can I just
"move" this info to the target box and have dupatch
recognize it and delete the patch?  Procedures?

Your comments would be greatly appreciated.
Joe

=====
===========================================
Joe Hatchel
Database Administrator
PPD Development
Richmond, VA

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* SUMMARY: Patch removal without backup
  2002-05-16 13:21 Patch removal without backup Joe Hatchel
@ 2002-05-16 17:48 ` Joe Hatchel
  2002-05-16 17:55   ` backup problem Jonathan Williams
  2002-05-16 19:14   ` re-labeling disk after debian Michael A. Crowley
  0 siblings, 2 replies; 5+ messages in thread
From: Joe Hatchel @ 2002-05-16 17:48 UTC (permalink / raw)


Thanks to Dr. Tom Blinn and Vincent Kiely for their
responses.  First my apologies for the inaccuracy of
my description of the problem.  Instead of "backup" I
should have said the patches were installed
irreversibly, ie I could not back them out.  

What I did was to place the .gz file, from another
system, corresponding the the patch I wished to
uninstall into /usr/adm/patch/backup.  Into single
user mode, and deleted the patch without incident and
rebooted.  Loaded the C2 subsets from the distribution
then back into single user mode to install the removed
patch plus another required patch.  I may have gotten
lucky in that there was only one file in the tar ball
to be replaced.

Neither dupatch or setld complained of errors and both
the subsets and patches are listed as installed.

I ran secsetup without incident, so I think I dodged a
bullet.

My original question follows.

Thanks
Joe

> I have a 4.0G pk3 box to which I have to install C2
> security.  During this process I have to uninstall
> one
> of the patches from the Patch Kit.  The problem,
> they
> were installed without a backup.  Any ideas on how
> this might be done?
> 
> My first pass reaction is to take a small box,
> install
> 4.0G then the patch with a backup.  But can I just
> "move" this info to the target box and have dupatch
> recognize it and delete the patch?  Procedures?
> 



=====
===========================================
Joe Hatchel
Database Administrator
PPD Development
Richmond, VA

__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com


^ permalink raw reply	[flat|nested] 5+ messages in thread

* backup problem
  2002-05-16 17:48 ` SUMMARY: " Joe Hatchel
@ 2002-05-16 17:55   ` Jonathan Williams
  2002-05-16 19:14   ` re-labeling disk after debian Michael A. Crowley
  1 sibling, 0 replies; 5+ messages in thread
From: Jonathan Williams @ 2002-05-16 17:55 UTC (permalink / raw)



Ok...Either this is a Tru64 thing, or an Informix thing.  So I'll start here and
hope it's a Tru64 thing.  We have 4 systems (three ES40 5.1, and one ES45 5.1a),
and one TL895 Tape Library.  The tape library plugs into a Fibre channel tape
converter (controller?), and this in turn pulgs into a 16-port fibre switch--and
all the system plug into this switch as well.  This allows us to have all of the
tape drives available to all of the systems at all times.  We use these drives
to backup our Informix Databases every night.  We backup our main online
database and a backup database (which is identical to the online) everynight at
the same time (two different systems, two different drives).  Once in a while
(seems to be happening more frequently as time goes on), one of the backups will
fail with ISAM error number 28 (No space left on device).  But if we try to do
the backup again, it will be ok.  So obviously there was enough space on the
tape...so something else must be wrong.   I was thinking about it, and--I
think--every time a backup fails, it is not the only backup that is running at
that time.  Is it possible that the simultaneous backups might be causing
something odd within the fibre channel tape converter?  Or maybe in the switch?
Causing Informix to not be able to write to the tape, and thinks that the tape
is full because of this?  It doesn't happen too often, but often enough to be a
concern.  And it's because it doesn't happen everytime that I wonder if it's
hardware at all...and maybe it's just the wonderful world of Informix.  Has
anyone else had any sort of similar setup and situation?  Thanks in advance.

Jonathan Williams
Unix Systems Administrator
The Shubert Organization, Inc.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* re-labeling disk after debian
  2002-05-16 17:48 ` SUMMARY: " Joe Hatchel
  2002-05-16 17:55   ` backup problem Jonathan Williams
@ 2002-05-16 19:14   ` Michael A. Crowley
  2002-05-17 18:39     ` SUMMARY: " Michael A. Crowley
  1 sibling, 1 reply; 5+ messages in thread
From: Michael A. Crowley @ 2002-05-16 19:14 UTC (permalink / raw)



I'm having a problem relabeling a disk.  It's a Seagate ST15150W that
was used on an Alpha Debian linux system.  I don't seem to be able
to get the disklabel program to write anything new.  Partitions a and
c are not at offset 0.

How can I get control back of this thing?  Any way of writing to this
thing raw?  It's at bus 0, lun 0, target 0.

This is tu5.1

Here are some cut/paste details:

The disk label includes:

3 partitions:
#          size     offset    fstype   [fsize bsize   cpg]      # NOTE: values not exact
  a:    5665464       2268   resrvd8                    # (Cyl.    1 - 2498)
  b:    1589868    5667732   resrvd8                    # (Cyl. 2499 - 3199)
  c:    1131732    7257600      swap                    # (Cyl. 3200 - 3698)

When trying to do any normal editing of that disklabel:
     "/tmp/EdDk.aaaaVca" 24 lines, 668 characters
     write new label? [y]: y
     partition c: partition extends past end of unit
     re-edit the label? [y]: n
So I cannot change the label to add or modify a partition with offset=0.

Also:
   # disklabel -z dsk10c
   Disk is unlabeled or, /dev/rdisk/dsk10c is not in block 0 of the disk

And: 
   # disklabel -sF dsk10c unused
   The disklabel for /dev/rdisk/dsk10c could not be updated.

Other attempts:
   I'm not real well versed in the scu program.  I tried
   running scu and writing raw data to the disk, hoping that
   would clear things.  However, I'm not running scu right to
   do this:
      # scu -c /dev/cam
      scu> set nexus bus 0 lun 0 target 0
      Device: ST15150W, Bus: 0, Target: 0, Lun: 0, Type: Direct Access
      scu> write media starting 0 limit 1m bs 10k
      scu: Mounted file system check cannot be performed using '[0/0/0]' (ST15150W).

Any advice would be appriciated.

-mike

-----------------------------------------------------------------------------
 Michael A. Crowley                   Director of Networking   
 mcrowley@mtholyoke.edu               216 Dwight Hall, Mount Holyoke College
 413-538-2140     fax: 413-538-2331   South Hadley, MA   01075-6415
 http://www.mtholyoke.edu/~mcrowley   http://www.mtholyoke.edu/lits/network
-----------------------------------------------------------------------------




^ permalink raw reply	[flat|nested] 5+ messages in thread

* SUMMARY: re-labeling disk after debian
  2002-05-16 19:14   ` re-labeling disk after debian Michael A. Crowley
@ 2002-05-17 18:39     ` Michael A. Crowley
  0 siblings, 0 replies; 5+ messages in thread
From: Michael A. Crowley @ 2002-05-17 18:39 UTC (permalink / raw)



I'd like to thank numerous people for their suggestions.  Unfortunately
in all of the things I mentioned, I neglected to mention that I had
tried the scu format command also with no luck, and most of the
suggestions were to format the drive with scu.  

Many of the normal ways one would write over a disk from the beginning
would not work since no partition was at zero offset.  Robert Binkley
had suggested "zeero" which sounded like it would work, but didn't
seem to write over the disklabel.  It might have been assuming
partitions a and c started at zero.

Tom Blinn wondered if the in-memory copy of the disklabel was somehow
getting used after format.  That reminded me of ncheck/icheck from
Version 7 where after checking the root file system, it wanted you 
to power off without sync.  

So I did the scu format in single user and hit the power when done.
On reboot, I had no label and was able to use the normal disklabel commands.

Orginal message:

>
>I'm having a problem relabeling a disk.  It's a Seagate ST15150W that
>was used on an Alpha Debian linux system.  I don't seem to be able
>to get the disklabel program to write anything new.  Partitions a and
>c are not at offset 0.
>
>How can I get control back of this thing?  Any way of writing to this
>thing raw?  It's at bus 0, lun 0, target 0.
>
>This is tu5.1
>
>Here are some cut/paste details:
>
>The disk label includes:
>
>3 partitions:
>#          size     offset    fstype   [fsize bsize   cpg]      # NOTE: values not exact
>  a:    5665464       2268   resrvd8                    # (Cyl.    1 - 2498)
>  b:    1589868    5667732   resrvd8                    # (Cyl. 2499 - 3199)
>  c:    1131732    7257600      swap                    # (Cyl. 3200 - 3698)
>
>When trying to do any normal editing of that disklabel:
>     "/tmp/EdDk.aaaaVca" 24 lines, 668 characters
>     write new label? [y]: y
>     partition c: partition extends past end of unit
>     re-edit the label? [y]: n
>So I cannot change the label to add or modify a partition with offset=0.
>
>Also:
>   # disklabel -z dsk10c
>   Disk is unlabeled or, /dev/rdisk/dsk10c is not in block 0 of the disk
>
>And: 
>   # disklabel -sF dsk10c unused
>   The disklabel for /dev/rdisk/dsk10c could not be updated.
>
>Other attempts:
>   I'm not real well versed in the scu program.  I tried
>   running scu and writing raw data to the disk, hoping that
>   would clear things.  However, I'm not running scu right to
>   do this:
>      # scu -c /dev/cam
>      scu> set nexus bus 0 lun 0 target 0
>      Device: ST15150W, Bus: 0, Target: 0, Lun: 0, Type: Direct Access
>      scu> write media starting 0 limit 1m bs 10k
>      scu: Mounted file system check cannot be performed using '[0/0/0]' (ST15150W).
>
>Any advice would be appriciated.
>
>-mike
>
>-----------------------------------------------------------------------------
> Michael A. Crowley                   Director of Networking   
> mcrowley@mtholyoke.edu               216 Dwight Hall, Mount Holyoke College
> 413-538-2140     fax: 413-538-2331   South Hadley, MA   01075-6415
> http://www.mtholyoke.edu/~mcrowley   http://www.mtholyoke.edu/lits/network
>-----------------------------------------------------------------------------
>
>
>



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-05-17 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-16 13:21 Patch removal without backup Joe Hatchel
2002-05-16 17:48 ` SUMMARY: " Joe Hatchel
2002-05-16 17:55   ` backup problem Jonathan Williams
2002-05-16 19:14   ` re-labeling disk after debian Michael A. Crowley
2002-05-17 18:39     ` SUMMARY: " Michael A. Crowley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox