1) create file system to be exactly the same as the source, it this example i am creating file system target_filesystem to be exact same size as source_filesystem (my source)
nas_fs -name target_filesystem -type rawfs -create samesize=source_filesystem pool=symm_std storage=000290100123
2) create mountpoint and mount target file system as read-only
server_mountpoint server_3 -create /target_filesystem
server_mount server_3 -option ro target_filesystem /target_filesystem
3) Create checkpiont of source file system
fs_ckpt source_filesystem -name fs_source_ckpt1 -Create
4) Copy checkpoint to target file system
fs_copy -start fs_source_ckpt1 target_filesystem
5) When fs_copy is finished you can delete checkpoint created in step 4
nas_fs -delete fs_source_ckpt1 -o umount=yes
6) Umount source and target file systems
server_umount server_3 -perm /target_filesystem
server_umount server_3 -perm /source_filesystem
7) Rename old file system to temp name, rename target file system to original name
nas_fs -rename source_filesystem source_filesystem_old
nas_fs -rename target_filesystem source_filesystem
😎 Mount new file system
server_mount server-3 -o rw source_filesystem /source_filesystem