cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 

X435 USB copy of XOS File fails with now space left on device

X435 USB copy of XOS File fails with now space left on device

AntonS
Contributor II
Hello,
I would like to update the X435 from USB.
the switch deletes the image on the USB stick after install - this is a bit anoying 
https://extremeportal.force.com/ExtrArticleDetail?an=000059021
this does not solve my problem, because X435 throws an error when I try to copy the XOS file:

* X435-24P-4S.4 # cp /usr/local/ext/summitlite_arm-31.7.1.4-patch1-36.xos /usr/local/tmp/
Copy 'summitlite_arm-31.7.1.4-patch1-36.xos' from '/usr/local/ext' to '/usr/local/tmp'? (y/N) Yes
cp: write error: No space left on device
touch: /usr/local/tmp: No space left on device
* X435-24P-4S.5 # Traceback (most recent call last):
File "/usr/lib/python2.7/logging/__init__.py", line 892, in emit
File "/usr/lib/python2.7/logging/__init__.py", line 852, in flush
IOError: [Errno 28] No space left on device
Logged from file ztpdhcp.py, line 642

Is there another partition with more space?
Just for information, how much space/flash does the x435 have? compared to X440G2 or 5320?

Thank You
BR Anton
7 REPLIES 7

AntonS
Contributor II

my reply is getting deleted for some reason I don't know

AntonS
Contributor II

hy,
sorry, I thougt I already posted the output of ls /usr/local/tmp

TST1-SW1.3 # ls /usr/local/tmp
drwx------ 2 root root 224 Aug 19 12:25 bcmsdk
prw------- 1 root root 0 Sep 23 11:17 bluetooth-avahi
prw------- 1 root root 0 Sep 23 11:17 bluetooth-pipe
drwxrwxrwx 2 root root 520 Sep 23 11:31 cc_logs
drwxrwxrwx 2 root root 232 Aug 19 12:25 dhcp
drwxr-xr-x 2 root root 160 Jun 11 15:43 diagnostics
drwxrwxrwx 2 root root 1024 Sep 24 07:39 eciq
-rw-rw-rw- 1 root root 6380 Sep 28 10:29 ha_status.txt
d-w------- 2 root root 160 Jun 11 15:36 healthcheck
-rw-r--r-- 1 root root 5924 Sep 23 11:17 old_traces.tgz
-rw-rw-rw- 1 root root 35611 Sep 23 11:18 trace.ztpstack.1897

1K-blocks Used Available Use%
19324 3588 15736 19%
TST1-SW1.4 #

it will simply not work to copy a xos x435 image from usb to /usr/local/tmp because the image is ~45MByte and the partition is ~20MByte

dpanev
Contributor

 

reboot

ls

 

rm all images you dont need

 

try again

Gabriel_G
Extreme Employee

Hi Anton,

Also curious what command you're using for the install? Are you trying to download/copy and install separately? Could you try the 'download image' or 'download url' commands listed here depending on your version? You can optionally 'install' at this time or later depending on your answer to the prompt.
How To: How To: Upgrade the EXOS Operating System via USB | Extreme Portal (force.com)


GTM-P2G8KFN