Use below command to format usb drive (/dev/sdxy) to be VFAT file system. #mkfs.vfat /dev/sdxy
Move to your target directory and execute this command
# du -la | sort -n
# echo $?
echo the last result of executed command. 0= ok, else error