Unable to upload ISO to vSAN datastore from the vCenter web client or ESXi host web client
search cancel

Unable to upload ISO to vSAN datastore from the vCenter web client or ESXi host web client

book

Article ID: 399353

calendar_today

Updated On:

Products

VMware vSAN

Issue/Introduction

Uploading files to a folder on the vSAN datastore fails.  There is adequate free space on the vSAN datastore to accept the new files.  In the vmkernel.log, the following entries may be seen.

2025-05-23T16:19:02.201Z In(182) vmkernel: cpu41:2127751 opID=26ce9a5f)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2008c84 19 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-23T16:19:02.219Z In(182) vmkernel: cpu41:2127751 opID=26ce9a5f)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2008c84 19 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-23T16:19:03.222Z Al(177) vmkalert: cpu45:2097560)ALERT: BC: 3330: File file.iso closed with dirty buffers. Possible data loss.
2025-05-23T16:19:29.418Z In(182) vmkernel: cpu14:17032412 opID=656c4153)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2408c84 1a 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-23T16:19:29.433Z In(182) vmkernel: cpu15:17032412 opID=656c4153)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2408c84 1a 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-23T16:19:30.437Z Al(177) vmkalert: cpu47:2097560)ALERT: BC: 3330: File file.iso closed with dirty buffers. Possible data loss.
2025-05-28T15:46:04.939Z In(182) vmkernel: cpu3:2101797 opID=af09c627)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2808c84 1d 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-28T15:46:04.955Z In(182) vmkernel: cpu3:2101797 opID=af09c627)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2808c84 1d 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-28T15:46:05.959Z Al(177) vmkalert: cpu12:2097560)ALERT: BC: 3330: File file.iso closed with dirty buffers. Possible data loss.
2025-05-28T15:48:28.043Z In(182) vmkernel: cpu8:2102440 opID=5baf9171)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2c08c84 1e 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-28T15:48:28.059Z In(182) vmkernel: cpu8:2102440 opID=5baf9171)BC: 612: write to file.iso (f530 28 3 61409d47 ca06d89c ac78bffb 50bc0c44 2c08c84 1e 0 0 0 0 0) 1048576 bytes failed: No space left on device
2025-05-28T15:48:29.062Z Al(177) vmkalert: cpu56:2097560)ALERT: BC: 3330: File file.iso closed with dirty buffers. Possible data loss.

2025-05-23T16:19:02.200Z Wa(180) vmkwarning: cpu41:2127751 opID=26ce9a5f)WARNING: Res3: 7566: '########-####-####-####-############': [rt 1] No Space - did not find enough resources after second pass! (needed: 1, found: 0)
2025-05-23T16:19:02.201Z In(182) vmkernel: cpu41:2127751 opID=26ce9a5f)Res3: 7570: '########-####-####-####-############': [rt 1] Resources t 0, e 0, np 200, wb 0, b 0, RCs u 0, i 0, nf 1305, pe 0, oe 0
2025-05-23T16:19:02.219Z Wa(180) vmkwarning: cpu41:2127751 opID=26ce9a5f)WARNING: Res3: 7566: '########-####-####-####-############': [rt 1] No Space - did not find enough resources after second pass! (needed: 1, found: 0)
2025-05-23T16:19:02.219Z In(182) vmkernel: cpu41:2127751 opID=26ce9a5f)Res3: 7570: '########-####-####-####-############': [rt 1] Resources t 0, e 0, np 200, wb 0, b 0, RCs u 0, i 0, nf 1305, pe 0, oe 0
2025-05-23T16:19:29.418Z Wa(180) vmkwarning: cpu14:17032412 opID=656c4153)WARNING: Res3: 7566: '########-####-####-####-############': [rt 1] No Space - did not find enough resources after second pass! (needed: 1, found: 0)
2025-05-23T16:19:29.418Z In(182) vmkernel: cpu14:17032412 opID=656c4153)Res3: 7570: '########-####-####-####-############': [rt 1] Resources t 0, e 0, np 200, wb 0, b 0, RCs u 0, i 0, nf 1305, pe 0, oe 0
2025-05-23T16:19:29.433Z Wa(180) vmkwarning: cpu15:17032412 opID=656c4153)WARNING: Res3: 7566: '########-####-####-####-############': [rt 1] No Space - did not find enough resources after second pass! (needed: 1, found: 0)

Environment

VMware vSAN (All Versions)

Cause

Sometimes it is necessary to store files in a folder on the vSAN datastore.  The contents of the folder are treated as user data and not vSAN objects.  The folder that is created on the vSAN has a hard 255 GB size limit.  Once that limit is reached, no new files will be able to be copied into the folder. 

Resolution

A secondary folder can be created which would have adequate space to accept new files.  If there are any unnecessary files, those might me moved or deleted to free up space in the original folder that is at full capacity.  To verify if a particular folder's contents has reached the maximum size, do the following.

Change directory to the folder: cd vmfs/volumes/vsan:-################-################/ISOs
If the ISOs friendly name is not visible from the vSAN root directory, use the folder UUID which can be obtained from the vCenter file browser to that folder.
If needed, change directory to the folder: cd vmfs/volumes/vsan:-################-################/1234567890123456-1234567890123456
Run: du -hx * | sort -rn    (to get the size of the files in the ISOs folder)

Additional Information

See also:  Unable to upload, copy, or create files in a VMware vSAN-backed datastore

Note: vSAN 8.1 introduced the ability to expand the size of the namespace using the osfs-resize command. 

/usr/lib/vmware/osfs/bin/osfs-resize <full_path_to_the_namespace> <size_in_MB>

In the command, we are saying use osfs-resize against a custom namespace object and setting a size of 500 GB.

Custom namespace with custom size can be created using command osfs-mkdir:
/usr/lib/vmware/osfs/bin/osfs-mkdir -n <full_path_to_the_vSAN_Datastore> -s <size_in_MB>