Create and mount a so-called sparse file.
# Create a 1GB sparse filedd if=/dev/zero of=/tmp/1GBsparse.img bs=1M count=1024# Format with ext4mkfs.ext4 /tmp/1GBsparse.img# Mount the diskmkdir /mnt/1GBsparsemount /tmp/1GBsparse.img /mnt/1GBsparse/
Now fill up the new disk with zeros, so no space is left.
[root ~] # cat /dev/zero > /mnt/1GBsparse/fullcat: write error: No space left on device
Empty the disk and all alerts and events should recover after some while.
umount /mnt/1GBsparse/rmdir /mnt/1GBsparse/rm -f /tmp/1GBsparse.img
Open a terminal with administrative rights, and type in
diskpart. On the diskpart command prompt enter the following commands to VHD disk container with a size of 1GB, format and mount it.
create vdisk file="c:\test.vhd" type=fixed maximum=1000select vdisk file=c:\test.vhdattach vdiskcreate partition primaryformat fs=ntfs label="test" quickassign letter=t
With the new disk attached you can fill up with an empty file executing
fsutil file createnew T:\data 980000000. Your disk is filled and you should get a message.
Now delete the file to recover the alert with
del t:\data. After you have received the recovery you can eject the virtual disk and delete the file