|
WARNING: A geometry of 473723/255/63 for da2 is incorrect. Using
a more likely geometry. If this geometry is incorrect or you
are unsure as to whether or not it's correct, please consult
the Hardware Guide in the Documentation submenu or use the
(G)eometry command to change it now.
Remember: you need to enter whatever your BIOS thinks the
geometry is! For IDE, it's what you were told in the BIOS
setup. For SCSI, it's the translation mode your controller is
using. Do NOT use a ``physical geometry''.
终于自己解决了4T磁盘阵列格式化的问题,我很欣慰
/dev/da2为磁盘阵列,具体方法如下:
1.按照正常光盘安装系统,到/dev/da2时就格式化成1.5T的大小,正常安装结束。
启动系统后,df命令可看到/dev/da2所mount上的目录,大小是错误的。这时,
#umount /dev/da2s1d
2.把磁盘阵列当作一块新硬盘添加到系统中,
#dd if=/dev/zero of=/dev/da2 bs=1k count=1
用这个命令把磁盘阵列的主引导区删除,之后可用
#fdisk /dev/da2 命令检查,可看到cylinders, heads, sectors还是原先BIOS不认的数值,不管它。
3.强行设置分区
#fdisk –i /dev/da2
为了确保容量不变,要根据交互界面提示,输入上述cylinders, heads, sectors值,一路确认或者根据实际情况做下去,其中文件系统的sysid选择165。(我试过GPT,sysid为238,也是可以的。)
4.创建新文件系统
#newfs –U /dev/da2,选择softupdate支持
5.安装文件系统
#mount /dev/da2 /where_I_like_to_mount
6.修改/etc/fstab
#vi /etc/fstab,把其中/dev/da2s1d修改为/dev/da2
7.重新启动,可正常工作,df检查磁盘阵列容量正常!
www.47tao.com |
|