스냅샷을 복제하려면 clone 명령을 사용합니다. 이 명령을 실행하면 공유를 생성하는 데 사용된 공유 컨텍스트와 일치하는 커밋되지 않은 공유 컨텍스트로 이동합니다. 여기서 복제본을 만들기 위해 변경 사항을 커밋하기 전에 필요한 경우 등록 정보를 조정할 수 있습니다.
clownfish:shares default/builds snapshots> select today
clownfish:shares default/builds@today> clone testbed
clownfish:shares default/testbed (uncommitted clone)> get
aclinherit = restricted (inherited)
aclmode = discard (inherited)
atime = true (inherited)
checksum = fletcher4 (inherited)
compression = off (inherited)
copies = 1 (inherited)
mountpoint = /export/testbed (inherited)
quota = 0 (default)
readonly = false (inherited)
recordsize = 128K (inherited)
reservation = 0 (default)
secondarycache = all (inherited)
nbmand = false (inherited)
sharesmb = off (inherited)
sharenfs = on (inherited)
snapdir = hidden (inherited)
vscan = false (inherited)
sharedav = off (inherited)
shareftp = off (inherited)
root_group = other (default)
root_permissions = 777 (default)
root_user = nobody (default)
quota_snap = true (default)
reservation_snap = true (default)
clownfish:shares default/testbed (uncommitted clone)> set quota=10G
quota = 10G (uncommitted)
clownfish:shares default/testbed (uncommitted clone)> commit
clownfish:shares default/builds@today>