你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!
输入关键字进行搜索
搜索:
没有找到相关结果
nccloud
AIX命令创建JFS2的LV及FS
下面命令是创建一个2g逻辑卷及在此卷上创建jfs2的文件系统,并挂载,并配置
系统自动挂载
#mkdir /databack
#mklv -t jfs2 -y lv_databack datavg 2g
-t 为逻辑卷类型
-y为逻辑卷名字
datavg是指定卷组
2g是逻辑卷的大小
#crfs -v jfs2 -d lv_databack -A yes -m /databack
-v 为文件系统的类型
-d为逻辑卷名字
-A 为系统重启后自动挂载
-m为挂载的目录
#mount /databack
#df -g
使用smitty jfs2创建文件系统时出现如下问题就需要手动创建逻辑卷来解决
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
The distribution of this command (20) failed on one or more passive nodes.
0516-020 lcreatelv: Logical volume name or minor number already
in use.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-972 Cannot create logical volume for file system.
------------------------------------------------------------------
0516-404 allocp: This system cannot fulfill the allocation request.
There are not enough free partitions or not enough physical volumes
to keep strictioness and satisfy allocation requests. The command
should be retried with different allocation characreristics.
在smitty fs创建文件系统的时候报错,说明smitty mklv中的Number of LOGICAL PARTITIONS中不能把smitty mkvg中的VG全部分配完
(lsvg oradatvg查看对应oradatavg中FREE PPS可用的PPS)
pps不要分配完,不然log没法创建,留几个pps不要分配
1 创建vgmkvg -t 16 -s 32 -y testvg hdisk82 创建lvmklv -y lvtemp -t jfs2 testvg 103 创建文件系统crfs -v jfs2 -m /ramon -d /dev/lvtemp -p rw4 扩盘extendvg testvg hdisk95 在镜像的基础上创建新的lvmklv -c 2 -y lvtemp2 -t jfs2 testvg 10 hdisk8 hdisk9syncvg -l lvtemp2
新建的lv不会自动mirror可以建lv时指定copy数
或者事后mklvcopy lvtemp2 2 hdisk9syncvg -l lvtemp2
mkvg -y datavg -f hdisk3crfs -v jfs2 -g datavg -a size=20G -m /data
在mount /data
要回复问题请先登录或注册
3 个回复
nccloud
AIX命令创建JFS2的LV及FS
下面命令是创建一个2g逻辑卷及在此卷上创建jfs2的文件系统,并挂载,并配置
系统自动挂载
#mkdir /databack
#mklv -t jfs2 -y lv_databack datavg 2g
-t 为逻辑卷类型
-y为逻辑卷名字
datavg是指定卷组
2g是逻辑卷的大小
#crfs -v jfs2 -d lv_databack -A yes -m /databack
-v 为文件系统的类型
-d为逻辑卷名字
-A 为系统重启后自动挂载
-m为挂载的目录
#mount /databack
#df -g
使用smitty jfs2创建文件系统时出现如下问题就需要手动创建逻辑卷来解决
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
The distribution of this command (20) failed on one or more passive nodes.
0516-020 lcreatelv: Logical volume name or minor number already
in use.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-972 Cannot create logical volume for file system.
------------------------------------------------------------------
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 strictioness and satisfy allocation requests. The command
should be retried with different allocation characreristics.
0516-822 mklv: Unable to create logical volume.
crfs: 0506-972 Cannot create logical volume for file system.
在smitty fs创建文件系统的时候报错,说明smitty mklv中的Number of LOGICAL PARTITIONS中不能把smitty mkvg中的VG全部分配完
(lsvg oradatvg查看对应oradatavg中FREE PPS可用的PPS)
pps不要分配完,不然log没法创建,留几个pps不要分配
nccloud
在AIX上创建vg镜像,后续创建新的lv的时候注意事项
1 创建vg
mkvg -t 16 -s 32 -y testvg hdisk8
2 创建lv
mklv -y lvtemp -t jfs2 testvg 10
3 创建文件系统
crfs -v jfs2 -m /ramon -d /dev/lvtemp -p rw
4 扩盘
extendvg testvg hdisk9
5 在镜像的基础上创建新的lv
mklv -c 2 -y lvtemp2 -t jfs2 testvg 10 hdisk8 hdisk9
syncvg -l lvtemp2
新建的lv不会自动mirror
可以建lv时指定copy数
或者事后
mklvcopy lvtemp2 2 hdisk9
syncvg -l lvtemp2
nccloud
mkvg -y datavg -f hdisk3
crfs -v jfs2 -g datavg -a size=20G -m /data
在mount /data