环境如下:
[root@ebs ~]# uname -a
Linux ebs.dthypower.com 2.6.9-42.ELsmp #1 SMP Wed Jul 12 23:27:17 EDT 2006 i686 i686 i386 GNU/Linux
[root@ebs ~]# df -k
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda2 20641788 14556492 5036656 75% /
/dev/sda1 521748 22688 472556 5% /boot
none 2073392 0 2073392 0% /dev/shm
/dev/sda4 218200672 190412960 27787712 88% /u01
[root@ebs ~]# fdisk -l
Disk /dev/sda: 249.8 GB, 249865175040 bytes
255 heads, 63 sectors/track, 30377 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 66 530113+ 83 Linux
/dev/sda2 67 2677 20972857+ 83 Linux
/dev/sda3 2678 3199 4192965 82 Linux swap
/dev/sda4 3200 30377 218307285 8e Linux LVM
关闭服务器,插入sata硬盘,重启,没有认出来。重试,还是认不出来。
进入raid控制器,create!成功!
fdisk /dev/sdb
n add a new partition
t change a partition's system id --8e
w write table to disk and exit
mkfs.xfs -t /dev/sdb1
完成。
Koogcjz 于 2007-08-07 10:53:40发表:
本文做学习参考