成人免费xxxxx在线视频软件_久久精品久久久_亚洲国产精品久久久_天天色天天色_亚洲人成一区_欧美一级欧美三级在线观看

Linux下用fdisk進行分區的步驟

系統 Linux
當你在Linux服務器上裝上全新的硬盤后,你需要用類似 fdisk 這樣的工具進行相應的分區。 fdisk中相應的提供5種基本操作:

當你在Linux服務器上裝上全新的硬盤后,你需要用類似 fdisk 這樣的工具進行相應的分區。

fdisk中相應的提供5種基本操作:

o n – 創建新分區 
o d – 刪除一個已有的分區 
o p – 打印現有的分區表 
o w – 把改動寫入到分區表,也就是保存. 
o q – 離開 fdisk

創建新分區

在下面的例子中, 我創建了主分區 /dev/sda1

 

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# fdisk /dev/sda
Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory only, until you decide to write them. After that, of course, the previous content won't be recoverable. The number of cylinders for this disk is set to 34893. There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Warning: invalid flag 0x0000 of partition table 4 will be corrected by w(rite)
Command (m for help): p
Disk /dev/sda: 287.0 GB, 287005343744 bytes
255 heads, 63 sectors/track, 34893 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First cylinder (1-34893, default 1):
Using default value 1
Last cylinder or +size or +sizeM or +sizeK (1-34893, default 34893):
Using default value 34893
Command (m for help): w
The partition table has been altered!
Calling ioctl() to re-read partition table.
Syncing disks.

 

確認分區是否創建成功

 

1
2
3
4
5
6
7
8
9
10
11
12
# fdisk /dev/sda
The number of cylinders for this disk is set to 34893.
There is nothing wrong with that, but this is larger than 1024, and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs (e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 287.0 GB, 287005343744 bytes
255 heads, 63 sectors/track, 34893 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 34893 280277991 83 Linux
Command (m for help): q

 

Linux下用fdisk進行分區的步驟就介紹到這里了。

【編輯推薦】

  1. 如何在RHEL5.7下搭建和配置DHCP服務器
  2. Linux服務器的16個監控命令
  3. 服務器性能指標:撥開服務器評測體系迷霧
責任編輯:趙寧寧
相關推薦

2010-05-28 18:23:27

Linux分區工具

2019-02-11 14:50:21

Linux分區命令

2014-08-07 11:26:04

linuxfdiskpartprobe

2022-01-11 15:10:18

Linuxfdiskparted

2009-12-25 09:54:56

linuxfdisk

2010-12-24 10:25:20

SCP 命令

2011-03-09 10:25:25

Linux安裝LAMP

2009-03-06 16:21:59

LinuxTestdisk修復軟件

2009-01-09 22:52:16

服務器硬盤Linux

2018-01-15 14:59:35

Linux命令交換分區

2011-08-10 14:51:46

LinuxLVM分區

2011-01-10 13:40:35

linux硬盤分區

2011-08-16 16:45:18

2009-12-08 12:24:36

LinuxNTFS分區寫操作

2011-08-16 17:19:59

linux加密分區

2010-11-02 14:16:02

linux下安裝DB2

2010-03-02 15:35:41

Linux硬盤分區

2016-10-27 13:25:08

LinuxMySQL安裝

2010-01-04 10:02:10

Linux掛載u盤

2009-12-17 17:41:52

點贊
收藏

51CTO技術棧公眾號

主站蜘蛛池模板: 成人国产一区二区三区精品麻豆 | 四虎最新 | 天天躁日日躁aaaa视频 | 一级毛片视频 | 亚洲一区二区精品视频 | 国产精品久久久亚洲 | 久久精品青青大伊人av | 亚洲欧美成人影院 | 99精品一区二区三区 | 国产欧美日韩一区 | 天天天天操 | 欧日韩在线 | 二区高清| 久久新| 国精日本亚洲欧州国产中文久久 | 欧美一级在线免费 | 亚洲精品乱码久久久久久久久久 | 欧美黄色大片在线观看 | 欧美日韩亚洲系列 | 91在线看视频 | 久久国产精品久久国产精品 | 视频一二三区 | 久久免费精品 | 97精品超碰一区二区三区 | 欧美成年人网站 | 羞羞的视频免费看 | 成人av在线播放 | 亚洲成人av| 久久久爽爽爽美女图片 | 国产午夜精品一区二区三区在线观看 | 欧美乱大交xxxxx另类电影 | 午夜精品一区二区三区在线 | 亚洲一区二区在线视频 | 日韩在线一区二区三区 | aⅴ色国产 欧美 | 久久久久国产 | 一区二区三区四区在线视频 | 亚洲国产aⅴ成人精品无吗 亚洲精品久久久一区二区三区 | 日韩中文一区二区三区 | 国产在线色 | 中文字幕一区二区三区精彩视频 |