分享web开发知识

注册/登录|最近发布|今日推荐

主页 IT知识网页技术软件开发前端开发代码编程运营维护技术分享教程案例
当前位置:首页 > 网页技术

openfiler物理机web界面无法创建物理卷(Physical volume)问题

发布时间:2023-09-06 01:35责任编辑:林大明关键词:暂无标签
当openfiler安装环境为物理环境时,由于磁盘做了阵列,被认作为一块磁盘,在安装完后,在openfiler无法创建物理卷,点击创建无反应,更改起始位和终止位大小也无济于事。服务器在有两块单独的磁盘下一块用来安装系统一块用来做共享磁盘,这种情况下不存在无法创建的问题。下面是解决办法:
记得安装openfiler时,只需将划分必要的数据分区,共享空间暂时不划分,让其它空间为free可以了,安装完在划分。

[root@openfiler-81 ~]# fdisk -l ????#查看分区情况
Disk /dev/cciss/c0d0: 734.1 GB, 734054899712 bytes
255 heads, 63 sectors/track, 89243 cylinders, total 1433700976 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: 0x37363521

 ??????Device Boot ?????Start ????????End ?????Blocks ??Id ?System

/dev/cciss/c0d0p1 ??* ?????????63 ???62910539 ???31455238+ ?83 ?Linux
/dev/cciss/c0d0p2 ???????62910540 ???79682399 ????8385930 ??82 ?Linux swap /

[root@openfiler-81 ~]# fdisk /dev/cciss/c0d0 ?????????#将free空间进行分区格式化
Command (m for help): n ???????????????????????????????????????#新建分区
Command action
e ??extended
p ??primary partition (1-4)
p ?????????????????????????????????????????????????????????????????????????????#设置分区为主分区
Partition number (1-4, default 3):
Using default value 3
First sector (79682400-1433700975, default 79682400):
Using default value 79682400
Last sector, +sectors or +size{K,M,G} (79682400-1433700975, default 1433700975):
Using default value 1433700975

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 16: Device or resource busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
[root@openfiler-81 ~]# fdisk -l ????????????????????????#查看分区情况

Disk /dev/cciss/c0d0: 734.1 GB, 734054899712 bytes
255 heads, 63 sectors/track, 89243 cylinders, total 1433700976 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: 0x37363521

 ??????Device Boot ?????Start ????????End ?????Blocks ??Id ?System

/dev/cciss/c0d0p1 ??* ?????????63 ???62910539 ???31455238+ ?83 ?Linux
/dev/cciss/c0d0p2 ???????62910540 ???79682399 ????8385930 ??82 ?Linux swap / Solaris
/dev/cciss/c0d0p3 ???????79682400 ?1433700975 ??677009288 ??83 ?Linux

[root@openfiler-81 ~]# reboot ??????????????????#分完区需要重启,要不然系统无法认到分区,创建物理卷时会报错。
The system is going down for reboot NOW!.localdomain (pts/2) (Mon Jan ?8 01:0
启动后,进行手动物理卷创建。
[root@openfiler-81 ~]# vgcreate openfiler-81 /dev/cciss/c0d0p3 ??#创建虚拟物理卷
No physical volume label read from /dev/cciss/c0d0p3
Physical volume "/dev/cciss/c0d0p3" successfully created
Volume group "openfiler-81" successfully created
刷新网页在虚拟组里就可以看到所创建的物理卷了:

openfiler物理机web界面无法创建物理卷(Physical volume)问题

原文地址:http://blog.51cto.com/3001441/2059722

知识推荐

我的编程学习网——分享web前端后端开发技术知识。 垃圾信息处理邮箱 tousu563@163.com 网站地图
icp备案号 闽ICP备2023006418号-8 不良信息举报平台 互联网安全管理备案 Copyright 2023 www.wodecom.cn All Rights Reserved