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

  • Ubuntu 20.04 Essentials
  • Neil Smyth
  • 172字
  • 2021-06-11 17:39:34

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

主站蜘蛛池模板: 江西省| 镇平县| 临澧县| 都江堰市| 兴海县| 武安市| 丽江市| 谷城县| 西乌珠穆沁旗| 东阳市| 和田县| 青铜峡市| 三都| 永胜县| 盘山县| 陆河县| 新和县| 梓潼县| 泾川县| 繁昌县| 洪雅县| 南靖县| 囊谦县| 嘉定区| 洛隆县| 中阳县| 横峰县| 保康县| 新津县| 镇远县| 健康| 乌拉特中旗| 华坪县| 大新县| 乐业县| 姚安县| 沙田区| 买车| 鄂托克旗| 四平市| 阿拉善左旗|