官术网_书友最值得收藏!

6.3 Formatting the Unallocated Disk Partition

In order to make the new partition suitable for use by Ubuntu, it needs to have a file system created on it. The recommended file system type for the current release of Ubuntu is XFS which will be covered in greater detail in the chapter entitled “Adding a New Disk Drive to an Ubuntu System”. Creation of the file system is performed using the mkfs.xfs command as follows (installing the xfsprogs package if necessary):

# apt install xfsprogs

# mkfs.xfs /dev/sda1

meta-data=/dev/sda1 isize=512 agcount=4, agsize=1867776 blks

         = sectsz=512 attr=2, projid32bit=1

         = crc=1 finobt=1, sparse=0, rmapbt=0, reflink=0

data = bsize=4096 blocks=7471103, imaxpct=25

         = sunit=0 swidth=0 blks

naming =version 2 bsize=4096 ascii-ci=0 ftype=1

log =internal log bsize=4096 blocks=3647, version=2

         = sectsz=512 sunit=0 blks, lazy-count=1

realtime =none extsz=4096 blocks=0, rtextents=0

主站蜘蛛池模板: 玉门市| 大竹县| 桃园市| 衡山县| 延安市| 汉沽区| 兴海县| 东乡县| 台安县| 扬州市| 孝昌县| 营山县| 汕头市| 瑞金市| 宁城县| 安平县| 盐山县| 昌宁县| 上高县| 白银市| 万全县| 鄄城县| 满洲里市| 南充市| 时尚| 泉州市| 菏泽市| 洛浦县| 浏阳市| 秦皇岛市| 溆浦县| 松溪县| 余干县| 鹤岗市| 沈丘县| 汶川县| 玛纳斯县| 高淳县| 灵山县| 壶关县| 教育|