Chinaunix首页 | 论坛 | 博客
  • 博客访问: 3233098
  • 博文数量: 949
  • 博客积分: 10126
  • 博客等级: 上将
  • 技术积分: 12100
  • 用 户 组: 普通用户
  • 注册时间: 2006-06-16 10:57
文章分类

全部博文(949)

文章存档

2013年(1)

2012年(4)

2011年(4)

2010年(12)

2009年(342)

2008年(586)

分类:

2009-04-02 09:25:08

[db#/dev]hostname
db
[db#/dev]uptime
 10:50am  up 17:48,  6 users,  load average: 0.05, 0.06, 0.06
[db#/dev]lvcreate -L 128 -n control1 /dev/vgdata
Logical volume "/dev/vgdata/control1" has been successfully created with
character device "/dev/vgdata/rcontrol1".
Logical volume "/dev/vgdata/control1" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev]cd vgdata
[db#/dev/vgdata]ls -l
total 0
brw-r-----   1 root       sys         64 0x040001 Mar 27 10:50 control1
crw-rw-rw-   1 root       sys         64 0x040000 Feb  6 15:32 group
crw-r-----   1 root       sys         64 0x040001 Mar 27 10:50 rcontrol1
[db#/dev/vgdata]lvcreate -L 128 -n control2 /dev/vgdata
Logical volume "/dev/vgdata/control2" has been successfully created with
character device "/dev/vgdata/rcontrol2".
Logical volume "/dev/vgdata/control2" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 128 -n control3 /dev/vgdata
Logical volume "/dev/vgdata/control3" has been successfully created with
character device "/dev/vgdata/rcontrol3".
Logical volume "/dev/vgdata/control3" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 2048 -n system /dev/vgdata
Logical volume "/dev/vgdata/system" has been successfully created with
character device "/dev/vgdata/rsystem".
Logical volume "/dev/vgdata/system" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 2048 -n undotbs /dev/vgdata
Logical volume "/dev/vgdata/undotbs" has been successfully created with
character device "/dev/vgdata/rundotbs".
Logical volume "/dev/vgdata/undotbs" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 2048-n sysaux /dev/vgdata
Usage: lvcreate
        [-A Autobackup]
        [-d Schedule]
        [-i Stripes [-I StripeSize]]
        [-l LogicalExtentsNumber |
         -L LogicalVolumeSize]
        [-m MirrorCopies]
        [-n LogicalVolumeName]
        [-p Permission]
        [-r Relocate]
        [-s Strict]
        [-C Contiguous]
        [-D Distributed]
        [-M MirrorWriteCache]
        [-c MirrorConsistency]
        VolumeGroupName
Note: The "-r" option is not available for volume group version 2.0 or higher.
"/dev/vgdata": Too many arguments
[db#/dev/vgdata]lvcreate -L 2048 -n sysaux /dev/vgdata
Logical volume "/dev/vgdata/sysaux" has been successfully created with
character device "/dev/vgdata/rsysaux".
Logical volume "/dev/vgdata/sysaux" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 2048 -n users /dev/vgdata
Logical volume "/dev/vgdata/users" has been successfully created with
character device "/dev/vgdata/rusers".
Logical volume "/dev/vgdata/users" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 10240 -n temp /dev/vgdata
Logical volume "/dev/vgdata/temp" has been successfully created with
character device "/dev/vgdata/rtemp".
Logical volume "/dev/vgdata/temp" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 512 -n redo01 /dev/vgdata
Logical volume "/dev/vgdata/redo01" has been successfully created with
character device "/dev/vgdata/rredo01".
Logical volume "/dev/vgdata/redo01" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 512 -n redo02 /dev/vgdata
Logical volume "/dev/vgdata/redo02" has been successfully created with
character device "/dev/vgdata/rredo02".
Logical volume "/dev/vgdata/redo02" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]lvcreate -L 512 -n redo03 /dev/vgdata
Logical volume "/dev/vgdata/redo03" has been successfully created with
character device "/dev/vgdata/rredo03".
Logical volume "/dev/vgdata/redo03" has been successfully extended.
Volume Group configuration for /dev/vgdata has been saved in /etc/lvmconf/vgdata.conf
[db#/dev/vgdata]

[db#/dev/vgdata]ls -l           
total 0
brw-r-----   1 root       sys         64 0x040001 Mar 27 10:50 control1
brw-r-----   1 root       sys         64 0x040002 Mar 27 10:50 control2
brw-r-----   1 root       sys         64 0x040003 Mar 27 10:51 control3
crw-rw-rw-   1 root       sys         64 0x040000 Feb  6 15:32 group
crw-r-----   1 root       sys         64 0x040001 Mar 27 10:50 rcontrol1
crw-r-----   1 root       sys         64 0x040002 Mar 27 10:50 rcontrol2
crw-r-----   1 root       sys         64 0x040003 Mar 27 10:51 rcontrol3
brw-r-----   1 root       sys         64 0x040009 Mar 27 10:52 redo01
brw-r-----   1 root       sys         64 0x04000a Mar 27 10:52 redo02
brw-r-----   1 root       sys         64 0x04000b Mar 27 10:53 redo03
crw-r-----   1 root       sys         64 0x040009 Mar 27 10:52 rredo01
crw-r-----   1 root       sys         64 0x04000a Mar 27 10:52 rredo02
crw-r-----   1 root       sys         64 0x04000b Mar 27 10:53 rredo03
crw-r-----   1 root       sys         64 0x040006 Mar 27 10:51 rsysaux
crw-r-----   1 root       sys         64 0x040004 Mar 27 10:51 rsystem
crw-r-----   1 root       sys         64 0x040008 Mar 27 10:52 rtemp
crw-r-----   1 root       sys         64 0x040005 Mar 27 10:51 rundotbs
crw-r-----   1 root       sys         64 0x040007 Mar 27 10:52 rusers
brw-r-----   1 root       sys         64 0x040006 Mar 27 10:51 sysaux
brw-r-----   1 root       sys         64 0x040004 Mar 27 10:51 system
brw-r-----   1 root       sys         64 0x040008 Mar 27 10:52 temp
brw-r-----   1 root       sys         64 0x040005 Mar 27 10:51 undotbs
brw-r-----   1 root       sys         64 0x040007 Mar 27 10:52 users
[db#/dev/vgdata]chown oracle:dba r*
阅读(877) | 评论(0) | 转发(0) |
0

上一篇:fs

下一篇:归档改回不归档

给主人留下些什么吧!~~