はじめに
このドキュメントでは IR829 の bundle install に「No more space in bootstrap.」というエラーで失敗した場合の対処方法を記載しています。
事象内容
IR829 の bundle install 時に以下のように「No more space in bootstrap.」というエラーが出て bundle install を実施できない場合があります。
IR829#bundle install flash:ir800-universalk9-bundle.SPA.159-3.M1.bin
Installing bundle image: /ir800-universalk9-bundle.SPA.159-3.M1.bin.................................................................................................................................................................................................................
updating Hypervisor image...
Sending file modes: C0444 25176433 ir800-hv.srp.SPA.3.0.97
%Error copy from scp://*:*@127.1.3.1//vds_system/bundle/ir800-hv.srp.SPA.3.0.97 to bootstrap:ir800-hv.srp.SPA.3.0.97
No more space in bootstrap.
Failed to install hypervisor image!
IR829#
この問題は bootstrap: ディレクトリのスペースが十分でないために発生します。
解決策
以下の手順で bootstrap: 配下のファイルを削除してから再度 bundle install を行うことで正常に bundle install を実施できます。
*IOS Release 15.6 では Step 4 の bootstrap: 配下のファイル削除を実施できません。一旦 IOS を 15.7 や 15.8 などに upgrade 頂く必要があります。
Step 1. service internal を設定
IR829#configure terminal
Enter configuration commands, one per line. End with CNTL/Z.
IR829(config)#service internal
IR829(config)#exit
IR829#
Step 2. test ifs show hidden を設定
IR829#test ifs show hidden
Step 3. dir bootstrap: にて bootstrap: 配下のファイルを確認
IR829#dir bootstrap:
Directory of bootstrap:/
1 drw- 0 Nov 1 2019 08:03:26 +00:00 ORPHAN1
3 -rw- 25167729 Nov 1 2019 07:48:42 +00:00 ir800-hv.srp.SPA.3.0.77
4 -rw- 99035747 Feb 19 2020 03:26:44 +00:00 ir800-ref-gos.img.1.10.0.14.gz.last_installed
254676992 bytes total (19902464 bytes free)
IR829#
Step 4. delete bootstrap:{ file_name } で不要なファイルを削除
IR829#delete bootstrap:{ file_name }
Step 5. 再度 bundle install を実施
IR829#bundle install flash:{ file_name }