【存储】netapp

记录netapp首次使用笔记。

1,虚拟机下挂载netapp光盘
2,安装netapp
3,netapp初始设置
  两块网卡
  设置盘数,盘size
  用户名密码
  存储名称
  设置路由,使得可以访问http图形界面
4,使用
CIFS
nfs
aggr
shares
volume
lun

 

[root@localhost sim]# ls
bfs.L  bgrun.sh  ,disks  etc  ,mac-address  makedisks  makespare  maytag.L  ,nvram  runsim.sh  ,serialno  sessionlogs  setup.sh  sksidekam  ,tapes  ,virgo  ,virgo_nor
[root@localhost sim]# ./runsim.sh
runsim.sh script. version Script. version 22 (18/Sep/2007)
This session is logged in /home/sim/sessionlogs/log

NetApp Release 7.3.4: Thu May 27 15:43:26 PDT 2010
Copyright (c) 1992-2010 NetApp.
Starting boot on Tue May 24 13:08:07 GMT 2011
Tue May 24 13:08:08 GMT [iomem.init.fail:CRITICAL]: Failed to initialize acceleration card (model name X1938A-R5, serial number 5012345670, part number virgo-simulator) in slot 1.
Tue May 24 13:08:08 GMT [fmm.domain.card.failure:error]: PAM II in slot 1 (model name X1938A-R5, serial number 5012345670, part number virgo-simulator): Flash device failed and needs to be updated or repaired or replaced.
Tue May 24 13:08:16 GMT [fmmb.current.lock.disk:info]: Disk v4.16 is a local HA mailbox disk.
Tue May 24 13:08:16 GMT [fmmb.current.lock.disk:info]: Disk v4.17 is a local HA mailbox disk.
Tue May 24 13:08:16 GMT [fmmb.instStat.change:info]: normal mailbox instance on local side.
Tue May 24 13:08:17 GMT [raid.cksum.replay.summary:info]: Replayed 0 checksum blocks.
Tue May 24 13:08:17 GMT [raid.stripe.replay.summary:info]: Replayed 0 stripes.
sparse volume upgrade done. num vol 0.
Vdisk Snap Table for host:0 is initialized
Tue May 24 13:08:20 GMT [vol.language.unspecified:info]: Language not set on volume vol0. Using language config "C". Use vol lang to set language.
Tue May 24 13:08:20 GMT [rc:notice]: The system was down for 25 seconds
Tue May 24 13:08:28 GMT [dfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk drives
Tue May 24 13:08:28 GMT [sfu.firmwareUpToDate:info]: Firmware is up-to-date on all disk shelves.
Tue May 24 13:08:29 GMT [netif.linkUp:info]: Ethernet ns0: Link up.
add net default: gateway 192.168.1.1
Tue May 24 13:08:29 GMT [snmp.agent.msg.access.denied:warning]: Permission denied for SNMPv3 requests from root. Reason: Password is too short (SNMPv3 requires at least 8 characters).
Tue May 24 13:08:29 GMT [perf.archive.start:info]: Performance archiver started. Sampling 22 objects and 195 counters.
Tue May 24 13:08:31 GMT [mgr.boot.disk_done:info]: NetApp Release 7.3.4 boot complete. Last disk update written at Tue May 24 13:07:53 GMT 2011
Tue May 24 13:08:31 GMT [mgr.boot.reason_ok:notice]: System rebooted after a reboot command.
CIFS local server is running.


Data ONTAP (yellow.)
login: root
Password:
yellow> Tue May 24 13:08:33 GMT [console_login_mgr:info]: root logged in from console

yellow> ?
?                   fsecurity           nis                 snap               
acpadmin            ftp                 options             snaplock           
aggr                halt                orouted             snapmirror         
arp                 help                partner             snapvault          
backup              hostname            passwd              snmp               
cdpd                httpstat            ping                software           
cf                  ifconfig            ping6               source             
charmap             ifstat              pktt                stats              
cifs                igroup              portset             storage            
clone               ipsec               priority            sysconfig          
config              ipspace             priv                sysstat            
date                iscsi               qtree               timezone           
df                  keymgr              quota               traceroute         
disk                license             rdate               traceroute6        
disk_fw_update      lock                rdfile              uptime             
dns                 logger              reallocate          useradmin          
download            logout              reboot              version            
dump                lun                 restore             vfiler             
echo                man                 route               vif                
ems                 maxfiles            routed              vlan               
environment         mt                  rshstat             vol                
exportfs            nbtstat             sasadmin            vscan              
fcadmin             ndmpcopy            sasstat             wcc                
fcp                 ndmpd               savecore            wrfile             
fcstat              ndp                 sectrace            ypcat              
file                netdiag             secureadmin         ypgroup            
filestats           netstat             setup               ypmatch            
flexcache           nfs                 sftp                ypwhich            
fpolicy             nfsstat             sis                
yellow>

yellow> aggr
The following commands are available; for more information
type "aggr help "
add                 mirror              rename              split              
copy                offline             restrict            status             
create              online              scrub               undestroy          
destroy             options             show_space          verify             
media_scrub        
yellow>
yellow> rdfile /etc/exports 
#Auto-generated by setup Tue May 24 12:32:36 GMT 2011
/vol/vol0       -sec=sys,ro,rw=192.168.1.4,root=192.168.1.4,nosuid
/vol/vol0/home  -sec=sys,rw,root=192.168.1.4,nosuid
/vol/vol1       -sec=sys,rw,root=192.168.1.4:192.168.1.6,nosuid
yellow>


测试:
[root@localhost /]# mount 192.168.1.5:/vol/vol1 /vol1
[root@localhost /]# echo "dsa" > /vol1/haha.txt
[root@localhost /]#
[root@localhost /]# cd /vol1
[root@localhost vol1]# ls -l
total 0
-rwxr-xr-x 1 root bin  52 Mar 12  2010 adsl.txt
-rw-r--r-- 1 root root  4 May 24 05:51 haha.txt
[root@localhost vol1]# more haha.txt
dsa
[root@localhost vol1]#
[root@localhost vol1]# rm adsl.txt
rm: remove regular file `adsl.txt'? y
[root@localhost vol1]#

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/16179598/viewspace-696183/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/16179598/viewspace-696183/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值