No space left on device

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

No space left on device

Not applicable

I'm trying to upgrade software 4.0.1 -> 4.0.2. When I am downloading new image via web I receive following error :

Traceback (most recent call last):   File "/usr/local/bin/swm", line 10, in ?     swmmain.main(sys.argv[1:])   File "/usr/share/pan-swm/swmmain.py", line 91, in main     UI.runCommand(H)   File "/usr/share/pan-swm/swmcli.py", line 122, in runCommand     cmd(self.extcmds)   File "/usr/share/pan-swm/swmcli.py", line 261, in do_load     swm.swmRepository(self).load(args[0], not self.options['nocrypt'])   File "/usr/lib/python2.4/site-packages/swm/repo.py", line 243, in load     strict=self.swm.fips_mode)   File "/usr/lib/python2.4/site-packages/imgsecure/imgsecure.py", line 285, in unsecure     self.panimage_3_0_unsecure(secimage, authonly)   File "/usr/lib/python2.4/site-packages/imgsecure/imgsecure.py", line 377, in panimage_3_0_unsecure     shutil.move(dpth, secimage)   File "/usr/lib/python2.4/shutil.py", line 193, in move     copy2(src,dst)   File "/usr/lib/python2.4/shutil.py", line 92, in copy2     copyfile(src, dst)   File "/usr/lib/python2.4/shutil.py", line 49, in copyfile     copyfileobj(fsrc, fdst)   File "/usr/lib/python2.4/shutil.py", line 25, in copyfileobj     fdst.write(buf) IOError: [Errno 28] No space left on device

Failed to load into software manager. Please retry. Post processing failed. Please retry.

After that I tried to upload previously downloaded image, I received error :

Failed to install with the following errors. Image File Authentication Error Failed to load
/opt/pancfg/mgmt/sw-images/PanOS_2000-4.0.2

Do you know how to get access to filesystem ? How to remove unused files from /opt/pancfg

6 REPLIES 6

L4 Transporter

Have you downloaded some old PAN-OS's? I would start by deleteing them under Devices > Software.

Cyber Elite
Cyber Elite

hi

can you do a "show system disk-space"?

this should show which partition is full and can help pinpoint where to go to delete files to free up space

in some cases a reboot may help free up cropped up temp files left over from installs

Tom Piens
PANgurus - Strata specialist; config reviews, policy optimization

Here is the result :

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.8G  1.1G  2.5G  31% /
/dev/sda5             7.6G  7.4G     0 100% /opt/pancfg
/dev/sda6             3.8G  727M  2.9G  20% /opt/panrepo
tmpfs                 493M   37M  456M   8% /dev/shm
/dev/sda8             125G   74G   45G  63% /opt/panlogs

/opt/pancfg is full, how to delete some files ? All the PanOS images have been already deleted

Thanks

ldragan wrote:

Here is the result :

Filesystem            Size  Used Avail Use% Mounted on
/dev/sda3             3.8G  1.1G  2.5G  31% /
/dev/sda5             7.6G  7.4G     0 100% /opt/pancfg
/dev/sda6             3.8G  727M  2.9G  20% /opt/panrepo
tmpfs                 493M   37M  456M   8% /dev/shm
/dev/sda8             125G   74G   45G  63% /opt/panlogs

/opt/pancfg is full, how to delete some files ? All the PanOS images have been already deleted

Thanks

How many saved configurations do you have for audit?

I have my box set to 100, and I'm only using half of that partition - have you tried dropping the number of saved configurations to a lower level to clean out some of the old ones?

Device -> Management -> Number of versions for Config Audit

(Whups. Sorry. I'm still on 3.1.8 - might be in a different location on the 4.0 software stream).

Also depends how big your configutation is - the larger it is, the more space it takes to keep audit/rollback versions.

Worth a shot.

Cheers.

Hi,

got a solution? same probleme here. Answers from my support weren't verry helpful: either set up a webmeeting or perform a factory reset...

Thanks and kind regards

This will require a call into support (866) 898-9087

An engineer will login with root access and manually delete files.

Please contact support and open a case.

~Phil

  • 7387 Views
  • 6 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!