Owner's Manual
132 在主机上配置数据库存储设备
使用
fdisk
公用程序调整磁盘分区
1
在命令提示符下,键入以下命令:
fdisk <
分区名称
>
,
其中
<
分区名称
>
是您要调整的分区的名称。
例如,如果分区名称为
/dev/emcpowera
,键入:
fdisk
/dev/emcpowera
系统会显示以下信息:
The number of cylinders for this disk is set
to 8782.
(此磁盘的磁柱数量设置为
8782
。)
There is nothing wrong with that, but this is
larger than 1024, and could in certain setups
cause problems with:
(这并没有问题,但由于该值大于
1024
,因此可能会在特定设置中导致以下问题:)
1) software that runs at boot time (e.g., old
versions of LILO)
(在引导时运行的软件
[
例如,旧版本的
LILO]
出现问题)
2) booting and partitioning software from
other OSs
(从其它
OS
进行引导和分区的软件出现问题)
(e.g., DOS FDISK, OS/2 FDISK)
(例如,
DOS FDISK
、
OS/2 FDISK
)
2
在命令提示符下,键入以下
fdisk
公用程序参数:
x
3
在命令提示符下,键入以下
fdisk
公用程序参数:
b
4
当提示输入分区编号时,在命令提示符下键入分区编号:
例如:
1
5
指定磁盘分区上的新位置用于数据的起始。例如:
128
6
在命令提示符下,键入以下
fdisk
公用程序参数:
w
系统会显示以下信息:
The partition table has been altered!
(分区表已变
更!)
Calling ioctl() to re-read partition table.
(调用
ioctl()
以重新读取分区表。)
Syncing disks.
(正在同步磁盘。)
7
对所有
Oracle
数据
LUN
重复步骤
1
到步骤
6
。