欧美一区2区三区4区公司二百,国产精品婷婷午夜在线观看,自拍偷拍亚洲精品,国产美女诱惑一区二区

歡迎來到云服務(wù)器

系統(tǒng)配置

阿里云Linux云主機(jī)怎么樣格式化和掛載數(shù)據(jù)盤詳細(xì)教程

假如您在建設(shè)實例時選擇了數(shù)據(jù)盤,在登錄實例后,系統(tǒng)需要先名目化數(shù)據(jù)盤,然后掛載數(shù)據(jù)盤。

別的,您還可以按照業(yè)務(wù)需要,對數(shù)據(jù)盤舉辦多分區(qū)設(shè)置。發(fā)起利用系統(tǒng)自帶的東西舉辦分區(qū)操縱。

留意:云處事器 ECS 僅支持對 數(shù)據(jù)盤 舉辦二次分區(qū),而不支持對 系統(tǒng)盤 舉辦二次分區(qū)(不管是 Windows 照舊 Linux 系統(tǒng))。假如您強(qiáng)行利用第三方東西對系統(tǒng)盤舉辦二次分區(qū)操縱,大概激發(fā)未知風(fēng)險,如系統(tǒng)瓦解、數(shù)據(jù)丟失等。

本操縱合用于 非 I/O 優(yōu)化+SSD云盤 Linux (Redhat、CentOS、Debian、Ubuntu)實例。對付 I/O 優(yōu)化實例+SSD云盤數(shù)據(jù)盤分區(qū)掛載,發(fā)起利用 劇本東西:auto_fdisk_ssd.sh

利用長途毗連東西,輸入用戶名 root 和暗碼登錄到實例。

運行 fdisk -l 呼吁查察數(shù)據(jù)盤。留意:在沒有分區(qū)和名目化數(shù)據(jù)盤之前,利用 df -h 呼吁是無法看到數(shù)據(jù)盤的。在下面的示例中,有一個 5 GB 的數(shù)據(jù)盤需要掛載。
假如執(zhí)行了 fdisk -l 呼吁后,沒有發(fā)明 /dev/xvdb,則暗示您的實例沒有數(shù)據(jù)盤,因此無需掛載。可以忽略這一章。


 [[email protected] ~]# fdisk -l

 Disk /dev/xvda: 42.9 GB, 42949672960 bytes
 255 heads, 63 sectors/track, 5221 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x00078f9c

 Device Boot      Start         End      Blocks   Id  System
 /dev/xvda1   *           1        5222    41940992   83  Linux

 Disk /dev/xvdb: 5368 MB, 5368709120 bytes
 255 heads, 63 sectors/track, 652 cylinders
 Units = cylinders of 16065 * 512 = 8225280 bytes
 Sector size (logical/physical): 512 bytes / 512 bytes
 I/O size (minimum/optimal): 512 bytes / 512 bytes
 Disk identifier: 0x00000000


執(zhí)行下列呼吁,對數(shù)據(jù)盤舉辦分區(qū)。
 fdisk /dev/xvdb

按照提示,依次輸入 np1,兩次回車,wq,分區(qū)就開始了。


 [[email protected] ~]# fdisk /dev/xvdb
 Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklab            el
 Building a new DOS disklabel with disk identifier 0x33eb5059.
 Changes will remain in memory only, until you decide to write them.
 After that, of course, the previous content won't be recoverable.

 Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)

 WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
      switch off the mode (command 'c') and change display units to
      sectors (command 'u').

 Command (m for help): n
 Command action
    e   extended
    p   primary partition (1-4)
 p
 Partition number (1-4): 1
 First cylinder (1-652, default 1):
 Using default value 1
 Last cylinder, +cylinders or +size{K,M,G} (1-652, default 652):
 Using default value 652

 Command (m for help): wq
 The partition table has been altered!

 Calling ioctl() to re-read partition table.
 Syncing disks.

騰訊云代理

Copyright © 2003-2021 MFISP.COM. 國外vps服務(wù)器租用 夢飛云服務(wù)器租用 版權(quán)所有 ? 粵ICP備11019662號

主站蜘蛛池模板: 湖口县| 韶山市| 南靖县| 凌云县| 绍兴市| 衡阳市| 古丈县| 龙陵县| 金川县| 太湖县| 吉水县| 中超| 沾益县| 望江县| 清水县| 夏津县| 阳原县| 灵川县| 新乐市| 双柏县| 建昌县| 马山县| 阿克陶县| 东山县| 宝鸡市| 博湖县| 汉寿县| 普宁市| 青海省| 宁武县| 禹州市| 淮滨县| 绥棱县| 喀喇沁旗| 汝州市| 巴里| 于都县| 望江县| 湟中县| 额济纳旗| 雅江县|