FCsan
FC : HBA卡,WWN iscsi components :ISCSI HBA 卡,自动封装
:普通网卡,需要软件进行封装成 iscsi 包,进行传送 a host‘s initiator is identify by WWPN 搭建san
license san protocal
在 qtree 和vol中都可以创建 lun
igroup组在storage中,可以在lun中mapping到igroup,让组中的用户可以进行切换。
创建lun命令: lun create
lun setup 启动创建lun的向导 vol的克隆,与快照的区别:
vol的克隆能够修改,snapshot 不能修改
# lun create -s 30M -t windows /vol/vol2/lun2 #snap create vol2 clone
#lun clone create /vol/vol2/lun2 -b /vol/vol2/lun3 clone Quota 配额 /etc/quotas 文件 #quato on
mirror镜像 1、同步mirror
1、先拍快照,不断地逼近快照异步传输到远端,一直到同步。
2、同步后,client=====> NVRAM NVRAM 需要远端的NVRAM 收到该操作,返回到近端 NVRAM ,再到client ,一个同步完成。所以这个要求有很高的网络带宽。
semi-sync 半同步: NVRAM NVRAM 之间可以定义一个时间,比如 :15s ,则允许 15s 的传输 ,超过 15s 则失败,进入快照传输的逼近同步。 写操作的过程:
client------>RAM ----> NVRAM(NVlog记录操作,并在此时返回用户操作成功),写满则触发 CP,---> 把RAM 内容写 到 WAFL 进行磁盘 2、异步mirror
先拍一个snapshot 再传输到远端,不会影响source,source会增加,可以定义一个多少时
间传输一次,时间到再拍一次snapshot,把不同的再传输过去。
--------------------------------------------------------------------------------- the fifth day
--------------------------------------------------------------------------------- Administratering Backups
#dump 命令可以备份,volume 或 qtree 到磁带上。 到 now网站上查找支持的磁带机
/etc/tape_config 目录下存放着 磁带机的驱动,也可以把不支持的磁带机的驱动放在这里,那么就可以使用了
#sysconfig -t 查看磁带机,支持的磁带文件 Tape drive (v8.0) NETAPP VT-100MB
rst0l - rewind device, format is: VT-100MB (100 MB) 磁带文件类型 rst0l l:代表压缩率 rewind:自动倒带
nrst0l - no rewind device, format is: VT-100MB (100 MB) urst0l - unload/reload device, format is: VT-100MB (100 MB) rst0m - rewind device, format is: VT-100MB (100 MB) nrst0m - no rewind device, format is: VT-100MB (100 MB) urst0m - unload/reload device, format is: VT-100MB (100 MB) rst0h - rewind device, format is: VT-100MB (100 MB) nrst0h - no rewind device, format is: VT-100MB (100 MB) urst0h - unload/reload device, format is: VT-100MB (100 MB) rst0a - rewind device, format is: VT-100MB (w/compression) nrst0a - no rewind device, format is: VT-100MB (w/compression) urst0a - unload/reload device, format is: VT-100MB (w/compression)
Tape drive (v8.1) NETAPP VT-100MB
rst1l - rewind device, format is: VT-100MB (100 MB) nrst1l - no rewind device, format is: VT-100MB (100 MB) urst1l - unload/reload device, format is: VT-100MB (100 MB) rst1m - rewind device, format is: VT-100MB (100 MB) nrst1m - no rewind device, format is: VT-100MB (100 MB) urst1m - unload/reload device, format is: VT-100MB (100 MB) rst1h - rewind device, format is: VT-100MB (100 MB) nrst1h - no rewind device, format is: VT-100MB (100 MB) urst1h - unload/reload device, format is: VT-100MB (100 MB) rst1a - rewind device, format is: VT-100MB (w/compression) nrst1a - no rewind device, format is: VT-100MB (w/compression) urst1a - unload/reload device, format is: VT-100MB (w/compression) #dump [option argument ] path 0ufb rst0a 63 /vol/vol0 0:dump level
u: update /ect/dumpdates f: specifies tape file
b :specifies blocking factor (这是磁带上的block --1k )一次传输的block num 对active file dump时,先对volum做一个 snapshot,再dump到磁盘。 dump的对象: file ,derectory ,qtree 和 volume 和snapshot 估计数据总量,准备好磁盘满足这些容量要求,是否时远程备份 #df -h 或
相关推荐: