背景介绍:

在HPUX 11.31环境下,VG扩容大容量磁盘的时候,由于Max PE per PV 只有4039个,而添加2T的磁盘,Max PE per PV需要达到16636才行。查了官网后,可通过vgmodify在线修改Max PE per PV。

1、通过vgmodify修改Max PE per PV报错:

#vgmodify -e 16636 -n -r odsvg03

Current Volume Group settings:
                                                      Max LV      255
                                                      Max PV      255
                                               Max PE per PV     4039
                                            PE Size (Mbytes)      128
                                          VGRA Size (Kbytes)     8448
vgmodify: This operation can only be completed if PE number zero on "/dev/rdisk/disk79" is freed
vgmodify: This operation can only be completed if PE number zero on "/dev/rdisk/disk116" is freed
...

2、查询disk169还有空余的PE没有使用。通过pvmove将disk79的0号PE在线迁移到disk169。

#pvmove /dev/disk/disk79:0 /dev/disk/disk169
Transferring logical extents of logical volume "/dev/odsvg03/odsv03l31100"...
Physical volume "/dev/disk/disk79" has been successfully moved.
Volume Group configuration for /dev/odsvg03 has been saved in /etc/lvmconf/odsvg03.conf

3、再次执行vgmodify预览修改,报错消失

vgmodify -e 16636 -n -r odsvg03

Current Volume Group settings:
                                                      Max LV      255
                                                      Max PV      255
                                               Max PE per PV     4039
                                            PE Size (Mbytes)      128
                                          VGRA Size (Kbytes)     8448
The current and new Volume Group parameters differ.
An update to the Volume Group IS required

New Volume Group settings:
                                                      Max LV      255
                                                      Max PV      255
                                               Max PE per PV    16636
                                            PE Size (Mbytes)      128
                                          VGRA Size (Kbytes)    34224
Review complete. Volume group not modified

4、vgmodify 带-a选项在线修改成功。

#vgmodify -a -e 16636 -n odsvg03

Current Volume Group settings:
                                                      Max LV      255
                                                      Max PV      255
                                               Max PE per PV     4039
                                            PE Size (Mbytes)      128
                                          VGRA Size (Kbytes)     8448
The current and new Volume Group parameters differ.
An update to the Volume Group IS required

New Volume Group settings:
                                                      Max LV      255
                                                      Max PV      255
                                               Max PE per PV    16636
                                            PE Size (Mbytes)      128
                                          VGRA Size (Kbytes)    34224
New Volume Group configuration for "odsvg03" has been saved in "/etc/lvmconf/odsvg03.conf"
Old Volume Group configuration for "odsvg03" has been saved in "/etc/lvmconf/odsvg03.conf.old"
Starting the modification by writing to all Physical Volumes
Applying the configuration to all Physical Volumes from "/etc/lvmconf/odsvg03.conf"
Completed the modification process.
New Volume Group configuration for "odsvg03" has been saved in "/etc/lvmconf/odsvg03.conf.old"
Volume group "odsvg03" has been successfully changed.

