fdisk /dev/mapper/mpath50
....
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 22: Invalid argument.
The kernel still uses the old table.
The new table will be used at the next reboot.
解决办法:
Run "kpartx -a" after FDISK is completed to add all partition mappings on the
newly-created multipath device
[root@www.linuxidc.com mapper]# ls -l mpath50*
brw-rw---- 1 root disk 253, 8 Jan 31 10:59 mpath50
[root@www.linuxidc.com mapper]#
[root@www.linuxidc.com mapper]# kpartx -a /dev/mapper/mpath50
[root@www.linuxidc.com mapper]# ls -l mpath50*
brw-rw---- 1 root disk 253, 8 Jan 31 10:59 mpath50
brw-rw---- 1 root disk 253, 25 Jan 31 11:01 mpath50p1Linux LVM 添加文件系统的过程WebOS开发环境搭建相关资讯 Linux基础教程
- Linux基础教程:对文件打包压缩 (03月08日)
- 基础教程:Linux 新手应该知道的 (09/06/2015 21:17:20)
- Linux基础教程:find 与 xargs (04/05/2015 10:20:11)
| - Linux基础教程:tar 命令使用介绍 (12/03/2015 13:19:47)
- Linux基础教程(1)操作系统基础 (08/15/2015 20:44:01)
- Linux基础教程:从源码安装软件 (04/05/2015 10:14:45)
|
本文评论 查看全部评论 (0)