创建lv 报空间不足 lsvg -p vg_name 是有pp (第二篇)
2011-10-16 20:53
260 查看
今天建lv 的时候,报 not enough space 的错,很是奇怪,发现:lsvg -p vg_name 是有pp的。
也没有向本人的另外一个blog 上的 情况:/article/8172774.html
好下面先说一下解决方法: 新在一块盘上create, 在smit mklvcopy
------
root@a05gatmapp1a/>lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 176 13..16..00..38..109
hdisk1 active 546 145 22..16..00..32..75
root@a05gatmapp1a/>smit mklv
Add a Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
Logical volume NAME [lv_was]
* VOLUME GROUP name rootvg
* Number of LOGICAL PARTITIONS [40] #
PHYSICAL VOLUME names [hdisk0] +
Logical volume TYPE [jfs2] +
POSITION on physical volume middle +
RANGE of physical volumes minimum +
MAXIMUM NUMBER of PHYSICAL VOLUMES [] #
to use for allocation
Number of COPIES of each logical 1 +
partition
Mirror Write Consistency? active +
Allocate each logical partition copy yes +
on a SEPARATE physical volume?
RELOCATE the logical volume during yes +
reorganization?
Logical volume LABEL []
MAXIMUM NUMBER of LOGICAL PARTITIONS [512] #
Enable BAD BLOCK relocation? yes +
SCHEDULING POLICY for reading/writing parallel +
[MORE...5]
F1=Help lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk=List
Esc+5=Reset x Running command... xc+8=Image
Esc+9=Shell mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
COMMAND STATUS
Command: running stdout: yes stderr: no
Before command completion, additional instructions may appear below.
如果 Number of COPIES of each logical 2 +
partition
就会报错:
COMMAND STATUS
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
0516-822 mklv: Unable to create logical volume.
所以,解决方法:
------------
先增加一个盘上的lv,再增加一个copy
root@a05gatmapp1a/>smit mklvcopy
Add Copies to a Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_was
* NEW TOTAL number of logical partition 2 +
copies
PHYSICAL VOLUME names [] +
POSITION on physical volume middle +
RANGE of physical volumes minimum +
MAXIMUM NUMBER of PHYSICAL VOLUMES [32] #
to use for allocation
Allocate each logical partition copy yes +
on a SEPARATE physical volume?
File containing ALLOCATION MAP []
SYNCHRONIZE the data in the new
yes + (注意,这个很重要)
logical partition copies?
COMMAND STATUS
Command: OK stdout: no stderr: no
Before command completion, additional instructions may appear below.
---------
root@a05gatmapp1a/>lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 40 80 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 16 32 2 open/syncd /
hd2 jfs2 90 180 2 open/syncd /usr
hd9var jfs2 10 20 2 open/syncd /var
hd3 jfs2 48 96 2 open/syncd /tmp
hd1 jfs2 10 20 2 open/syncd /home
hd10opt jfs2 48 96 2 open/syncd /opt
fwdump jfs2 10 20 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 80 160 2 open/syncd /tsm
dumplv sysdump 16 16 1 open/syncd N/A
lv-mqm jfs2 7 7 1 open/syncd /usr/mqm
paging00 paging 40 40 1 open/syncd N/A
lv_was jfs2 40 80 2 closed/syncd N/A
root@a05gatmapp1a/>lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 136 13..16..00..00..107
hdisk1 active 546 105 22..16..00..32..35
----
root@a05gatmapp1a/>smit fs
Add an Enhanced Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_was +
* MOUNT POINT [/was7]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Block Size (bytes) 4096 +
Logical Volume for Log +
Inline Log size (MBytes) [] #
Extended Attribute Format Version 1 +
ENABLE Quota Management? no +
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
File system created successfully.
5242516 kilobytes total disk space.
New File System size is 10485760
------
mount /was7
root@a05gatmapp1a/>lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 40 80 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 16 32 2 open/syncd /
hd2 jfs2 90 180 2 open/syncd /usr
hd9var jfs2 10 20 2 open/syncd /var
hd3 jfs2 48 96 2 open/syncd /tmp
hd1 jfs2 10 20 2 open/syncd /home
hd10opt jfs2 48 96 2 open/syncd /opt
fwdump jfs2 10 20 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 80 160 2 open/syncd /tsm
dumplv sysdump 16 16 1 open/syncd N/A
lv-mqm jfs2 7 7 1 open/syncd /usr/mqm
paging00 paging 40 40 1 open/syncd N/A
lv_was jfs2 80 160 2 open/syncd /was7
也没有向本人的另外一个blog 上的 情况:/article/8172774.html
好下面先说一下解决方法: 新在一块盘上create, 在smit mklvcopy
------
root@a05gatmapp1a/>lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 176 13..16..00..38..109
hdisk1 active 546 145 22..16..00..32..75
root@a05gatmapp1a/>smit mklv
Add a Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP] [Entry Fields]
Logical volume NAME [lv_was]
* VOLUME GROUP name rootvg
* Number of LOGICAL PARTITIONS [40] #
PHYSICAL VOLUME names [hdisk0] +
Logical volume TYPE [jfs2] +
POSITION on physical volume middle +
RANGE of physical volumes minimum +
MAXIMUM NUMBER of PHYSICAL VOLUMES [] #
to use for allocation
Number of COPIES of each logical 1 +
partition
Mirror Write Consistency? active +
Allocate each logical partition copy yes +
on a SEPARATE physical volume?
RELOCATE the logical volume during yes +
reorganization?
Logical volume LABEL []
MAXIMUM NUMBER of LOGICAL PARTITIONS [512] #
Enable BAD BLOCK relocation? yes +
SCHEDULING POLICY for reading/writing parallel +
[MORE...5]
F1=Help lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk=List
Esc+5=Reset x Running command... xc+8=Image
Esc+9=Shell mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
COMMAND STATUS
Command: running stdout: yes stderr: no
Before command completion, additional instructions may appear below.
如果 Number of COPIES of each logical 2 +
partition
就会报错:
COMMAND STATUS
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictness and satisfy allocation requests. The command
should be retried with different allocation characteristics.
0516-822 mklv: Unable to create logical volume.
所以,解决方法:
------------
先增加一个盘上的lv,再增加一个copy
root@a05gatmapp1a/>smit mklvcopy
Add Copies to a Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_was
* NEW TOTAL number of logical partition 2 +
copies
PHYSICAL VOLUME names [] +
POSITION on physical volume middle +
RANGE of physical volumes minimum +
MAXIMUM NUMBER of PHYSICAL VOLUMES [32] #
to use for allocation
Allocate each logical partition copy yes +
on a SEPARATE physical volume?
File containing ALLOCATION MAP []
SYNCHRONIZE the data in the new
yes + (注意,这个很重要)
logical partition copies?
COMMAND STATUS
Command: OK stdout: no stderr: no
Before command completion, additional instructions may appear below.
---------
root@a05gatmapp1a/>lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 40 80 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 16 32 2 open/syncd /
hd2 jfs2 90 180 2 open/syncd /usr
hd9var jfs2 10 20 2 open/syncd /var
hd3 jfs2 48 96 2 open/syncd /tmp
hd1 jfs2 10 20 2 open/syncd /home
hd10opt jfs2 48 96 2 open/syncd /opt
fwdump jfs2 10 20 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 80 160 2 open/syncd /tsm
dumplv sysdump 16 16 1 open/syncd N/A
lv-mqm jfs2 7 7 1 open/syncd /usr/mqm
paging00 paging 40 40 1 open/syncd N/A
lv_was jfs2 40 80 2 closed/syncd N/A
root@a05gatmapp1a/>lsvg -p rootvg
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 136 13..16..00..00..107
hdisk1 active 546 105 22..16..00..32..35
----
root@a05gatmapp1a/>smit fs
Add an Enhanced Journaled File System
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* LOGICAL VOLUME name lv_was +
* MOUNT POINT [/was7]
Mount AUTOMATICALLY at system restart? yes +
PERMISSIONS read/write +
Mount OPTIONS [] +
Block Size (bytes) 4096 +
Logical Volume for Log +
Inline Log size (MBytes) [] #
Extended Attribute Format Version 1 +
ENABLE Quota Management? no +
COMMAND STATUS
Command: OK stdout: yes stderr: no
Before command completion, additional instructions may appear below.
File system created successfully.
5242516 kilobytes total disk space.
New File System size is 10485760
------
mount /was7
root@a05gatmapp1a/>lsvg -l rootvg
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 2 2 closed/syncd N/A
hd6 paging 40 80 2 open/syncd N/A
hd8 jfs2log 1 2 2 open/syncd N/A
hd4 jfs2 16 32 2 open/syncd /
hd2 jfs2 90 180 2 open/syncd /usr
hd9var jfs2 10 20 2 open/syncd /var
hd3 jfs2 48 96 2 open/syncd /tmp
hd1 jfs2 10 20 2 open/syncd /home
hd10opt jfs2 48 96 2 open/syncd /opt
fwdump jfs2 10 20 2 open/syncd /var/adm/ras/platform
fslv00 jfs2 80 160 2 open/syncd /tsm
dumplv sysdump 16 16 1 open/syncd N/A
lv-mqm jfs2 7 7 1 open/syncd /usr/mqm
paging00 paging 40 40 1 open/syncd N/A
lv_was jfs2 80 160 2 open/syncd /was7
相关文章推荐
- 数据库还原总提示空间不够,磁盘卷 'D:\' 上的可用空间不足,无法创建数据库
- VG、PV、PP、LV、LP
- linux上创建PV/VG/LV
- Linux中的创建PV-VG-LV
- sqlserver2008 数据库还原总提示空间不够System.Data.SqlClient.SqlError: 磁盘卷 'D:\' 上的可用空间不足,无法创建数据库。数据库尚需 272587816
- linux : LV--PV--VG 创建
- aix 下创建vg和lv
- 创建oracle实例遇到swap分区空间不足
- 创建双机的vg和lv
- LVM逻辑卷管理一PV/VG/LV的创建-Linux
- AIX 存储管理 LV PV VG PP
- 物理分区(PP)、物理卷(PV)、逻辑分区(LP)、逻辑卷(LV)卷组(VG)
- 案例:AWR手工创建快照失败,SYSAUX表空间剩余不足处理
- 17.文件系统――逻辑卷、快照以及如何创建逻辑卷(pv、vg、lv)
- zabbix管理:zabbix报错之swap空间不足(创建、优化swap交换分区)
- LVM逻辑卷管理一PV/VG/LV的创建
- 基于CentOS与VmwareStation10搭建Oracle11G RAC 64集群环境:4.安装Oracle RAC FAQ-4.5.安装Grid,创建ASM磁盘组空间不足
- “安装centOS7.0出现‘你没有创建加载器第一阶段设备,你没有创建可引导分区’,并提示可用空间不足”的解决方案
- 【lvcreate】创建lv需要在vg上创建
- PV.VG.PP.LV.LP (有时候mount查不到的原因)