create
# fsckptadm -v create thu_7pm /checkpt1
Mount
# mount -F vxfs -o ckpt=thu_7pm /dev/vx/dsk/datadg/vol1:thu_7pm /checkpt1
remount
# mount -F vxfs -o ckpt=may_23,remount,rw /dev/vx/dsk/datadg/vol1:may_23 /fsvol_may_23
umount
# umount /fsvol_may_23
#umount /dev/vx/dsk/datadg/vol1:may_23
Convert data to no data chkpt
# fsckptadm -s set nodata thu_7pm /checkpt1 (convert data to nodata)
-s option means synchronous
this nodata checkpoint only contains a collection of markers
# fsckptadm set nomount thu_7pm /checkpt (convert mountable to non-mount)
# fsckptadm set remove thu_7pm /checkpt (convert non-removeable to removeable)
set quotas
# fsckptadm setquotalimit /checkpt1 1024 512
1024 - no.of hard limit blocks
512 - no.of soft limit blocks
remove
# fsckptadm remove thu_7pm /checkpt1
list
# fsckptadm -clv list /mnt0
-c : resets statiscal counters
-l : displays statistical info on the fs, in addition to its checkpoints
-v: verbose mode, displays extensive statistical info
restoring a file system
# fsckpt_restore -l /dev/vx/dsk/datadg/vol01
No comments:
Post a Comment