Reputation: 1031
I tried to delete the sub folders on assets folder where there is lib folder including some other files inside lib folder too as well as phpinfo.php also.
After deleting all the files inside assets folder, It gives php warning
mkdir(): No space left on device
on file /var/www/framework/utils/CFileHelper.php(287)
@param array $options newDirMode element used, must contain access bitmask.
276 * @param boolean $recursive
277 * @return boolean result of mkdir
278 * @see mkdir
279 */
280 private static function mkdir($dst,array $options,$recursive)
281 {
282 $prevDir=dirname($dst);
283 if($recursive && !is_dir($dst) && !is_dir($prevDir))
284 self::mkdir(dirname($dst),$options,true);
285
286 $mode=isset($options['newDirMode']) ? $options['newDirMode'] : 0777;
287 $res=mkdir($dst, $mode);
288 chmod($dst,$mode);
289 return $res;
290 }
291 }
I don't know if it is the disk space problem on amazon ec2.
Can anyone please point out the cause of the error.
Many thanks in advance
Upvotes: 0
Views: 962
Reputation: 96
Is your instance EBS based? Do you have your app on the EBS vol? As above, post the full results of:
df -h
and
lsblk -o NAME,FSTYPE,SIZE,MOUNTPOINT,LABEL
Upvotes: 1