搭建家庭云存储之二-格式化硬盘

来源:互联网 发布:手机视频短片软件 编辑:程序博客网 时间:2024/05/22 11:58

根据dd-wrt建议,虽然网购的硬盘还没有到,但我还是利用时间想好如何把硬盘分区。
optware是必装的软件,根据该软件的建议,建议使用GParted作为格式化硬盘的软件。
GParted有四种安装方法,我直接下载了i686的ISO包,按照第一种方法的指示,解压后,直接运行makeboot.bat,没有成功。
按照第二种方法,下载了tuxboot-0.6.exe,选择第一步下载的ISO后,安装成功。重启系统,选择USB启动,运行成功。

根据文档建议:

Ext2 should be used for flashdrive because it does not use journaling (like ext3)

所以,硬盘最好选用ext2格式而不是ext3,ext3会增加读写次数,从而降低了硬盘寿命。

至于分区,dd-wrt建议:

one: for optware packages - make it 32MB - 2GB - use ext2/3 as the format
two: for swap file - make it 16-256 MB - format it as linux swap file
three: for data space - make it fit the rest of the disk - use ext2/3 or FAT32 as the format
four: for jffs space - make it 32MB - 2GB - use ext2/3 as the format

而optware同时建议,对于usb连接的硬盘,jffs分区是没有必要的,因为根本读不出来这个分区,这个分区只有MMC存储用户才有效。

分区的详细教程见:
How to - Format and Partition External Storage Device

参考资料:
DD-wrt的wikihttp://www.dd-wrt.com/wiki/index.php/%E6%95%99%E7%A8%8B

optware说明http://www.dd-wrt.com/wiki/index.php/Optware%2C_the_Right_Way

如何格式化硬盘http://www.dd-wrt.com/wiki/index.php/How_to_-_Format_and_Partition_External_Storage_Device

GParted软件http://gparted.sourceforge.net/livecd.php

0 0
原创粉丝点击