On Fri, Aug 15, 2014 at 01:58:09PM -0400, Waiman Long wrote:
On 08/14/2014 11:34 PM, Dave Chinner wrote:....
<create sparse vm image file of 500TB on ssd with XFS on it>
xfs_io -f -c "truncate 500t" -c "extsize 1m" /path/to/vm/image/file
Thank for the testing recipe. I am afraid that I can't find a 500TBWhich bit of "sparse vm image file" didn't you understand? I'm
SSD for testing purpose.
using a 400GB of SSD for this testing....
$ df -h /mnt/fast-ssd
Filesystem Size Used Avail Use% Mounted on
/dev/sdf 400G 275G 125G 69% /mnt/fast-ssd
$ ls -lh /mnt/fast-ssd/vm-500t.img
-rw------- 1 root root 500T Aug 15 13:21 /mnt/fast-ssd/vm-500t.img
$ du -sh /mnt/fast-ssd/vm-500t.img
275G /mnt/fast-ssd/vm-500t.img
That is on a Samsung 840 EVO SSD, which just about everyone should
be able to obtain. Do you *really* think I have 500TB of SSDs lying
around?
Cheers,
Dave.