hpux11.31环境,vgmodify: This operation can only be completed if PE number zero的解决办法相关推荐

  1. HPUX11.31环境下,更换HBA卡后的配置操作(HP-UX)

    更换HBA卡后的配置操作(HP-UX) 本节主要介绍当更换HP-UX主机的HBA卡后,如何在存储系统侧和主机侧进行相关的配置,使得更换后的HBA卡能正常使用. 配置前准备(HP-UX) 配置操作(HP ...

  2. hpux11.31 环境下如何查看磁盘的WWID( scsimgr lun_map)

    存储分配磁盘之后,ioscan -fnNCdisk扫盘,扫盘之后如何与存储的LUN进行一一对应,采用如下命令: 通过如下命令查看WWID scsimgr lun_map -D /dev/rdisk/d ...

  3. spring源码深度解析系列——环境搭建丢失spring-cglib-repack-3.2.8.jar和spring-objenesis-repack-3.0.1.jar的解决办法

    环境搭建问题 下载spring源码后,进入目录执行 gradle cleanIdea eclipse 将源码转化为eclipse可读取的形式.导入eclipse出现以下jar包的缺失. 解决方法 在s ...

  4. kali环境下的ARP欺骗学习笔记以及driftnet无法抓取图片的解决办法

    arpspoof工具使用方法如下: arpspoof -i 网卡 -t 目标ip 网关 在局域网中获取到了本机的网卡名以及被攻击主机的ip和网关后可进行ARP断网攻击,被攻击主机无法上网,攻击成功.k ...

  5. svn之Previous operation has not finished; run ‘cleanup‘ if it was interrupted解决办法

    今天提交代码的时候出现了 Previous operation has not finished; run 'cleanup' if it was interrupted 解决办法: 点击项目右键,然 ...

  6. 安装ROS环境时的常见问题及解决办法

    安装ROS环境 a. 换源 # 备份原来的sources.list sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup # 修改sou ...

  7. 解决Visual Studio 2008 下,打开.dbml(LINQ) 文件时,提示The operation could not be completed. 的问题。...

    环境:XP sp3, Visual Studio2008 sp1 错误现象:打开.dbml(LINQ) 文件,提示 "The operation could not be completed ...

  8. iOS打包错误The operation couldn’t be completed. (AppThinning.StubError error 1.)

    1.iOS打包错误 iOS打包报错:The operation couldn't be completed. (AppThinning.StubError error 1.) 操作流程:archive ...

  9. NPM报错 Error: EPERM: operation not permitted, unlink......解决办法。使用 rimraf 快速删除node_modules和清除缓存

    由于国内外环境因素,npm install安装依赖的时候经常会出现各种问题,特别是"Error: EPERM: operation not permitted, unlink-"这 ...

最新文章

  1. html js json数据解析后台数据包_如何将html解析为有关联的json数据?htmlparser2模块使用详解...
  2. linux查找修改时间在三天前,ECS linux 中查找最近一次修改过的文件的具体操作
  3. BT5 R1不能启动ibus输入法解决方案
  4. ubuntu 13.10 64位安装及配置 google拼音输入法及Adobe flash player、mp3 插件安装、中文GBK编码等 -转
  5. R语言 软件安装 源码安装R
  6. php mysql计数器代码一例
  7. 如何利用网管软件管控SNMP协议的网络设备
  8. WPS中插入“公式”后行距不正常的解决办法
  9. ps保存时显示和服务器不兼容,PS保存文件时出现最大兼容性是什么意思?Photoshop最大兼容性问题讲解...
  10. 微信小程序商城开发费用
  11. Unity3D坦克大战游戏开发——学习笔记(中)
  12. HTML5 与 CSS3 jQuery部分知识总结
  13. Uncaught TypeError: Cannot read properties of undefined (reading ‘_modulesNamespaceMap‘)
  14. 5G 网络的会话性管理上下文对比介绍
  15. POI设置Excel下拉列表(数据有效性验证)
  16. 排位赛[USACO20JAN]Loan Repayment(二分+数学)
  17. (草履虫级别的精讲)卷积神经网络的基本组成结构
  18. C++的atof()
  19. 婚姻对女人很重要,但远远不是我们的全部
  20. 高品质回音消除 模块 : F-23

热门文章

  1. Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdb
  2. java语法优化小结
  3. python 编程提高效率_15 个提高效率的 Python 编程技巧
  4. 怎么画闭合线_骨骺线闭合怎么长高
  5. OpenShift Security (9) - 用 RHACS 扫描 Log4j 安全漏洞,屏蔽不安全镜像部署
  6. java用输入流创建数据文件_java开发知识IO知识之输入输出流以及文件
  7. mybatis的xml文件 比较详细的学习注意点
  8. $.ajax返回的JSON无法执行success只进行error的解决方法
  9. vba put 语名 delphi 用什么语句_将VBA数组写入工作表时转置(Transpose)的利用
  10. 网页一键生成app软件_施工方案不会写?4个工程人必备的自动生成软件,一键生成超便利!...