openfiler物理机web界面无法创建物理卷(Physical volume)问题
2018-01-11 10:40
513 查看
当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
/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
/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时,只需将划分必要的数据分区,共享空间暂时不划分,让其它空间为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
刷新网页在虚拟组里就可以看到所创建的物理卷了:
相关文章推荐
- 关于oracle 10g EM和isqlplus无法进入web界面的问题
- Android WebView无法播放视频或直播,关闭界面后任在播放的问题;
- Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地Web服务器上没有安装所需的组件。请运行 Visual Studio .NET 安装程序并添加Web开发组件。
- rhel6.4 简单创建自己的http web 界面服务遇到的问题和解决方法
- 关于hbase中进入shell但是无法使用的问题,以及web界面为什么不能访问。
- 使用idea创建web项目后无法创建Java文件夹的问题的解决办法
- Visual Studio .NET 无法创建应用程序 。问题很可能是因为本地 Web 服务器上没有安装所需的组件 ----转载
- Oracle Web ADI无法打开创建的EXCEL问题
- Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地Web服务器上没有安装所需的组件。请运行Visual Studio .NET安装程序并
- 创建物理卷出现如下错误 Can't initialize physical volume的解决方法
- 打开项目时提示如下错误:Visual Studio .NET 无法创建应用程序 。问题很可能是因为本地 Web 服务器上没有安装所需的组件
- Visual Studio .NET 无法创建应用程序 。问题很可能是因为本地 Web 服务器上没有安装所需的组件
- Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地WEB本地服务器上没有安装所需的组件。请运行Visual Studio .NET安装程序并添加WEB开发组件
- 关于创建maven webapp项目无法修改web版本问题
- rabbitmq的web管理界面无法使用guest用户登录的问题
- “Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地WEB本地服务器上没有安装所需的组件。请运行Visual Studio .NET安装程序并添加WEB开发组件“的一种解决方案
- 关于Eclipse无法创建web工程问题
- “Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地WEB本地服务器上没有安装所需的组件。请运行Visual Studio .NET安装程序并添加WEB开发组件“的一种解决方案
- Visual Studio .NET 无法创建或打开应用程序。问题很可能是因为本地WEB本地服务器上没有安装所需的组件...
- 使用webView创建的项目相册相机无法使用或是会重新跳到webView,像是重新刷新一样的问题