日期:2014-05-16 浏览次数:20841 次
[root@new-jwtest /]# su - oracle -- 进入 oracle 用户 [oracle@new-jwtest ~]$ sqlplus "/as sysdba" -- 以管理员的身份进入数据库 SQL*Plus: Release 10.2.0.1.0 - Production on Sun Apr 8 17:29:54 2012 Copyright (c) 1982, 2005, Oracle. All rights reserved. Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - 64bit Production With the Partitioning, OLAP and Data Mining options SQL> startup -- 启动数据库 -- 此时可能会提示:没有发现存储 /u03 SQL> quit -- 退出数据库 [oracle@new-jwtest ~]$ exit -- 退出oracle用户?
[root@new-jwtest ~]# fdisk -l Disk /dev/sda: 146.5 GB, 146544787456 bytes 255 heads, 63 sectors/track, 17816 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sda1 * 1 25 200781 83 Linux /dev/sda2 26 2065 16386300 82 Linux swap / Solaris /dev/sda3 2066 17816 126519907+ 83 Linux Disk /dev/sdb: 1498.6 GB, 1498657587200 bytes 255 heads, 63 sectors/track, 182201 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/sdb1 * 1 182201 1463529501 83 Linux?
[root@new-jwtest /]# mount /dev/sdb1 /u03 -- 把存储 /u03 挂在 /dev/sdb1?