第 11 章 gpart -- control utility for the disk partitioning GEOM class

简介:


显示gpt分区

	
root@netkiller:~ # gpart show
=>       34  312581741  ada0  GPT  (149G)
         34    8388608     1  freebsd-swap  (4.0G)
    8388642        128     2  freebsd-boot  (64k)
    8388770   94371712     3  freebsd-ufs  (45G)
  102760482  209821293        - free -  (100G)
  	
	

建立gpt分区

		
root@netkiller:~ # gpart add -t freebsd-ufs ada0
ada0p4 added
root@netkiller:~ # gpart show
=>       34  312581741  ada0  GPT  (149G)
         34    8388608     1  freebsd-swap  (4.0G)
    8388642        128     2  freebsd-boot  (64k)
    8388770   94371712     3  freebsd-ufs  (45G)
  102760482  209821293     4  freebsd-ufs  (100G)

# newfs /dev/ada0p4 
/dev/ada0p4: 102451.8MB (209821288 sectors) block size 32768, fragment size 4096
	using 164 cylinder groups of 626.09MB, 20035 blks, 80256 inodes.
super-block backups (for fsck_ffs -b #) at:
 192, 1282432, 2564672, 3846912, 5129152, 6411392, 7693632, 8975872, 10258112,
 11540352, 12822592, 14104832, 15387072, 16669312, 17951552, 19233792,
 20516032, 21798272, 23080512, 24362752, 25644992, 26927232, 28209472,
 29491712, 30773952, 32056192, 33338432, 34620672, 35902912, 37185152,
 38467392, 39749632, 41031872, 42314112, 43596352, 44878592, 46160832,
 47443072, 48725312, 50007552, 51289792, 52572032, 53854272, 55136512,
 56418752, 57700992, 58983232, 60265472, 61547712, 62829952, 64112192,
 65394432, 66676672, 67958912, 69241152, 70523392, 71805632, 73087872,
 74370112, 75652352, 76934592, 78216832, 79499072, 80781312, 82063552,
 83345792, 84628032, 85910272, 87192512, 88474752, 89756992, 91039232,
 92321472, 93603712, 94885952, 96168192, 97450432, 98732672, 100014912,
 101297152, 102579392, 103861632, 105143872, 106426112, 107708352, 108990592,
 110272832, 111555072, 112837312, 114119552, 115401792, 116684032, 117966272,
 119248512, 120530752, 121812992, 123095232, 124377472, 125659712, 126941952,
 128224192, 129506432, 130788672, 132070912, 133353152, 134635392, 135917632,
 137199872, 138482112, 139764352, 141046592, 142328832, 143611072, 144893312,
 146175552, 147457792, 148740032, 150022272, 151304512, 152586752, 153868992,
 155151232, 156433472, 157715712, 158997952, 160280192, 161562432, 162844672,
 164126912, 165409152, 166691392, 167973632, 169255872, 170538112, 171820352,
 173102592, 174384832, 175667072, 176949312, 178231552, 179513792, 180796032,
 182078272, 183360512, 184642752, 185924992, 187207232, 188489472, 189771712,
 191053952, 192336192, 193618432, 194900672, 196182912, 197465152, 198747392,
 200029632, 201311872, 202594112, 203876352, 205158592, 206440832, 207723072,
 209005312
  	
	



原文出处:Netkiller 系列 手札
本文作者:陈景峯
转载请与作者联系,同时请务必标明文章原始出处和作者信息及本声明。

目录
相关文章
|
前端开发 5G
Search space set group switching(一)
根据R17 38.300的描述,UE可以通过PDCCH monitoring adaptation机制实现power saving的目的,这其中就包括PDCCH monitoring skipping和search space set group (SSSG) switching两种机制。PDCCH monitoring skipping是R17才提出的机制,就是UE 可以在PDCCH skipping的时间内不监视 PDCCH的功能;search space set group (SSSG) switching R16提出,R17进行了部分增强。
使用parted创建大分区时 mkpart Warning: The resulting partition is not properly aligned for best performance.
fdisk不能创建大于2T的分区,创建大分区得用parted,我在用parted创建分区时遇到下面的警告提示
263 0
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
SAP WM Storage Type Capacity Check Method 5 (Usage check based on SUT)
|
数据安全/隐私保护
Give root password for maintenance(or type control -D to continue)
2017-09-30 18:12:08 1:错误如图,本来开机准备用一下虚拟机,就出现一个这,为啥记录一下呢,因为网上好多不是很靠谱。 原因可能是之前关闭虚拟机的时候不小心出现异常了: 2:解决办法:   个人根据自己的磁盘分区情况,进行修复即可; 解决方法,在鼠标停留的地方输入...
1852 0

热门文章

最新文章