Article 5Q2D8 Create 10GB zfs snapshot

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.latest?d=yIl2AUoC8zA latest?i=-CTr6OZneB8:WJwJQiwqZFk:F7zBnMy latest?i=-CTr6OZneB8:WJwJQiwqZFk:V_sGLiP latest?d=qj6IDK7rITs latest?i=-CTr6OZneB8:WJwJQiwqZFk:gIN9vFw-CTr6OZneB8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments