Chinaunix首页 | 论坛 | 博客
  • 博客访问: 5702045
  • 博文数量: 745
  • 博客积分: 10075
  • 博客等级: 上将
  • 技术积分: 7716
  • 用 户 组: 普通用户
  • 注册时间: 2005-04-29 12:09
文章分类

全部博文(745)

文章存档

2019年(1)

2016年(1)

2010年(31)

2009年(88)

2008年(129)

2007年(155)

2006年(197)

2005年(143)

分类: DB2/Informix

2008-08-01 10:11:26

五、创建裸设备

rx8640-2:/dev/vg00> lvcreate -L 1536 -n lgntv0013000 vg00

Logical volume "/dev/vg00/lgntv0013000" has been successfully created with

character device "/dev/vg00/rlgntv0013000".

.ogical volume "/dev/vg00/lgntv0013000" has been successfully extended.

rx8640-2:/dev/vg00> lvcreate -L 1024 -n lgntv0013001 vg00

Logical volume "/dev/vg00/lgntv0013001" has been successfully created with

character device "/dev/vg00/rlgntv0013001".

.ogical volume "/dev/vg00/lgntv0013001" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 1024 -n lgntv0013002 vg00

.ogical volume "/dev/vg00/lgntv0013002" has been successfully created with

character device "/dev/vg00/rlgntv0013002".

.ogical volume "/dev/vg00/lgntv0013002" has been successfully extended.

.olume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 1024 -n lgntv0013003 vg00

Logical volume "/dev/vg00/lgntv0013003" has been successfully created with

character device "/dev/vg00/rlgntv0013003".

.ogical volume "/dev/vg00/lgntv0013003" has been successfully extended.

.olume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 1024 -n lgntv0013004 vg00

Logical volume "/dev/vg00/lgntv0013004" has been successfully created with

character device "/dev/vg00/rlgntv0013004".

.ogical volume "/dev/vg00/lgntv0013004" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 1024 -n lgntv0013005 vg00

Logical volume "/dev/vg00/lgntv0013005" has been successfully created with

character device "/dev/vg00/rlgntv0013005".

Logical volume "/dev/vg00/lgntv0013005" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 2048 -n lgntv0013006 vg00

Logical volume "/dev/vg00/lgntv0013006" has been successfully created with

character device "/dev/vg00/rlgntv0013006".

Logical volume "/dev/vg00/lgntv0013006" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 2048 -n lgntv0013007 vg00

Logical volume "/dev/vg00/lgntv0013007" has been successfully created with

character device "/dev/vg00/rlgntv0013007".

Logical volume "/dev/vg00/lgntv0013007" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 2048 -n lgntv0013008 vg00

Logical volume "/dev/vg00/lgntv0013008" has been successfully created with

character device "/dev/vg00/rlgntv0013008".

Logical volume "/dev/vg00/lgntv0013008" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 2048 -n lgntv0013009 vg00

Logical volume "/dev/vg00/lgntv0013009" has been successfully created with

character device "/dev/vg00/rlgntv0013009".

Logical volume "/dev/vg00/lgntv0013009" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

rx8640-2:/dev/vg00> lvcreate -L 2048 -n lgntv0013010 vg00

Logical volume "/dev/vg00/lgntv0013010" has been successfully created with

character device "/dev/vg00/rlgntv0013010".

Logical volume "/dev/vg00/lgntv0013010" has been successfully extended.

Volume Group configuration for /dev/vg00 has been saved in /etc/lvmconf/vg00.conf

 

rx8640-2:/> cd /dev/vg00

rx8640-2:/dev/vg00> ll

total 0         

crw-r-----   1 root       sys         64 0x000000 Jul  8 11:45 group

brw-r-----   1 root       sys         64 0x000017 Jul 29 12:31 lgntv0013000

brw-r-----   1 root       sys         64 0x000018 Jul 29 12:31 lgntv0013001

brw-r-----   1 root       sys         64 0x000019 Jul 29 12:31 lgntv0013002

brw-r-----   1 root       sys         64 0x00001a Jul 29 12:31 lgntv0013003

brw-r-----   1 root       sys         64 0x00001b Jul 29 12:31 lgntv0013004

