Create 10GB zfs snapshot
by Dain_Bramage from LinuxQuestions.org on (#5Q2D8)
Greetings,
I am wanting to create a 10GB zfs snapshot to use for some zfs send/receive bandwidth testing.
This is what I did:
Code:mike@ubuntuzfs:/tank/test$ dd if=/dev/zero of=test.txt bs=1G count=10
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 5.53516 s, 1.9 GB/sI then snapshotted the dataset this file was in:
Code:mike@ubuntuzfs:/tank/test$ zfs snap tank/test@testHowever it appears for reasons I do not understand that I have ended up with only a 4.15m sized snapshot:
Code:mike@ubuntuzfs:/tank/test$ zfs list tank/test@test
NAME USED AVAIL REFER MOUNTPOINT
tank/test@test 0B - 4.15M -Does anyone know how I can create a 10GB snapshot?
Thank you.
I am wanting to create a 10GB zfs snapshot to use for some zfs send/receive bandwidth testing.
This is what I did:
Code:mike@ubuntuzfs:/tank/test$ dd if=/dev/zero of=test.txt bs=1G count=10
10+0 records in
10+0 records out
10737418240 bytes (11 GB, 10 GiB) copied, 5.53516 s, 1.9 GB/sI then snapshotted the dataset this file was in:
Code:mike@ubuntuzfs:/tank/test$ zfs snap tank/test@testHowever it appears for reasons I do not understand that I have ended up with only a 4.15m sized snapshot:
Code:mike@ubuntuzfs:/tank/test$ zfs list tank/test@test
NAME USED AVAIL REFER MOUNTPOINT
tank/test@test 0B - 4.15M -Does anyone know how I can create a 10GB snapshot?
Thank you.