Solaris 10 - / partition almost full - deleting obsoleted patches

I installed Solaris 10 on a Sun Blade last month, and have used Sun Update Manager to patch my system regularly. Now, my / partition is 92% full:
Filesystem kbytes used avail capacity Mounted on
/dev/dsk/c0t0d0s0 6196110 5612522 521627 92% /
/devices 0 0 0 0% /devices
ctfs 0 0 0 0% /system/contract
proc 0 0 0 0% /proc
mnttab 0 0 0 0% /etc/mnttab
swap 2305496 1064 2304432 1% /etc/svc/volatile
objfs 0 0 0 0% /system/object
fd 0 0 0 0% /dev/fd
swap 2305504 1072 2304432 1% /tmp
swap 2304480 48 2304432 1% /var/run
/dev/dsk/c0t2d0s7 38476820 12548276 25543776 33% /data1
/dev/dsk/c0t0d0s3 28420342 1772874 26363265 7% /space
/dev/dsk/c0t0d0s7 3099342 769885 2267471 26% /export/home
Does anyone know if/how I can remove old, obsoleted patch versions to free up some space? Is it recommended to use patchrm -f to remove old patch versions? I am hoping that I can avoid re-installing Solaris 10 and, in doing so, make my / partition larger.
Also, I have noticed that Sun Update Manager (SUM) cannot install all available patches. Some patches are evidently signed, and will not install. The only way I have been able to install them is to separately download the unsigned version of the patch and use patchadd -Gd. Is this normal, or am I doing something wrong, or can I somehow reconfigure SUM to change this behavior?

