国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁(yè) > 系統(tǒng) > Linux > 正文

Linux硬盤分區(qū)生效命令partprobe

2024-06-28 14:31:34
字體:
來(lái)源:轉(zhuǎn)載
供稿:網(wǎng)友

在linux中使用fdisk命令進(jìn)行分區(qū)時(shí),有時(shí)會(huì)遇到“WARNING: Re-reading the partition table failed with error 16: Device or resource busy.The kernel still uses the old table.The new table will be used at the next reboot.”這種告警信息。如下所示

[root@localhost ~]# fdisk /dev/sde

The number of cylinders for this disk is set to 18928.
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/sde: 155.6 GB, 155692564480 bytes
255 heads, 63 sectors/track, 18928 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sde1               1       18275   146793906    5  Extended
/dev/sde5               1       18275   146793874+  83  Linux

Command (m for help): n
Command action
   l   logical (5 or over)
   p   primary partition (1-4)
p
Partition number (1-4): 2
First cylinder (18276-18928, default 18276):
Using default value 18276
Last cylinder or +size or +sizeM or +sizeK (18276-18928, default 18928):
Using default value 18928

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

Calling ioctl() to re-read partition table.

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.
The kernel still uses the old table.
The new table will be used at the next reboot.
Syncing disks.

此時(shí)使用fdisk命令看不到新建的分區(qū)信息,可以使用partprobe命令解決這個(gè)問(wèn)題而不用重啟系統(tǒng),因?yàn)閜artprobe可以使kernel重新讀取分區(qū)信息,從而避免重啟系統(tǒng)。

partprobe - inform the OS of partition table changes

DESCRipTION
       This manual page documents briefly the partprobe command.

       partprobe is a program that informs the Operating system kernel of partition table changes, by requesting that the operating system re-read the partition table.


發(fā)表評(píng)論 共有條評(píng)論
用戶名: 密碼:
驗(yàn)證碼: 匿名發(fā)表
主站蜘蛛池模板: 余姚市| 克山县| 威远县| 景洪市| 鸡东县| 绥中县| 华安县| 江孜县| 湖南省| 兴义市| 泾源县| 汪清县| 阳春市| 色达县| 斗六市| 安龙县| 池州市| 天气| 江城| 湄潭县| 庄河市| 额敏县| 柳林县| 得荣县| 镇坪县| 海伦市| 大新县| 甘谷县| 龙陵县| 通江县| 宁化县| 三门峡市| 阿合奇县| 普陀区| 林周县| 北海市| 肥乡县| 农安县| 大田县| 枣阳市| 瑞金市|