浏览
帮助
登录
未解决
此帖子已超过 5 年
yanzs
2 Intern
•
913 消息
0
3581
2012年7月2日 05:00
在跨DAE创建RAID10时,比如4+4模式,四块在一个DAE,另外四块在别的DAE,那这个数据盘跟镜像盘是如何发布的呢,内部会不会有相关算法,还是只是随机分配,谢谢!
回复(9)
SteveZhou
136 消息
1
2012年7月2日 18:00
创建RAID组时可以手动选择需要被添加磁盘的顺序,这个顺序就决定了主/备关系。比如,对于一个RAID 10组,你所选择的“第一块(主)/第二块(备)”盘是一对镜像,下一组是另一对镜像,以此类推。
Celia_Lee
106 消息
2012年7月3日 08:00
如果已经建好的RAID Group, 可以用navicli或naviseccli getrg去查看配置情况.
下面是个举例:
navicli -h getrg 100
RaidGroup ID: 100
RaidGroup Type: Unbound <- Displays as unbound, but note how disks are listed.
List of disks: Bus 0 Enclosure 0 Disk 0 <- primary 1
Bus 1 Enclosure 0 Disk 0 <- secondary 1
Bus 0 Enclosure 0 Disk 1 <- primary 2
Bus 1 Enclosure 0 Disk 1 <- secondary 2
Bus 0 Enclosure 0 Disk 2 <- primary 3
Bus 1 Enclosure 0 Disk 2 <- secondary 3
List of luns: Not Available
Legal RAID types: r5 r0 r1_0 <- notice that different RG types are available
Now perform the BIND operation for the LUNs:
navicli -h bind r1_0 -rg
navicli -h bind r1_0 0 -rg 100 -sq mb -cap 10 -sp a
Take a look at the getrg output again:
navicli -h 10.5.43.206 getrg 100
RaidGroup Type: r1_0
List of disks:Bus 0 Enclosure 0 Disk 0 <- primary 1
List of luns: 0 <- Notice that a LUN number is shown
上面的例子当中, Raid Group没有创建LUN的时候,显示的磁盘顺序是上面的结果. 创建了一个R10的LUN以后,显示的下面的顺序. 注意顺序的变化.
上述信息来源: emc59462
leecoool
89 消息
2012年7月9日 19:00
那要是navicseccli+vnx怎么看呢?neviseccli的输出没有显示p/s..tks
Roger_Wu
4K 消息
2012年7月9日 21:00
实际输出结果是没有primary和secondary字样的,上面的例子是为了让人看得清楚,直接按硬盘顺序来数就行了。
2012年7月9日 22:00
我说呢,我看两个例子的p/s的顺序并不是一样的,我还觉得奇怪呢,就找了两个机器试了下。。
2012年7月9日 23:00
仔细看说明啊,那个是讲在RAID Group里没有LUN的时候,和有LUN的时候,运行这个命令,结果会显示不同的磁盘顺序.但实际上mirror pair的关系是一样的.
凡是<- 右边的字都是注解说明, 在cli的命令结果中是没有这些标注的.
2012年7月10日 18:00
不好意思,刚开始没看清,发了帖子才看到,呵呵。那如果已经bind lun了,刚开始也没有看顺序,如何知道哪些盘是primary的,那些盘是secondary的呢?tks~
2012年7月10日 22:00
知识库文档emc59462说的很清楚了吧,Navisphere CLI总是先列出primary disk。
或者收集一下SPCollects,解开后找到xxxxxxxxxx_sus.zip里的SPA_cfg_info.txt,查找lustat的输出结果:
Logical Unit Summary:
RAID LUN Dflt. Unit
LUN Group Attr. Owner Type Capacity Cache State FRUs---- ----- ---- ------ ------- -------- ----- ----- ----------------5 1 G SP-A RAID-10 120.0 GB RW- ENA 4 5 127 128
FRU 4 is the first primaryFRU 5 is the second primaryFRU 127 is the first secondary (to fru 4)FRU 128 is the second secondary (to fru 5)
2012年7月11日 01:00
呀,非常感谢!看了下59462,找了个spcollect看看,确实有。从来木有看过spcollect
戴尔支持资源
查看更多
查看全部
Top
SteveZhou
136 消息
1
2012年7月2日 18:00
创建RAID组时可以手动选择需要被添加磁盘的顺序,这个顺序就决定了主/备关系。比如,对于一个RAID 10组,你所选择的“第一块(主)/第二块(备)”盘是一对镜像,下一组是另一对镜像,以此类推。
Celia_Lee
106 消息
1
2012年7月3日 08:00
如果已经建好的RAID Group, 可以用navicli或naviseccli getrg去查看配置情况.
下面是个举例:
navicli -h getrg 100
RaidGroup ID: 100
RaidGroup Type: Unbound <- Displays as unbound, but note how disks are listed.
List of disks: Bus 0 Enclosure 0 Disk 0 <- primary 1
Bus 1 Enclosure 0 Disk 0 <- secondary 1
Bus 0 Enclosure 0 Disk 1 <- primary 2
Bus 1 Enclosure 0 Disk 1 <- secondary 2
Bus 0 Enclosure 0 Disk 2 <- primary 3
Bus 1 Enclosure 0 Disk 2 <- secondary 3
List of luns: Not Available
Legal RAID types: r5 r0 r1_0 <- notice that different RG types are available
Now perform the BIND operation for the LUNs:
navicli -h bind r1_0 -rg
navicli -h bind r1_0 0 -rg 100 -sq mb -cap 10 -sp a
Take a look at the getrg output again:
navicli -h 10.5.43.206 getrg 100
RaidGroup ID: 100
RaidGroup Type: r1_0
List of disks:Bus 0 Enclosure 0 Disk 0 <- primary 1
Bus 0 Enclosure 0 Disk 1 <- primary 2
Bus 0 Enclosure 0 Disk 2 <- primary 3
Bus 1 Enclosure 0 Disk 0 <- secondary 1
Bus 1 Enclosure 0 Disk 1 <- secondary 2
Bus 1 Enclosure 0 Disk 2 <- secondary 3
List of luns: 0 <- Notice that a LUN number is shown
上面的例子当中, Raid Group没有创建LUN的时候,显示的磁盘顺序是上面的结果. 创建了一个R10的LUN以后,显示的下面的顺序. 注意顺序的变化.
上述信息来源: emc59462
leecoool
89 消息
0
2012年7月9日 19:00
那要是navicseccli+vnx怎么看呢?neviseccli的输出没有显示p/s..tks
Roger_Wu
2 Intern
2 Intern
•
4K 消息
0
2012年7月9日 21:00
实际输出结果是没有primary和secondary字样的,上面的例子是为了让人看得清楚,直接按硬盘顺序来数就行了。
leecoool
89 消息
0
2012年7月9日 22:00
我说呢,我看两个例子的p/s的顺序并不是一样的,我还觉得奇怪呢,就找了两个机器试了下。。
Celia_Lee
106 消息
0
2012年7月9日 23:00
仔细看说明啊,那个是讲在RAID Group里没有LUN的时候,和有LUN的时候,运行这个命令,结果会显示不同的磁盘顺序.但实际上mirror pair的关系是一样的.
凡是<- 右边的字都是注解说明, 在cli的命令结果中是没有这些标注的.
leecoool
89 消息
0
2012年7月10日 18:00
不好意思,刚开始没看清,发了帖子才看到,呵呵。那如果已经bind lun了,刚开始也没有看顺序,如何知道哪些盘是primary的,那些盘是secondary的呢?tks~
Roger_Wu
2 Intern
2 Intern
•
4K 消息
0
2012年7月10日 22:00
知识库文档emc59462说的很清楚了吧,Navisphere CLI总是先列出primary disk。
或者收集一下SPCollects,解开后找到xxxxxxxxxx_sus.zip里的SPA_cfg_info.txt,查找lustat的输出结果:
Logical Unit Summary:
RAID LUN Dflt. Unit
LUN Group Attr. Owner Type Capacity Cache State FRUs
---- ----- ---- ------ ------- -------- ----- ----- ----------------
5 1 G SP-A RAID-10 120.0 GB RW- ENA 4 5 127 128
FRU 4 is the first primary
FRU 5 is the second primary
FRU 127 is the first secondary (to fru 4)
FRU 128 is the second secondary (to fru 5)
leecoool
89 消息
0
2012年7月11日 01:00
呀,非常感谢!看了下59462,找了个spcollect看看,确实有。从来木有看过spcollect