检查错误messages | 1: 检查存储方面的错误日志
2:检查主机的日志信息, 主机错误日志提示如下: 2) The device, \Device\Harddisk1, is not ready for access yet. |
解决思路过程 | 1)确认存储的LUN 路径是 2) 在存储使用下面的命令检查lun是否正常,lun所在 卷空间是否满
igroup show –v //查看主机的hostnode是否连接
经检查上面的步骤 显示的结果都是正常的 |
确认iscsi IQN地址是否和存储端一致 | 确定microsoft iscsi initiators 里面的存储Id地址 和target 都是正常 (本案例是此步骤是正常的) |
检查系统分区 | 在windows 主机使用下面的命令 检查: 如果例如LUN盘是G分区,g分区变成RAW格式,使用下面的方法进一步操作
C:\WINDOWS\system32>label e:LUN 有些情况更改 卷标可以解决,当前是没有解决 |
使用CHDSK命令修复帮助 | C:\WINDOWS\system32>help chkdsk Checks a disk and displays a status report. CHKDSK [volume[[path]filename]]] [/F] [/V] [/R] [/X] [/I] [/C] [/L[:size]] volume Specifies the drive letter (followed by a colon), mount point, or volume name. filename FAT/FAT32 only: Specifies the files to check for fragmentation /F Fixes errors on the disk. /V On FAT/FAT32: Displays the full path and name of every file on the disk. On NTFS: Displays cleanup messages if any. /R Locates bad sectors and recovers readable information (implies /F). /L:size NTFS only: Changes the log file size to the specified number of kilobytes. If size is not specified, displays current size. /X Forces the volume to dismount first if necessary. All opened handles to the volume would then be invalid (implies /F). /I NTFS only: Performs a less vigorous check of index entries. /C NTFS only: Skips checking of cycles within the folder structure. |
使用CHDSK -F命令修复 LUN盘 | C:\WINDOWS\system32>chkdsk /F e: The type of the file system is NTFS. Volume label is New Volume. CHKDSK is verifying files (stage 1 of 3)... File verification completed. Deleting orphan file record segment 4. Deleting orphan file record segment 7. ………………………………………………………………………………………………………………. 信息省略 ………………………………………………………………………………………………………………. 209736575 KB total disk space. 20150092 KB in 134 files. 88 KB in 18 indexes. 0 KB in bad sectors. 76275 KB in use by the system. 65536 KB occupied by the log file. 189510120 KB available on disk. 4096 bytes in each allocation unit. 52434143 total allocation units on disk. 47377530 allocation units available on disk. C:\WINDOWS\system32> |
总结 | 使用CHDSK -F命令修复结束后,在磁盘管理里面就可以看到LUN盘的文件系统是ntfs,并访问lun可以使用,问题解决 |
ISCSI LUN 盘文件系统由NTFS变成RAW,windows不能打开lUN数据的解决办法
最新推荐文章于 2024-08-22 16:52:26 发布