Command patchrm will remove patch and restore old version of patched files. Saved files are stored in /var/sadm/pkg/"PKG_NAME"/save/"PATCH_NO". You can remove these files, but you will not able to restore these files with patchrm. I found this example somewhere in the internet. It removes all saved patches older then 365 days.
Example:
find /var/sadm/pkg/*/save/??????-?? -type d -mtime +365 -prune | xargs rm -r
I use smpatch (simple "smpatch update" command) utility, but i think it is probably same as SUM. smpatch downloads patches to /var/sadm/spool. When patches are successfully installed then they are deleted from this directory otherwise they remain there. They are downloaded as jar archives /var/sadm/spool/??????-??.jar and then unpacked into var/sadm/spool/??????-??.jar.dir. When you delete these files/directories, smpatch will just have to download them again when it is necessary. Log files can be found in /var/sadm/patch/??????-??.
I have only problems with patches for Sun Studio. I must patchadd -G them manually from /var/sadm/spool. Sometime smpatch wants to install absurd patches but then installing simply failed.
I must say, that if you delete files, you do it at your own risk!!!

Similar Messages

  • Startup Disc almost full -- delete files

    I have an old MacBook, model 1, 1. It is running OSX 10.5.8. I am getting messages telling me my start up disc is almost full and I have to delete files. I am not sure what this means, or what I can do to avoid deleting files. Is deleting old mesages in Mail be enough? Do I have to delete applications? Maybe I need to bite the bullet and buy a new computer? Help.
    Thanks.

    It is quite clear: too much data/files on your disk. You can:
    - delete files, folders and/or move them to an external disk and then delete them
    - replace the internal disk with a larger one, i.e. 500 GB or 1 TB
    - use one or more external disks for backup and all other additional data
    - all of the above
    Note that your disk must have at least 10 % free space for a reasonably good run. the final decision belongs to you, as you know what you have there, how important it is and whether you should have one or more larger disks for storing data. My piece of advice based on experience: put inside the largest disk available, 500 GB or 1 TB; take at least one external disk for backup and other storage. I have a 500 GB inside and several external disks for various data. No optical drives lately, they are outdated, unreliable, fragile and already taking too much space. Instead of buying optical disks, I purchase one-two external drives per year.

  • Start up disk almost full - what can I delete?

    I keep getting this error msg - startup disk is almost full delete files and I am sure there are useless files on here somewhere...
    I have no idea what to delete - where to look for those useless files - help... anyone?   Thanks mucho!

    In addition to the XLab's advice (which is always very good advice) what I would recommend doing is moving your media (music, photographs and music) onto an external HD. Media tends to take the most space and offloading them from the internal HD is easy and a wise thing to to. Here some Apple Article about how to do so, I think you will agree it's a pretty easy solution.
    iPhoto: How to move the Library to EHD
    iTunes: library on EHD
    Roger

  • HT3680 My 3 year old iMac is freezing and I get a message "startup disk almost full for running applications. delete files..." Where do I find the startup disk and what should I delete?

    My 3 year old Mac is having trouble and freezes up from time to time lately. I get a message saying "startup disk almost full, delete files ..." something about having enough room for applications to function.  I know my startup disk is the Macintosh HD, but what kind of files do I need to delete and how much space do I need to free up?  In my "about this mac" area, it says I have 4.89gb free out of 319.21  So I am confused why I need to do this.

    You're less than 2% free and should always have at least 15% (my SWAG). Best is to get an ext FWHD and move stuff from the startup disk to it and delete it from that. Best things to move are movies, music, and photos, using the apps that manage those things.

  • Start up disk almost full

    hi all. I am a new user for the ibookg4. I just received an error "start up disk is almost full, delete
    files. I am now sure what or where to do this. can anyone advise.
    thanks all and good day to everyone

    tony:
    A too full startup disk is a serious issue as it can cause directory issue which can result in data loss or corruption. It is therefore an issue you cannot afford to ignore.
    Your startup disk can be too full either because you have too much stuff which you have put on the disk, or because the system is repeating processes and creating entries in the console. If the former is the case there are two things you need to do. First, you should backup you drive immediately, using an external HDD and a utility like SuperDuper. Second, you need to lighten the load by removing some files. Third, even if you delete some files, you will probably run into the same issue again as your computing habits seem to indicate the need for a larger HDD.
    To determine exactly what is on your HDD, and where your disk space is going, download and run either WhatSize 10.3.91 or Disk Inventory. Either one will scan your HDD and list your files/folders by size. Then you need to look over the list and see if you see any very large file that looks suspicious. Post back with your findings.
    Here are a couple of article you may find helpful:
    Where Did My Disk Space Go?
    Freeing space on your Mac OS X startup disk
    Good luck.
    cornelius

  • Startup disk almost full but cannot log on to delete items

    when I start up my MacBook air it said "start up disk almost full" but I cannot even log on my act to get to my home screen to attempt to delete stuff... what do I do?

    Step 1   
    The first step in dealing with a startup failure is to secure the data. If you want to preserve the contents of the startup drive, and you don't already have at least one current backup, you must try to back up now, before you do anything else. It may or may not be possible. If you don't care about the data that has changed since the last backup, you can skip this step.
    There are several ways to back up a Mac that is unable to start. You need an external hard drive to hold the backup data.
    a. Start up from the Recovery partition, or from a local Time Machine backup volume (option key at startup.) When the OS X Utilities screen appears, launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later. 
    b. If Step 1a fails because of disk errors, and no other Mac is available, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    c. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    d. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.
    Step 2
    You might be able to start up in safe mode even though you can't start up normally. Otherwise, start up from an external drive, or else use the technique in Step 1b, 1c, or 1d to mount the internal drive and delete some files. According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation.

  • My 16gb iPhone 4S keep tell me that my storage is almost full and I don't have enough space for any upgrades. I don't have any music or videos on my phone. I deleted all old emails, texts, contacts and apps but still nothing. When I check my settings, I n

    My 16gb iPhone 4S keep tell me that my storage is almost full and I don't have enough space for any upgrades. I don't have any music or videos on my phone. I deleted all old emails, texts, contacts and apps but still nothing. When I check my settings, I noticed that my Instagram is at 732mb and it keeps rising. Now it's at 814mb. Please help!!!!!

    What is the precise wording of the message that is occurring?
    Are  you attempting to update via iTunes on a computer or over the air on the device?
    How much free space is actually on the device?
    If updating via iTunes on the computer, how much free space on the computer?

  • I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?

    I have an iMac 5.1 with Mac OSX 10.6.8 and 2 GB memory and an L2 cache of 4 GB.   lately I have been receiving error messages of " start up disk almost full; please delete files." is the start up disk the same thing as the hard drive?  I opened the hard drive and from the column on the left of the menu I've selected "search for" and under that " all images" then "all documents"  I've deleted a few files from each. Are documents and images that I have deleted from here also deleted from the folders on my desktop?

    You should never, EVER let a conputer hard drive get completely full, EVER!
    With Macs and OS X, you shouldn't let the hard drive get below 15 GBs or less of free data space.
    If it does, it's time for some hard drive housecleaning.
    Follow some of my tips for cleaning out, deleting and archiving data from your Mac's internal hard drive.
    Have you emptied your iMac's Trash icon in the Dock?
    If you use iPhoto, iPhoto has its own trash that needs to be emptied, also.
    If you store images in other locations other than iPhoto, then you will have to weed through these to determine what to archive and what to delete.
    If you use Apple Mail app, Apple Mail also has its own trash area that needs to be emptied, too!
    Delete any old or no longer needed emails and/or archive to disc, flash drives or external hard drive, older emails you want to save.
    Delete any other mail in your Junk folders. Also, look through your Sent Mail to see if there is anything that can be deleted.
    Other things you can do to gain space.
    Once you have around 15 GBs regained, do a search, download and install OmniDisk Sweeper.
    This app will help you locate files that you can move/archive and/or delete from your system.
    STAY AWAY FROM DELETING ANY FILES FROM OS X SYSTEM FOLDER!
    Look through your Documents folder and delete any type of old useless type files like "Read Me" type files.
    Again, archive to disc, flash drives, ext. hard drives or delete any old documents you no longer use or immediately need.
    Look in your Applications folder, if you have applications you haven't used in a long time, if the app doesn't have a dedicated uninstaller, then you can simply drag it into the OS X Trash icon. IF the application has an uninstaller app, then use it to completely delete the app from your Mac.
    Download an app called OnyX for your version of OS X.
    When you install and launch it, let it do its initial automatic tests, then go to the cleaning and maintenance tabs and run the maintenance tabs that let OnyX clean out all web browser cache files, web browser histories, system cache files, delete old error log files.
    Typically, iTunes and iPhoto libraries are the biggest users of HD space.
    move these files/data off of your internal drive to the external hard drive and deleted off of the internal hard drive.
    If you have any other large folders of personal data or projects, these should be archived or moved, also, to the optical discs, flash drives or external hard drive and then either archived to disc and/or deleted off your internal hard drive.
    Good Luck!

  • Why is my Macbook pro with OS lion prompting me my startup disk almost full when i have deleted many files, photos and videos? Even thrashing them doesn't help. There seems to be an automatic space usage in the background

    I have deleted many unwanted files and apps and yet the available space keeps depleting every time i am using my Macbook Pro. I believe under the OS 10.7.4 one of the features is it backups or has backgrounding features which uses memory. Sometimes even when i hv 8GB space after using my Macbook Pro for say 2hrs surfing internet and using Pages which has a "Save Version" feature suddenly my 8GB goes down to 300+MB only and it starts prompting me "My Startup Disk is almost full" once it reaches 1GB space left. How can i get more space.... Please someone can help me? Do i need to re-format my hardisk??!! Any help out there is greatly appreciated.
    My original HD is 320GB. And i don't hv too many Apps installed. I do have abt 50-70apps. I do have many photos and videos stored in iPhoto's Library though.

    One thing I've noticed is that a shared tab pops up when I open the finder under "favorites" with a random connection. It's called hp68b... None of my friends that I live with have this and we all use the same internet. Two days ago when I would click it and click get info, it said it was a pc. When I checked it today it said it is a "sharepoint" and looks like a harddrive.
    I took it too the store after i spilt water on it but when I got it back it ran perfectly fine. I don't know a lot about computer so if somebody could help me. It says I'm connected to it and I can't disconnect or delete it. I don't know if the guy at the computer store put something in my computer and is sharing all my files.

  • I have a Mac Air. It said my start up disk was almost full and to delete files. I did but am not sure of what all I should delete. Then the color wheel wouldn't stop spinning so I just closed it. Now it won't open up at all. What can I do?

    I deleted files from my MacBook Air after it said my start up disk was almost full. It did several xs, then the color wheel wouldn't stop spinning, so I closed it. Then after a sufficient amount of time, I tried to start it up again, only now the Apple start up wheel just spins non stop and nothing else happens. How or what can I do to get my MacBook Air to work again, without having to take it in? Thanks so much!

    Backup your MBA then take it to Apple

  • My iphone 5c storage is almost full and I need to delete some pictures to free up some space, I pay iCloud for extra storage but I'm afraid if I delete it off my phone that it will delete it from iCloud, is that true? I can't afford to lose these pictures

    My iphone 5c storage is almost full and I need to delete some picture to free up some space. If I delete the pictures off of my phone, will they be deleted off of iCloud as well? I cant afford to lose these pictures.

    http://support.apple.com/kb/HT4083
    Then take pics etc off iphone into a secure location on PC/Mac

  • My storage on my iCloud is almost full, and I turned off some apps that I don't want to be backed up. So if I press the button delete back up, is it going to delete all of the apps that I'm backing up, or just the ones that I turned off?

    I keep on getting E-mails that notifies me that my storage is almost full. I don't want to press that button until my question has been answered.

    It will delete the entire backup, so you'll have to back up again after doing this.  The new backup will only contain the apps (and other data) that you have selected and omit the ones you turned off.

  • HT4847 My iCloud storage is almost full so I save my pictures to my computer and deleted about 500 for my phone and my iCloud hasn't budged. What can I do?

    My iCloud storage is almost full. I saved my pictures to my computer and deleted about 500 from my phone. My iCloud storage didn't move at all, it still says it's almost full. What can I do?

    settings>icloud>storage and backup>manage backup and turn off Addtional apps and camera roll

  • I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    I have macbook pro 13" I want to know how to copy files from my mac to the external Toshiba Hard Drive. I can't even delete files from my external hard drive. please help me my macbook HD is almost full and I have to copy my images to the Toshiba HD

    To delete files from your external HDD, attach it to your MBP and drag the unwanted files to trash and then empty trash.
    Then you select the files that you want to transfer by 'drag and drop' to the external HDD and trash the files on your MBP.
    Ciao.

  • HT1766 We have a refurbished ipod touch 4th gen. The cloud storage is almost full and it won't allow me to back up. Do I need to purchase more storage space or how can I delete apps/pics to make more space?  Also, somehow I erased all of the music from th

    I have a refurbished ipod touch 4th Gen.  I am having problems backing up because the cloud is almost full. I have tried to delete some apps/pics but it won't let me. Do I need to purchase more storage? Also, I accidentally erased all stored music. It is still on my personal computer and I need to know how to get it back on my ipod. A family member set it up for me. 

    You said " I accidentally erased all stored music.".
    You can redownload iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store
    Your iCloud backup does not include non-iTunes purchases like music from CDs
    If on your iPod now:
    Recovering your iTunes library from your iPod or iOS device: Apple Support Communities
    You can go to Setting>iCloud>Manage Storage and see what is using the store and delete items from iCloud

Maybe you are looking for

  • I upgraded Firefox to the latest version, and now it is very very very slow. Can I get back to version 2.0?

    I have a computer running Windows XP and it's about 5 years old. I upgraded to Firefox 3.6 (or whatever the decimal is now) and now it runs sluggishly slow. Is there a way I can get back to my previous version of Firefox? == This happened == Every ti

  • Error While deploy VC Application and Par file

    Hi Experts, The deployment of par or VC application worked fine, but last one week i am getting error while deploying par or VC application. I am getting pop-up window while deploy VC Application. That pop-up window shows Portal Request Failed. (com/

  • Vendor payment advice through email

    Hi gurus i want to send vendor payment advice through email , i am using the form F110_IN_AVIS  for payment advice and from the report  RFFOAT_P i want to send the email , is any configuration needed to send the email , or just i have to give selecti

  • jsp:useBean error== The value for useBean class is invalid

    Can anybody tell me why am i getting the error for the JavaBean. type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException: /Simpl

  • How can I obtain the source of supply for a material?

    Hi experts, I have this issue, I need to change the source of supply for a material in transaction ME51N and in MRP. This new source of supply is the source of supply of another material, related to the material we are creating the Purchase Requisiti