免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4726 | 回复: 9
打印 上一主题 下一主题

[系统管理] SuSE 11 SP2 multipath多路径问题? [复制链接]

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-06-11 17:06 |只看该作者 |倒序浏览
接的日立的存储,准备做RAW给ORACLE ASM用。
但是不记得当时画了多少个LUN了。
rcmultipathd start 服务已经启动了。
也重启了主机。

# multipath -ll|grep DF600
360060e8010553a20056fdc3200000000 dm-1 HITACHI,DF600F
360060e8010553a20056fdc320000000c dm-22 HITACHI,DF600F
360060e8010553a20056fdc320000000b dm-16 HITACHI,DF600F
360060e8010553a20056fdc320000000a dm-11 HITACHI,DF600F
360060e8010553a20056fdc3200000009 dm-10 HITACHI,DF600F
360060e8010553a20056fdc3200000008 dm-9 HITACHI,DF600F
360060e8010553a20056fdc3200000007 dm-8 HITACHI,DF600F
360060e8010553a20056fdc3200000006 dm-7 HITACHI,DF600F
360060e8010553a20056fdc3200000005 dm-5 HITACHI,DF600F
360060e8010553a20056fdc3200000004 dm-6 HITACHI,DF600F
360060e8010553a20056fdc3200000003 dm-4 HITACHI,DF600F
360060e8010553a20056fdc320000000f dm-23 HITACHI,DF600F
360060e8010553a20056fdc3200000002 dm-3 HITACHI,DF600F
360060e8010553a20056fdc320000000e dm-17 HITACHI,DF600F
360060e8010553a20056fdc3200000001 dm-2 HITACHI,DF600F
360060e8010553a20056fdc320000000d dm-18 HITACHI,DF600F
# multipath -ll|grep DF600|wc -l
16

