[HPADM] [SUMMARY] swmodify error

From: Enrico Nicolis (enrico_at_marionegri.it)
Date: 05/15/03

  • Next message: Sanjay.Pathare_at_alltel.com: "[HPADM] Regarding bbdir.x utility"
    Date: Thu, 15 May 2003 12:10:05 +0200
    To: hpux-admin@DutchWorks.nl
    
    
    At 14.31 14/05/2003 +0200, you wrote:
    Hi all,
    I was trying to recover some disk space removing the rollback files of all the already committed patches. This on a D320 with HP-UX 11.0, with the quality patch bundle of March 2003 installed.
    The swmodify command gives an error, with no removal of any file:

    # swmodify -x patch_commit=true '*.*'
    ERROR:   Could not select the software "*.*".  This software is in a
             corrupt state and is not available for selection.  Corrupt
             software can be removed with the swremove command, or replaced
             with the swcopy command.

    How to recover from this "corrupt state" ? I don't know how to identify the software in this state.

    Thanks to:
    steve.illgen@crackerbarrel.com
    E.J.M.Hartman@math.tudelft.nl
    Craig.E.Johnson@icn.siemens.com
    blhconsulting@mindspring.com

    I forgot to mention the origin of the given "swmodify" command, that is
    http://www.hp.com/products1/unix/operating/infolibrary/whitepapers/building_a_bastion_host.pdf
    On another HP 9000, this command already recovered more than 300 Mb of disk space.

    To identify the "state" of the software depots, this command line works:
    #  swlist -l fileset -a state
    an example output line is
    PHSS_22574.KERN-RUN                   configured

    After removing the single fileset in a corrupt state (it was sudo) I recovered almost 400 Mb of disk space.

    Thank you again

     

                                             (- o o -)
     =====================================oOOOo=(_)=oOOOo=======
    | Enrico Nicolis                                            |
    | "Mario Negri" Institute for Pharmacological Research      |
    | Department of Cardiovascular Research                     |
    | Bioinformatics Unit                                       |
    | via Eritrea, 62                                           |
    | 20157 Milano, Italy                                       |
    | E-mail: enrico@marionegri.it                              |
    | Voice: +39-0239014.409                                    |
    | Fax:   +39-0233200049                                     |
    |                                               Oooo        |
     =======================================oooO====(  )========
                                            (  )    ) /
                                             \ (   (_/
                                              \_)
    -- ---> Please post QUESTIONS and SUMMARIES only!! <--- To subscribe/unsubscribe to this list, contact majordomo@dutchworks.nl Name: hpux-admin@dutchworks.nl Owner: owner-hpux-admin@dutchworks.nl Archives: ftp.dutchworks.nl:/pub/digests/hpux-admin (FTP, browse only) http://www.dutchworks.nl/htbin/hpsysadmin (Web, browse & search)


  • Next message: Sanjay.Pathare_at_alltel.com: "[HPADM] Regarding bbdir.x utility"

    Relevant Pages

    • [HPADM] swmodify error
      ... I was trying to recover some disk space removing the rollback files of all the already committed patches. ... The swmodify command gives an error, with no removal of any file: ... How to recover from this "corrupt state"? ...
      (HP-UX-Admin)
    • Re: Vista temp or unecessary files
      ... command not recognized. ... Consider limiting the disk space of system restore points instead. ...
      (microsoft.public.windows.vista.general)
    • Can I recover lost files in XP?
      ... booted into a light-blue screen that seemed to act like the old scandisk for ... there wasn't enough disk space, which seems odd since I have 120 Gig on that ... and I am missing about 11,000 files... ... Is there any way possible for me to recover these files?...Any way at all?... ...
      (microsoft.public.windowsxp.help_and_support)
    • Re: dd Partition Recovery Procedure?!?
      ... recover a hard drive installation using the `dd` command between to ... partition to a larger partition ... ... been a thread at one point of some commands to recover the lost space ... The knack lies in learning how to throw yourself at the ground and miss. ...
      (alt.os.linux)
    • Re: HELP!!!! Re: In-place installation of XP!
      ... What you've done is marked all the disk space that contains ... can recover data for you. ... > installation of XP that I had before and so, ... > This is the equivalent of taping over your wedding video (original XP ...
      (microsoft.public.windowsxp.general)