Chinaunix首页 | 论坛 | 博客
  • 博客访问: 185295
  • 博文数量: 80
  • 博客积分: 70
  • 博客等级: 民兵
  • 技术积分: 180
  • 用 户 组: 普通用户
  • 注册时间: 2008-06-25 13:58
文章分类
文章存档

2014年(47)

2011年(33)

分类:

2011-02-22 16:19:57

bash-3.00# pwd
/mypool/vincent
bash-3.00# ls
bash-3.00# mkfile -nv 5m test1.file
test1.file 5242880 bytes
bash-3.00# cd /
bash-3.00# zfs snapshot

bash-3.00# cd /mypool/vincent/
bash-3.00# ls
test1.file
bash-3.00# mv test1.file test2.file
bash-3.00# ls
test2.file
bash-3.00# zfs rollback

cannot unmount '/mypool/vincent': 设备忙
bash-3.00# pwd
/mypool/vincent
bash-3.00# ls
test2.file
bash-3.00# cd /
bash-3.00# df -h -F zfs
Filesystem            Size  Used Avail Use% Mounted on
mypool                255M   29K  255M   1% /mypool
mypool/vincent        200M  156K  200M   1% /mypool/vincent
mypool/gary           555M   25K  555M   1% /mypool/gary
mypool/backup         255M   25K  255M   1% /mypool/backup
bash-3.00# zfs rollback

bash-3.00# df -h -F zfs
Filesystem            Size  Used Avail Use% Mounted on
mypool                255M   29K  255M   1% /mypool
mypool/gary           555M   25K  555M   1% /mypool/gary
mypool/backup         255M   25K  255M   1% /mypool/backup
mypool/vincent        200M  156K  200M   1% /mypool/vincent
bash-3.00# ls /mypool/vincent
test1.file
bash-3.00# cd /mypool/vincent/.zfs/snapshot/
bash-3.00# ls
monday/
bash-3.00# cd monday/
bash-3.00# ls
test1.file
bash-3.00# cd /
阅读(864) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~