<em id="0a85b"><option id="0a85b"></option></em>

<abbr id="0a85b"></abbr>

      <nobr id="0a85b"></nobr>
        <tr id="0a85b"></tr>
        9久久伊人精品综合,亚洲一区精品视频在线,成 人免费va视频,国产一区二区三区黄网,99国产精品永久免费视频,亚洲毛片多多影院,精品久久久无码人妻中文字幕,无码国产欧美一区二区三区不卡
        學習啦 > 學習電腦 > 操作系統(tǒng) > Linux教程 > linux系統(tǒng)fdisk磁盤分區(qū)

        linux系統(tǒng)fdisk磁盤分區(qū)

        時間: 志藝942 分享

        linux系統(tǒng)fdisk磁盤分區(qū)

          對于學習磁盤分區(qū),通常學習的都是fdisk命令當然,對于小于2TB的磁盤,我們基本上是使用fdisk命令進行分區(qū)接下來是小編為大家收集的linux系統(tǒng)fdisk磁盤分區(qū),歡迎大家閱讀:

          linux系統(tǒng)fdisk磁盤分區(qū)

          fdisk -l 查看所有磁盤信息

          fdisk /dev/sdb 使用fdisk命令工具操作/dev/sdb磁盤

          m 顯示所有的命令信息、用法

          p 顯示分區(qū)信息

          q 退出

          w 保存分區(qū)信息,只有執(zhí)行了w命令后才會把分區(qū)信息寫入到磁盤

          d 1 刪除磁盤的第一個分區(qū)

          場景模擬

          有一個1G的磁盤/dev/sdb

          分區(qū)為一個主分區(qū),一個擴展分區(qū),大小都為200M

          其中在擴展分區(qū)上面建立一個100M的邏輯分區(qū) /dev/sdb5

          格式化文件系統(tǒng)為 mkfs.ext4

          實現(xiàn)開機自動掛載到目錄 /backup3

          1 使用fdisk命令工具操作磁盤/dev/sdb

          fdisk /dev/sdb

          2 創(chuàng)建一個主分區(qū)

          Command (m for help): n

          Command action

          e extended

          p primary partition (1-4)

          p

          Partition number (1-4): 1

          Using default value 1

          Last cylinder, +cylinders or +size{K,M,G} (1-130, default 130): +400M

          Command (m for help): p

          Disk /dev/sdb: 1073 MB, 1073741824 bytes

          255 heads, 63 sectors/track, 130 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: 0x0004a98a

          Device Boot Start End Blocks Id System

          /dev/sdb1 1 52 417658+ 83 Linux

          3 創(chuàng)建一個擴展分區(qū)

          Command (m for help): n

          Command action

          e extended

          p primary partition (1-4)

          e

          Partition number (1-4): 2

          First cylinder (53-130, default 53):

          Using default value 53

          Last cylinder, +cylinders or +size{K,M,G} (53-130, default 130): +400M

          Command (m for help): p

          Disk /dev/sdb: 1073 MB, 1073741824 bytes

          255 heads, 63 sectors/track, 130 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: 0x0004a98a

          Device Boot Start End Blocks Id System

          /dev/sdb1 1 52 417658+ 83 Linux

          /dev/sdb2 53 104 417690 5 Extended

          4 創(chuàng)建一個邏輯分區(qū)

          Command (m for help): n

          Command action

          l logical (5 or over)

          p primary partition (1-4)

          l

          First cylinder (53-104, default 53):

          Using default value 53

          Last cylinder, +cylinders or +size{K,M,G} (53-104, default 104): +100M

          Command (m for help): p

          Disk /dev/sdb: 1073 MB, 1073741824 bytes

          255 heads, 63 sectors/track, 130 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: 0x0004a98a

          Device Boot Start End Blocks Id System

          /dev/sdb1 1 52 417658+ 83 Linux

          /dev/sdb2 53 104 417690 5 Extended

          /dev/sdb5 53 66 112423+ 83 Linux

          5 保存

          Command (m for help): w

          The partition table has been altered!

          Calling ioctl() to re-read partition table.

          Syncing disks.

          6 對磁盤進行分區(qū)

          [root@hsj2 ~]# mkfs.ext4 /dev/sdb1

          mke2fs 1.41.12 (17-May-2010)

          Filesystem label=

          OS type: Linux

          Block size=1024 (log=0)

          Fragment size=1024 (log=0)

          Stride=0 blocks, Stripe width=0 blocks

          104448 inodes, 417656 blocks

          20882 blocks (5.00%) reserved for the super user

          First data block=1

          Maximum filesystem blocks=67633152

          51 block groups

          8192 blocks per group, 8192 fragments per group

          2048 inodes per group

          Superblock backups stored on blocks:

          8193, 24577, 40961, 57345, 73729, 204801, 221185, 401409

          Writing inode tables: done

          Creating journal (8192 blocks): done

          Writing superblocks and filesystem accounting information: done

          This filesystem will be automatically checked every 31 mounts or

          180 days, whichever comes first. Use tune2fs -c or -i to override.

          [root@hsj2 ~]# mkfs.ext4 /dev/sdb5

          mke2fs 1.41.12 (17-May-2010)

          Filesystem label=

          OS type: Linux

          Block size=1024 (log=0)

          Fragment size=1024 (log=0)

          Stride=0 blocks, Stripe width=0 blocks

          28112 inodes, 112420 blocks

          5621 blocks (5.00%) reserved for the super user

          First data block=1

          Maximum filesystem blocks=67371008

          14 block groups

          8192 blocks per group, 8192 fragments per group

          2008 inodes per group

          Superblock backups stored on blocks:

          8193, 24577, 40961, 57345, 73729

          Writing inode tables: done

          Creating journal (4096 blocks): done

          Writing superblocks and filesystem accounting information: done

          This filesystem will be automatically checked every 31 mounts or

          180 days, whichever comes first. Use tune2fs -c or -i to override.

          ok,搞定

          
        看了“linux系統(tǒng)fdisk磁盤分區(qū)”還想看:

        1.Linux磁盤管理GPT分區(qū)教程

        2.linux系統(tǒng)硬盤怎么格式化

        3.Linux上磁盤掛載方法

        4.linux下磁盤怎么分區(qū)(2)

        2918603 主站蜘蛛池模板: 亚洲精品人成网线在播放VA| 激情综合网激情五月俺也去| 熟妇人妻av中文字幕老熟妇 | 97国产揄拍国产精品人妻| 国内精品久久久久影院蜜芽| 91久久夜色精品国产网站| 亚洲国产高清第一第二区| 啊┅┅快┅┅用力啊岳网站| 熟妇人妻av中文字幕老熟妇| 蜜芽久久人人超碰爱香蕉| 色窝窝免费播放视频在线| 国产福利深夜在线播放| 成在线人永久免费视频播放| 中国少妇人妻xxxxx| 国产精品黑色丝袜在线观看| 国产a在视频线精品视频下载| 韩国免费A级毛片久久| 麻豆精品久久久久久久99蜜桃| 国内少妇人妻偷人精品| semimi亚洲综合在线观看| 国产精品三级中文字幕| 爱性久久久久久久久| 亚洲精品色国语对白在线| 夜夜添无码试看一区二区三区| 国产三级a三级三级| 亚洲精品爆乳一区二区H| 国产高清看片日韩欧美久久| 日本一高清二区视频久二区 | 国产毛片A啊久久久久| 自拍偷区亚洲综合第二区| 精品综合久久久久久97| 东京热高清无码精品| 成全影院电视剧在线观看| 正在播放肥臀熟妇在线视频| 国产精品午夜剧场免费观看| XXXXXHD亚洲日本HD| 又爽又黄又无遮掩的免费视频| 宝贝几天没c你了好爽菜老板| 中文字幕国产精品自拍| 一边捏奶头一边高潮视频| 精品国产亚洲午夜精品av|