brw-r-----   1 root       sys         64 0x00001c Jul 29 12:32 lgntv0013005

brw-r-----   1 root       sys         64 0x00001d Jul 29 12:32 lgntv0013006

brw-r-----   1 root       sys         64 0x00001e Jul 29 12:32 lgntv0013007

brw-r-----   1 root       sys         64 0x00001f Jul 29 12:32 lgntv0013008

brw-r-----   1 root       sys         64 0x000020 Jul 29 12:32 lgntv0013009

brw-r-----   1 root       sys         64 0x000021 Jul 29 12:33 lgntv0013010

brw-r-----   1 root       sys         64 0x000009 Jul  8 16:28 lgntv00l00

brw-r-----   1 root       sys         64 0x00000a Jul  8 16:28 lgntv00l01

brw-r-----   1 root       sys         64 0x00000b Jul  8 16:37 lgntv00l02

brw-r-----   1 root       sys         64 0x000001 Jul  8 11:45 lvol1

brw-r-----   1 root       sys         64 0x000002 Jul  8 11:45 lvol2

brw-r-----   1 root       sys         64 0x000003 Jul  8 11:45 lvol3

brw-r-----   1 root       sys         64 0x000004 Jul  8 11:45 lvol4

brw-r-----   1 root       sys         64 0x000005 Jul  8 11:45 lvol5

brw-r-----   1 root       sys         64 0x000006 Jul  8 11:45 lvol6

brw-r-----   1 root       sys         64 0x000007 Jul  8 11:45 lvol7

brw-r-----   1 root       sys         64 0x000008 Jul  8 11:45 lvol8

crw-r-----   1 root       sys         64 0x000017 Jul 29 12:31 rlgntv0013000

crw-r-----   1 root       sys         64 0x000018 Jul 29 12:31 rlgntv0013001

crw-r-----   1 root       sys         64 0x000019 Jul 29 12:31 rlgntv0013002

crw-r-----   1 root       sys         64 0x00001a Jul 29 12:31 rlgntv0013003

crw-r-----   1 root       sys         64 0x00001b Jul 29 12:31 rlgntv0013004

crw-r-----   1 root       sys         64 0x00001c Jul 29 12:32 rlgntv0013005

crw-r-----   1 root       sys         64 0x00001d Jul 29 12:32 rlgntv0013006

crw-r-----   1 root       sys         64 0x00001e Jul 29 12:32 rlgntv0013007

crw-r-----   1 root       sys         64 0x00001f Jul 29 12:32 rlgntv0013008

crw-r-----   1 root       sys         64 0x000020 Jul 29 12:32 rlgntv0013009

crw-r-----   1 root       sys         64 0x000021 Jul 29 12:33 rlgntv0013010

crw-r-----   1 root       sys         64 0x000009 Jul  8 16:28 rlgntv00l00

crw-r-----   1 root       sys         64 0x00000a Jul  8 16:28 rlgntv00l01

crw-r-----   1 root       sys         64 0x00000b Jul  8 16:37 rlgntv00l02

crw-r-----   1 root       sys         64 0x000001 Jul  8 11:45 rlvol1

crw-r-----   1 root       sys         64 0x000002 Jul  8 11:45 rlvol2

crw-r-----   1 root       sys         64 0x000003 Jul  8 11:45 rlvol3

crw-r-----   1 root       sys         64 0x000004 Jul  8 11:45 rlvol4

crw-r-----   1 root       sys         64 0x000005 Jul  8 11:45 rlvol5

crw-r-----   1 root       sys         64 0x000006 Jul  8 11:45 rlvol6

crw-r-----   1 root       sys         64 0x000007 Jul  8 11:45 rlvol7

crw-r-----   1 root       sys         64 0x000008 Jul  8 11:45 rlvol8

 

赋予正确的权限以及属主:

rx8640-2:/dev/vg00> chown informix:informix rlgnt*

rx8640-2:/dev/vg00> chmod 660 rlgnt*

rx8640-2:/dev/vg00> ll

total 0

crw-r-----   1 root       sys         64 0x000000 Jul  8 11:45 group

brw-r-----   1 root       sys         64 0x000017 Jul 29 12:31 lgntv0013000

