Linux下添加第二块scsi硬盘
Linux下添加第二块scsi硬盘
1.关机接好第二块SCSI硬盘
2.开机进入linux系统,输入fdisk -l 或者dmesg |grep sdb(这个命令会显示本机第2块硬盘的信息)
3.fdisk /dev/sdb
[root@OracleDB ~]# fdisk /dev/sdb
The number of cylinders for this disk is set to 1044.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): m
Command action
a toggle a bootable flag
b edit bsd disklabel
c toggle the dos compatibility flag
d delete a partition
l list known partition types
m print this menu
n add a new partition
o create a new empty DOS partition table
p print the partition tabl