Guest

Preview Tool

Cisco Bug: CSCvv98722 - NFVIS hostaction backup configuration-and-vm file-path usb:usb1/backup check wrong partation

Last Modified

Oct 09, 2020

Products (1)

  • Cisco Enterprise NFV Infrastructure Software

Known Affected Releases

4.2(0)

Description (partial)

Symptom:
NFVIS backup configuration and vm directly to USB drive failed. Error message shows no enough space.
Actually NFVIS is check wrong partition.
 details     "Unable to backup: Error backing up VM [ROUTER]. VIM Driver: Error creating VIM export: {\"uid\":\"8006897a-a8bd-4c90-a462-a1ff264f0b6d\",\"description\":\"Error: validateExportSpace: Error: validateVMDiskSize: Error: Not enough free space on disk for volume, please verify resource requirements: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes\"}"

nfvis# support show df               
Filesystem                 Type     1024-blocks     Used Available Capacity Mounted on
devtmpfs                   devtmpfs     8067396        0   8067396       0% /dev
tmpfs                      tmpfs        8113372       12   8113360       1% /dev/shm
tmpfs                      tmpfs        8113372     2268   8111104       1% /run
tmpfs                      tmpfs        8113372        0   8113372       0% /sys/fs/cgroup
/dev/mapper/vg_nfv-lv_root ext4         8125880  2392384   5297684      32% /
/dev/sdg1                  ext4          739536   143080    542696      21% /boot
/dev/mapper/vg_nfv-lv_var  ext4         1515376    97864   1322488       7% /var
/dev/mapper/vg_nfv-lv_data ext4        36688936 13762300  22398252      39% /data
/dev/mapper/vg_nfv-lv_log  ext4          499656    69340    393620      15% /var/log
/dev/sdb                   ext4       480588480    73740 456079028       1% /mnt/extdatastore1
/dev/sdf                   ext4       480588480    73740 456079028       1% /mnt/extdatastore2
/dev/sdh2                  fuseblk     62203904  2296276  59907628       4% /mnt-usb/usb1
/dev/sdh1                  vfat          201633        1    201633       1% /mnt-usb/usb2
tmpfs                      tmpfs        1622676        0   1622676       0% /run/user/9001

nfvis# show log esc/forever.log | linnum | begin "12000: " | include "5424844" 
12218: /dev/mapper/vg_nfv-lv_root 8320901120 2449784832 5424844800  32% /
12221: Disk Size:               5424844800 bytes
12223: 2020-10-05T23:17:04.228Z - error: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12224: 2020-10-05T23:17:04.228Z - error: newexportvm exception: Error: validateExportSpace: Error: validateVMDiskSize: Error: Not enough free space on disk for volume, please verify resource requirements: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12354: /dev/mapper/vg_nfv-lv_root 8320901120 2449784832 5424844800  32% /
12357: Disk Size:               5424844800 bytes
12359: 2020-10-05T23:17:09.469Z - error: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12360: 2020-10-05T23:17:09.469Z - error: newexportvm exception: Error: validateExportSpace: Error: validateVMDiskSize: Error: Not enough free space on disk for volume, please verify resource requirements: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12490: /dev/mapper/vg_nfv-lv_root 8320901120 2449784832 5424844800  32% /
12493: Disk Size:               5424844800 bytes
12495: 2020-10-05T23:17:14.724Z - error: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12496: 2020-10-05T23:17:14.724Z - error: newexportvm exception: Error: validateExportSpace: Error: validateVMDiskSize: Error: Not enough free space on disk for volume, please verify resource requirements: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12626: /dev/mapper/vg_nfv-lv_root 8320901120 2449784832 5424844800  32% /
12629: Disk Size:               5424844800 bytes
12631: 2020-10-05T23:17:19.959Z - error: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes
12632: 2020-10-05T23:17:19.959Z - error: newexportvm exception: Error: validateExportSpace: Error: validateVMDiskSize: Error: Not enough free space on disk for volume, please verify resource requirements: Could not create VM disk. Requested size 10993336320 bytes is greater than disk size: 5424844800 bytes

system should check the size of
/dev/sdh2                  fuseblk     62203904  2296276  59907628       4% /mnt-usb/usb1
but it actually checked

/dev/mapper/vg_nfv-lv_root ext4         8125880  2392384   5297684      32% /

Conditions:
backup directly to USB
Bug details contain sensitive information and therefore require a Cisco.com account to be viewed.

Bug Details Include

  • Full Description (including symptoms, conditions and workarounds)
  • Status
  • Severity
  • Known Fixed Releases
  • Related Community Discussions
  • Number of Related Support Cases
Bug information is viewable for customers and partners who have a service contract. Registered users can view up to 200 bugs per month without a service contract.