设备信息类似这样的
360060e8010553a20056fdc320000000d dm-18 HITACHI,DF600F
size=600G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=1 status=active
| `- 1:0:0:13 sdo  8:224  active ready running
`-+- policy='round-robin 0' prio=0 status=enabled
  `- 2:0:0:13 sdae 65:224 active ready running

我觉得该是有16个LUN.


:/dev/mapper # ls -lah
total 0
drwxr-xr-x  2 root root     540 Jun 10 17:36 .
drwxr-xr-x 16 root root    7.1K Jun 10 17:37 ..
lrwxrwxrwx  1 root root       7 Jun 11 16:24 36005076058229bc01cbfadc612bae757 -> ../dm-0
lrwxrwxrwx  1 root root       8 Jun 11 16:24 36005076058229bc01cbfadc612bae757_part1 -> ../dm-12
lrwxrwxrwx  1 root root       8 Jun 11 16:24 36005076058229bc01cbfadc612bae757_part2 -> ../dm-13
lrwxrwxrwx  1 root root       8 Jun 11 16:24 36005076058229bc01cbfadc612bae757_part3 -> ../dm-14
lrwxrwxrwx  1 root root       8 Jun 11 16:24 36005076058229bc01cbfadc612bae757_part4 -> ../dm-15
lrwxrwxrwx  1 root root       7 Jun 11 16:35 360060e8010553a20056fdc3200000000 -> ../dm-1
lrwxrwxrwx  1 root root       8 Jun 11 16:35 360060e8010553a20056fdc3200000000_part1 -> ../dm-19
lrwxrwxrwx  1 root root       8 Jun 11 16:35 360060e8010553a20056fdc3200000000_part2 -> ../dm-20
lrwxrwxrwx  1 root root       8 Jun 11 16:35 360060e8010553a20056fdc3200000000_part3 -> ../dm-21
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000001 -> ../dm-2
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000002 -> ../dm-3
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000003 -> ../dm-4
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000004 -> ../dm-6
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000005 -> ../dm-5
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000006 -> ../dm-7
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000007 -> ../dm-8
lrwxrwxrwx  1 root root       7 Jun 11 16:24 360060e8010553a20056fdc3200000008 -> ../dm-9
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc3200000009 -> ../dm-10
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000a -> ../dm-11
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000b -> ../dm-16
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000c -> ../dm-22
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000d -> ../dm-18
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000e -> ../dm-17
lrwxrwxrwx  1 root root       8 Jun 11 16:24 360060e8010553a20056fdc320000000f -> ../dm-23
crw-rw----  1 root root 10, 236 Jun 10 17:36 control

但是只有002-00F 15个DM可以PV,000和757 PV不了。

# pvcreate /dev/mapper/36005076058229bc01cbfadc612bae757
  Can't open /dev/mapper/36005076058229bc01cbfadc612bae757 exclusively.  Mounted filesystem?
# pvcreate /dev/mapper/360060e8010553a20056fdc3200000000
  Can't open /dev/mapper/360060e8010553a20056fdc3200000000 exclusively.  Mounted filesystem?

请大神看看, 谢谢。

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
2 [报告]
发表于 2015-06-11 17:21 |只看该作者
36005076058229bc01cbfadc612bae757_part1 到part4是系统分区。
是已经挂了文件系统的,所以PV不了。
360060e8010553a20056fdc3200000000_part1 只有115M 可以PV,part2不行,part3能分出590G,感觉像被分区了一样,不应该啊?

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
3 [报告]
发表于 2015-06-11 17:35 |只看该作者
# df -h
Filesystem                                           Size  Used Avail Use% Mounted on
/dev/mapper/36005076058229bc01cbfadc612bae757_part4  208G   22G  176G  12% /
devtmpfs                                              16G  668K   16G   1% /dev
tmpfs                                                 60G  1.1M   60G   1% /dev/shm
/dev/mapper/36005076058229bc01cbfadc612bae757_part3 1011M  105M  855M  11% /boot
/dev/mapper/36005076058229bc01cbfadc612bae757_part2  1.1G   25M 1002M   3% /boot/efi

而且fdisk 查看757和000看不到分区信息了

Disk /dev/mapper/36005076058229bc01cbfadc612bae757: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders, total 584843264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

                                         Device Boot      Start         End      Blocks   Id  System
/dev/mapper/36005076058229bc01cbfadc612bae757p1               1   584843263   292421631+  ee  GPT
Partition 1 does not start on physical sector boundary.


Disk /dev/mapper/360060e8010553a20056fdc3200000000: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

                                         Device Boot      Start         End      Blocks   Id  System
/dev/mapper/360060e8010553a20056fdc3200000000p1               1  1258291199   629145599+  ee  GPT

论坛徽章:
12
技术图书徽章
日期:2014-07-11 16:27:5215-16赛季CBA联赛之山西
日期:2016-01-08 16:10:11操作系统版块每日发帖之星
日期:2015-08-01 06:20:002015亚冠之武里南联
日期:2015-06-11 01:12:162015年亚洲杯之阿联酋
日期:2015-03-20 11:41:462015年亚洲杯纪念徽章
日期:2015-03-18 18:08:422015年辞旧岁徽章
日期:2015-03-03 16:54:15丑牛
日期:2015-01-10 22:23:32天秤座
日期:2014-08-20 15:53:35水瓶座
日期:2014-08-11 12:08:51午马
日期:2014-07-23 23:03:38IT运维版块每日发帖之星
日期:2016-02-18 06:20:00
4 [报告]
发表于 2015-06-11 22:09 |只看该作者
回复 3# oushitianxia915


    用parted -l /dev/dm-0    parted -l /dev/dm-1 来试试能不能看到。

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
5 [报告]
发表于 2015-06-12 19:04 |只看该作者
回复 4# phanx

可以看到分区了,不过DM1我没分区的呀,GPT是什么呀

Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/36005076058229bc01cbfadc612bae757: 299GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
1      1049kB  51.5GB  51.5GB  linux-swap(v1)  primary
2      51.5GB  52.6GB  1078MB  fat32           primary
3      52.6GB  53.7GB  1077MB  ext3            primary
4      53.7GB  280GB   226GB   ext3            primary


Error: /dev/mapper/360060e8010553a20056fdc3200000008: unrecognised disk label
Sector size (logical/physical): 512B/512B

Model: Linux device-mapper (multipath) (dm)
Disk /dev/mapper/360060e8010553a20056fdc3200000000: 644GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system     Name     Flags
1      1049kB  165MB   164MB   fat16           primary  boot
2      165MB   2319MB  2155MB  linux-swap(v1)  primary
3      2319MB  644GB   642GB                   primary



   

论坛徽章:
12
技术图书徽章
日期:2014-07-11 16:27:5215-16赛季CBA联赛之山西
日期:2016-01-08 16:10:11操作系统版块每日发帖之星
日期:2015-08-01 06:20:002015亚冠之武里南联
日期:2015-06-11 01:12:162015年亚洲杯之阿联酋
日期:2015-03-20 11:41:462015年亚洲杯纪念徽章
日期:2015-03-18 18:08:422015年辞旧岁徽章
日期:2015-03-03 16:54:15丑牛
日期:2015-01-10 22:23:32天秤座
日期:2014-08-20 15:53:35水瓶座
日期:2014-08-11 12:08:51午马
日期:2014-07-23 23:03:38IT运维版块每日发帖之星
日期:2016-02-18 06:20:00
6 [报告]
发表于 2015-06-13 21:56 |只看该作者
回复 5# oushitianxia915


    DM1看起来很明显是一个Linux的分区,第一个是boot,第二个是swap,第三个是一个整的分区用来做成LVM的PV了。

GPT是一种新的分区格式。

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
7 [报告]
发表于 2015-06-15 14:29 |只看该作者
回复 6# phanx

实在是没有弄明白呀

第一个问题:
启用系统自带的multipath多路径后,为何 /dev/mapper/360060e8010553a20056fdc3200000000就分了三个区了,其它的都没分?
我现在已经将  /dev/mapper/360060e8010553a20056fdc3200000000_part3做了文件系统了,挂载到/orabackup做备份了。其它的15个都做裸设备。
但是我发现 执行 mkfs -t ext3 /dev/mapper/360060e8010553a20056fdc3200000000 也能格式化了,这不对啊,这个设备还没分区啊?

第二个问题:
bash-4.3# pvdisplay |grep /dev/mapper
  Found duplicate PV DMMXfgeEfuG2w00N6I7IrrjckT9G4FRR: using /dev/sdag not /dev/sdq
  "/dev/mapper/360060e8010553a20056fdc320000000f" is a new physical volume of "600.00 GiB"

为何报这个错,对我以后使用裸设备有影响吗?

另外 /dev/mapper/360060e8010553a20056fdc320000000*和系统原始 /dev/sd* 是怎么样的对应关系呢?
我fdisk -l 发现很乱,也看不懂?
能否麻烦解释下呢?

bash-4.3# pvdisplay |grep /dev/mapper
  Found duplicate PV DMMXfgeEfuG2w00N6I7IrrjckT9G4FRR: using /dev/sdag not /dev/sdq
  "/dev/mapper/360060e8010553a20056fdc320000000f" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000f
  "/dev/mapper/360060e8010553a20056fdc3200000001" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000001
  "/dev/mapper/360060e8010553a20056fdc3200000002" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000002
  "/dev/mapper/360060e8010553a20056fdc3200000003" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000003
  "/dev/mapper/360060e8010553a20056fdc3200000005" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000005
  "/dev/mapper/360060e8010553a20056fdc3200000004" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000004
  "/dev/mapper/360060e8010553a20056fdc3200000006" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000006
  "/dev/mapper/360060e8010553a20056fdc3200000007" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000007
  "/dev/mapper/360060e8010553a20056fdc3200000008" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000008
  "/dev/mapper/360060e8010553a20056fdc3200000009" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc3200000009
  "/dev/mapper/360060e8010553a20056fdc320000000a" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000a
  "/dev/mapper/360060e8010553a20056fdc320000000b" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000b
  "/dev/mapper/360060e8010553a20056fdc320000000e" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000e
  "/dev/mapper/360060e8010553a20056fdc320000000d" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000d
  "/dev/mapper/360060e8010553a20056fdc320000000c" is a new physical volume of "600.00 GiB"
  PV Name               /dev/mapper/360060e8010553a20056fdc320000000c
bash-4.3#



# fdisk -l

WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sda: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders, total 584843264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1               1   584843263   292421631+  ee  GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/sdr'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdr: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdr1               1  1258291199   629145599+  ee  GPT

Disk /dev/sds: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sds doesn't contain a valid partition table

Disk /dev/sdt: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdt doesn't contain a valid partition table

Disk /dev/sdc: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdc doesn't contain a valid partition table

Disk /dev/sde: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sde doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/sdb: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1  1258291199   629145599+  ee  GPT

Disk /dev/sdd: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdd doesn't contain a valid partition table

Disk /dev/sdg: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdg doesn't contain a valid partition table

Disk /dev/sdf: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdf doesn't contain a valid partition table

Disk /dev/sdi: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdi doesn't contain a valid partition table

Disk /dev/sdh: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdh doesn't contain a valid partition table

Disk /dev/sdk: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdk doesn't contain a valid partition table

Disk /dev/sdj: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdj doesn't contain a valid partition table

Disk /dev/sdl: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdl doesn't contain a valid partition table

Disk /dev/sdm: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdm doesn't contain a valid partition table

Disk /dev/sdn: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdn doesn't contain a valid partition table

Disk /dev/sdo: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdo doesn't contain a valid partition table

Disk /dev/sdp: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdp doesn't contain a valid partition table

Disk /dev/sdq: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdq doesn't contain a valid partition table

Disk /dev/sdu: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdu doesn't contain a valid partition table

Disk /dev/sdv: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdv doesn't contain a valid partition table

Disk /dev/sdw: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdw doesn't contain a valid partition table

Disk /dev/sdx: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdx doesn't contain a valid partition table

Disk /dev/sdz: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdz doesn't contain a valid partition table

Disk /dev/sdy: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdy doesn't contain a valid partition table

Disk /dev/sdab: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdab doesn't contain a valid partition table

Disk /dev/sdaa: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdaa doesn't contain a valid partition table

Disk /dev/sdac: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdac doesn't contain a valid partition table

Disk /dev/sdad: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdad doesn't contain a valid partition table

Disk /dev/sdae: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdae doesn't contain a valid partition table

Disk /dev/sdaf: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdaf doesn't contain a valid partition table

Disk /dev/sdag: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/sdag doesn't contain a valid partition table

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/36005076058229bc01cbfadc612bae757'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/mapper/36005076058229bc01cbfadc612bae757: 299.4 GB, 299439751168 bytes
255 heads, 63 sectors/track, 36404 cylinders, total 584843264 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

                                         Device Boot      Start         End      Blocks   Id  System
/dev/mapper/36005076058229bc01cbfadc612bae757p1               1   584843263   292421631+  ee  GPT
Partition 1 does not start on physical sector boundary.

WARNING: GPT (GUID Partition Table) detected on '/dev/mapper/360060e8010553a20056fdc3200000000'! The util fdisk doesn't support GPT. Use GNU Parted.


Disk /dev/mapper/360060e8010553a20056fdc3200000000: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

                                         Device Boot      Start         End      Blocks   Id  System
/dev/mapper/360060e8010553a20056fdc3200000000p1               1  1258291199   629145599+  ee  GPT

Disk /dev/mapper/360060e8010553a20056fdc3200000001: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000001 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000002: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000002 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000003: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000003 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000005: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000005 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000004: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000004 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000007: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000007 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000006: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000006 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000009: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000009 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000008: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000008 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000a: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000a doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000b: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000b doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000c: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000c doesn't contain a valid partition table

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part1: 51.5 GB, 51538558976 bytes
255 heads, 63 sectors/track, 6265 cylinders, total 100661248 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part1 doesn't contain a valid partition table

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part2: 1077 MB, 1077936128 bytes
255 heads, 63 sectors/track, 131 cylinders, total 2105344 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

                                               Device Boot      Start         End      Blocks   Id  System

Disk /dev/mapper/360060e8010553a20056fdc3200000000_part1: 163 MB, 163577856 bytes
255 heads, 63 sectors/track, 19 cylinders, total 319488 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

                                               Device Boot      Start         End      Blocks   Id  System

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part3: 1076 MB, 1076887552 bytes
255 heads, 63 sectors/track, 130 cylinders, total 2103296 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part3 doesn't contain a valid partition table

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part4: 226.4 GB, 226409578496 bytes
255 heads, 63 sectors/track, 27526 cylinders, total 442206208 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/36005076058229bc01cbfadc612bae757_part4 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000000_part2: 2154 MB, 2154823680 bytes
255 heads, 63 sectors/track, 261 cylinders, total 4208640 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000000_part2 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc3200000000_part3: 641.9 GB, 641924595712 bytes
255 heads, 63 sectors/track, 78042 cylinders, total 1253758976 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc3200000000_part3 doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000d: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000d doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000e: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000e doesn't contain a valid partition table

Disk /dev/mapper/360060e8010553a20056fdc320000000f: 644.2 GB, 644245094400 bytes
255 heads, 63 sectors/track, 78325 cylinders, total 1258291200 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x00000000

Disk /dev/mapper/360060e8010553a20056fdc320000000f doesn't contain a valid partition table

论坛徽章:
12
技术图书徽章
日期:2014-07-11 16:27:5215-16赛季CBA联赛之山西
日期:2016-01-08 16:10:11操作系统版块每日发帖之星
日期:2015-08-01 06:20:002015亚冠之武里南联
日期:2015-06-11 01:12:162015年亚洲杯之阿联酋
日期:2015-03-20 11:41:462015年亚洲杯纪念徽章
日期:2015-03-18 18:08:422015年辞旧岁徽章
日期:2015-03-03 16:54:15丑牛
日期:2015-01-10 22:23:32天秤座
日期:2014-08-20 15:53:35水瓶座
日期:2014-08-11 12:08:51午马
日期:2014-07-23 23:03:38IT运维版块每日发帖之星
日期:2016-02-18 06:20:00
8 [报告]
发表于 2015-06-15 19:41 |只看该作者
本帖最后由 phanx 于 2015-06-15 19:41 编辑

回复 7# oushitianxia915

1.     LUN并不需要先分区才能格式化的。
2.     请自行百度关键字 lvm.conf filter multipath
      关于multipath设备和原始设备之间的关系用 multipath -l 可以看见。

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
9 [报告]
发表于 2015-06-16 11:10 |只看该作者
回复 8# phanx

嗯嗯 谢谢,看到了


报错的两个设备是对应的 360060e8010553a20056fdc320000000f

360060e8010553a20056fdc320000000f dm-12 HITACHI,DF600F
size=600G features='1 queue_if_no_path' hwhandler='0' wp=rw
|-+- policy='round-robin 0' prio=0 status=active
| `- 1:0:0:15 sdq  65:0   active undef running
`-+- policy='round-robin 0' prio=0 status=enabled
  `- 2:0:0:15 sdag 66:0   active undef running

可是我只启用了multiapth,没做编辑配置,/etc/multipath.conf这个文件也没有产生,为什么会报这个错呢,其它的都没有?

   

论坛徽章:
3
数据库技术版块每日发帖之星
日期:2015-08-05 06:20:00数据库技术版块每日发帖之星
日期:2015-08-23 06:20:00数据库技术版块每日发帖之星
日期:2016-04-19 06:20:00
10 [报告]
发表于 2015-06-16 11:33 |只看该作者
/etc/lvm/lvm.conf 修改过滤规则后 filter = [ "a|/dev/cciss/.*|", "a|/dev/mapper/*|","r|.*|" ]
报错消除。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP