跳转到主内容

Data ONTAP 8:NetApp 共享存储的磁盘所有权是如何工作的?有哪些要求?

Views:
152
Visibility:
Public
Votes:
0
Category:
data-ontap-8
Specialty:
7dot
Last Updated:

适用于

  • 集群模式 Data ONTAP 8
  • Data ONTAP 8 7-模式

问题解答

磁盘所有权 NetApp 共享存储

分配或显示 NetApp 共享存储的磁盘所有权

更换后需要分配磁盘

启用 sanown / software 基于磁盘的所有权有哪些要求?

NetApp 共享存储遵循基于软件的所有权模型。所有权模型的基础是:

  • 磁盘被明确分配给存储系统
  • 所有权信息被写入磁盘
  • 分配后,存储系统使用保留来防止其他存储系统接触磁盘
  • 某些磁盘可能保持无所有权状态。无主磁盘无法下载新的固件
  • 磁盘必须被分配才能用作备用

启用软件所有权(sanown)的要求是:

  • 支持 sanown 的 Data ONTAP 版本
  • 基于 CompactFlash boot 的存储系统
  • DS14、DS14mk2 存储架

要分配 NetApp 共享存储的磁盘所有权:

  • Data ONTAP 8 7-Mode:  

disk assign <diskname> [-f] [-p  ] [- o <ownername>] [-s <sysid>]

    1. 正常使用是将无主磁盘的所有权分配给本地存储系统:

disk assign 0b.16
disk assign 0b.17 -p 1

    1. 要将本地存储系统拥有的磁盘分配回未拥有的磁盘:

disk assign 0b.16 -s unowned -f

    1. 要将所有权分配给其他存储系统:

disk assign 0b.16 -o otherguy -f

应使用更高级别的功能(vFiler migrate)来执行此操作,除非磁盘是备件

    1. 如果接收存储系统无法与供体存储系统通信,则会出现有关重新扫描消息的警告。
       
  • Data ONTAP 8 Cluster-Mode: 
    'disk reassign' 是一个高级命令。

::> set adv
::*> disk reassign ?
  (storage disk reassign)
  [[-home] <text>]            Current Home Name
  [ -newhome <nodename> ]     New Home Name
  [ -homeid <nvramid> ]       Current Home ID
  [ -newhomeid <nvramid> ]    New Home ID
  [ -force [{true|false}] ]   Force

显示 NetApp 共享存储的磁盘所有权:

  • Data ONTAP 8 7-Mode:  

disk show [-o <hostname> | -s <sysid> | -n | -v | -a ]

显示磁盘的信息:

  • 与匹配的所有者名称
  • 与匹配的系统 ID
  • 不属于任何系统
  • 所有磁盘的详细列表
  • 属于任何存储系统

例如,查看每个磁盘的所有权:

cfo-u37> disk show -v

DISK         OWNER                  POOL   SERIAL NUMBER  
------------ -------------          -----  -------------  
9b.19        cfo-u37   (50408384)   Pool0  3HZ6RA1B00007426SWC9
8b.107       cfo-u39   (50408359)   Pool0  3HZ6SF3L000074289QWS
2b.49        cfo-u38   (50408371)   Pool0  3HZ6SD55000074289R4R
3a.22        cfo-u37   (50408384)   Pool0  3HZ6YDGM000074310Z3A
9b.68        cfo-u39   (50408359)   Pool0  3HZ6SEGL00007428B70G
8a.20        cfo-u39   (50408359)   Pool0  3HZ6P9PG0000740529DS
3b.99        cfo-u36   (50408412)   Pool0  414R6372           
3b.108       cfo-u36   (50408412)   Pool0  414W6158           
3b.98        cfo-u36   (50408412)   Pool0  414W5818           
3b.49        cfo-u36   (50408412)   Pool0  413M5089      

  • Data ONTAP 8 集群模式: 

::> disk show

Available options are :

  (storage disk show)
  [ -classic | -instance | -longop | -physical | -port | -raid | -sanown |
    -v | -fields <fieldname>, ... ]
  [[-disk] <disk path name>]                   Disk
  [ -physicalsize <integer> ]                  Physical Size (MB)
  [ -usedsize <integer> ]                      Used Size (MB)
  [ -type <disk type> ]             Type
  [ -vendor <text>]               Vendor
  [ -serialnumber <text> ]            Serial Number
  [ -model <text> ]               Model
  [ -revision <text> ]              Firmware Revision
  [ -rpm <integer> ]                           RPM
  [ -bps <integer> ]                           Bytes Per Sector
  [ -checksum <text> ]              Checksum Compatibility
  [ -shelf <integer> ]                         Shelf
  [ -bay <integer> ]                           Bay
  [ -state <disk state> ]            State
  [ -detailstate <text>]             Detail State
  [ -raidtype {pending|parity|dparity|data} ]  Raid Type
  [ -raidgroup <text> ]             Raid Group
  [ -plex <text> ]                Plex
  [ -aggregate <aggregate name> ]        Aggregate
  [ -home <nodename> ]              Home      

追加信息

不适用

 

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.