brw-r-----   1 root       sys         64 0x000018 Jul 29 12:31 lgntv0013001

brw-r-----   1 root       sys         64 0x000019 Jul 29 12:31 lgntv0013002

brw-r-----   1 root       sys         64 0x00001a Jul 29 12:31 lgntv0013003

brw-r-----   1 root       sys         64 0x00001b Jul 29 12:31 lgntv0013004

brw-r-----   1 root       sys         64 0x00001c Jul 29 12:32 lgntv0013005

brw-r-----   1 root       sys         64 0x00001d Jul 29 12:32 lgntv0013006

brw-r-----   1 root       sys         64 0x00001e Jul 29 12:32 lgntv0013007

brw-r-----   1 root       sys         64 0x00001f Jul 29 12:32 lgntv0013008

brw-r-----   1 root       sys         64 0x000020 Jul 29 12:32 lgntv0013009

brw-r-----   1 root       sys         64 0x000021 Jul 29 12:33 lgntv0013010

brw-r-----   1 root       sys         64 0x000009 Jul  8 16:28 lgntv00l00

brw-r-----   1 root       sys         64 0x00000a Jul  8 16:28 lgntv00l01

brw-r-----   1 root       sys         64 0x00000b Jul  8 16:37 lgntv00l02

brw-r-----   1 root       sys         64 0x000001 Jul  8 11:45 lvol1

brw-r-----   1 root       sys         64 0x000002 Jul  8 11:45 lvol2

brw-r-----   1 root       sys         64 0x000003 Jul  8 11:45 lvol3

brw-r-----   1 root       sys         64 0x000004 Jul  8 11:45 lvol4

brw-r-----   1 root       sys         64 0x000005 Jul  8 11:45 lvol5

brw-r-----   1 root       sys         64 0x000006 Jul  8 11:45 lvol6

brw-r-----   1 root       sys         64 0x000007 Jul  8 11:45 lvol7

brw-r-----   1 root       sys         64 0x000008 Jul  8 11:45 lvol8

crw-rw----   1 informix   informix    64 0x000017 Jul 29 12:31 rlgntv0013000

crw-rw----   1 informix   informix    64 0x000018 Jul 29 12:31 rlgntv0013001

crw-rw----   1 informix   informix    64 0x000019 Jul 29 12:31 rlgntv0013002

crw-rw----   1 informix   informix    64 0x00001a Jul 29 12:31 rlgntv0013003

crw-rw----   1 informix   informix    64 0x00001b Jul 29 12:31 rlgntv0013004

crw-rw----   1 informix   informix    64 0x00001c Jul 29 12:32 rlgntv0013005

crw-rw----   1 informix   informix    64 0x00001d Jul 29 12:32 rlgntv0013006

crw-rw----   1 informix   informix    64 0x00001e Jul 29 12:32 rlgntv0013007

crw-rw----   1 informix   informix    64 0x00001f Jul 29 12:32 rlgntv0013008

crw-rw----   1 informix   informix    64 0x000020 Jul 29 12:32 rlgntv0013009

crw-rw----   1 informix   informix    64 0x000021 Jul 29 12:33 rlgntv0013010

crw-rw----   1 informix   informix    64 0x000009 Jul  8 16:28 rlgntv00l00

crw-rw----   1 informix   informix    64 0x00000a Jul  8 16:28 rlgntv00l01

crw-rw----   1 informix   informix    64 0x00000b Jul  8 16:37 rlgntv00l02

crw-r-----   1 root       sys         64 0x000001 Jul  8 11:45 rlvol1

crw-r-----   1 root       sys         64 0x000002 Jul  8 11:45 rlvol2

crw-r-----   1 root       sys         64 0x000003 Jul  8 11:45 rlvol3

crw-r-----   1 root       sys         64 0x000004 Jul  8 11:45 rlvol4

crw-r-----   1 root       sys         64 0x000005 Jul  8 11:45 rlvol5

crw-r-----   1 root       sys         64 0x000006 Jul  8 11:45 rlvol6

crw-r-----   1 root       sys         64 0x000007 Jul  8 11:45 rlvol7

crw-r-----   1 root       sys         64 0x000008 Jul  8 11:45 rlvol8

阅读(2378) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~