跳转到主内容

是否可以将 LUN 类型从映像更改为 Linux ?

Views:
18
Visibility:
Public
Votes:
0
Category:
data-ontap-7
Specialty:
core
Last Updated:

适用场景

Data ONTAP 7 及更早版本

问题解答

创建的逻辑单元号( LUN )的多协议类型不正确。例如, Windows LUN 的类型为 image 或 Solaris 和 AIX 。
lun show -v
/vol/lunwindos/engcsvdd1.lun 25.0g (26847313920) (r/w, online, mapped)
Serial#: Vqm7WZ2UZR/K
Share: none
Space Reservation: enabled
Multiprotocol Type: image
ngcsvn2.eng.netapp.com=0

如果 Windows LUN 应设置为 Linux 类型,则会为其配置多协议类型的映像。是否仍可在不中断 LUN 的情况下更改此设置?

创建 LUN 后,通常无法修改 LUN 类型。临时解决策用于创建新的 LUN ,并使用主机工具将数据从旧 LUN 复制到新 LUN 。

更改 LUN 类型时,请先咨询 NetApp 技术支持 ,然后再进行更改。某些操作系统(例如 Solaris , Windows )不会进行转换,并且发生原因会损坏。

以下类型定义了 LUN 的一些不同特征

  • LUN 的 SCSI 磁盘几何结构
    • Windows 和 VLD 类型的 LUN 具有: 255 个磁道 / 柱面 /63 个扇区 / 磁道
    • 所有其他(映像, Solaris , AIX , HPUX , NetWare , VMware , Linux ) LUN 具有: 16 个磁道 / 磁柱 /128 个扇区 / 磁道
  • 前缀和后缀流的大小,用于:
    • 允许多协议(存储区域网络( Storage Area Network , SAN )和网络连接存储( Network-Attached Storage , NAS ))访问同一数据。
      如果在 LUN 上启用了 NAS 访问,则 NAS 客户端将看不到前缀和后缀中的数据。
    • 允许将文件转换为操作系统需要磁盘标签的 LUN ,但我们并不支持在每个操作系统上都这样做

追加信息

请参见错误171446 —更改 LUN 上的操作系统类型可能会阻止主机客户端访问 LUN 数据

 

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.