推广 热搜: APP  存储  设备  闪存  交换机  企业存储  华为  联想  思科  监控 

  • 匿名
点击 351回答 0 2015-11-23 00:00

NetApp 存储的常用概念和命令

已关闭 悬赏分:0
NetApp 存储的常用概念和命令

1. Volume 和qtree

>

卷(volume)是filer 上的一个基本空间单位,它可以是基于aggr划出的灵活卷(flexvol),也可以是直接由物理盘组成的传统卷(traditional volume)。存放系统数据的称为

>

根卷(root volume). 其他存放数据的卷称为普通卷. 一个filer 有且只有一个根卷.

>

查看卷的状态:

>

Filer> vol status (-r)

>

查看卷的使用情况:

>

Filer> df

>

查看卷的inode 使用情况:

>

Filer> df –i

>

Qtree 是一种特殊的卷顶级子目录. 对qtree

>

1) 你可以设置quotas(限额). 这样一来qtree 就相当于软分区(soft partitions)

>

2) 你也可以对qtree 设置security style 和oplocks

>

3) 对qtree 做备份.(比对整个卷要快和容易).

>

2. NFS exports

>

NFS 提供UNIX 环境里的文件共享。

>

NFS 可以通过两种方式进行管理: 命令行和Filerview

>

A. 命令行

>

用户通过管理/etc/exportfs 文件和exportfs 命令来管理NFS export

>

F840> rdfile /etc/exports

>

/vol/vol0 -rw,root=10.64.60.65,anon=0,nosuid

>

/vol/vol0/home -rw,root=10.64.60.65

>

/vol/vol1/data1

>

-rw=10.64.60.111:10.64.60.65,root=10.64.60.111:10.64.60.65,sec=sys

>

exportfs 命令

>

F840> exportfs -help

>

exportfs -a (all) List of paths comes from /etc/exports

>

exportfs -c (check/cache) Check the access cache for permissions

>

exportfs -d (revert) Revert the /etc/exports file to an older format

>

exportfs -f (flush) Flush access cache entries

>

exportfs -i (ignore) Ignore options for a path specified in /etc/exports

>

exportfs -o (options) Option list to apply to the export

>

exportfs -r (reload) Reload all entries in /etc/exports and unload all entries

>

not found in /etc/exports

>

exportfs -s (storage) Determine the storage path used for an export using -actual

>

exportfs -u (unexport) Remove from memory the export

>

exportfs -v (verbose) Be chatty about operations

>

exportfs -k (signal) Send a signal to mountd to start an action

>

B. Filerview

>

Filerview->NFS->Manager NFS Exports

>

你可以增加一个export 和管理/删除某个export, 修改完毕后需要export all.

>

3. CIFS Shares

>

CIFS shares 用于提供windows client的文件共享,可以被下面几种方式管理:命令行;windows NT 或windows 2000 管理器;Filerview

>

A. 命令行

>

创建一个共享:

>

cifs shares –add sharename path [ -comment description] [ -forcegroup groupname ] [ – maxusers n]

>

example:

>

filer> cifs shares –add library /vol/vol0/home/lib ‘New file library’

>

设置访问权限:

>

filer> cifs access library ‘Everyone’ Full Control

>

The share named library is now shared out to ‘Everyone” with Full Control

>

管理一个共享:

>

example:

>

filer>cifs shares –change sharename [ -comment description / -nocomment]

>

[ -forcegroup groupname | -noforcegroup ] [ -maxusers n | -nomaxusers]

>

删除一个共享:

>

cifs shares –delete sharename

>

Example:filer>cifs shares –delete library

>

查看一个共享:

>

filer> cifs shares

>

B. 用windows NT 或windows 2000 管理

>

找一台在域中的client,并以domain administrator帐户来登陆. 通过计算机管理中的连接其他机器连入filer.,就可以

反对 0举报 0 收藏 0
网站首页  |  物流配送  |  关于我们  |  联系方式  |  使用协议  |  版权隐私  |  网站地图  |  排名推广  |  广告服务  |  积分换礼  |  RSS订阅  |  违规举报  |  京ICP备14047533号-2
Processed in 0.005 second(s), 7 queries, Memory 0.44 M