千家信息网

Linux中使用fdisk命令进行分区时出现警告信息怎么办

发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,这篇文章主要介绍"Linux中使用fdisk命令进行分区时出现警告信息怎么办",在日常操作中,相信很多人在Linux中使用fdisk命令进行分区时出现警告信息怎么办问题上存在疑惑,小编查阅了各式资料,
千家信息网最后更新 2025年12月02日Linux中使用fdisk命令进行分区时出现警告信息怎么办

这篇文章主要介绍"Linux中使用fdisk命令进行分区时出现警告信息怎么办",在日常操作中,相信很多人在Linux中使用fdisk命令进行分区时出现警告信息怎么办问题上存在疑惑,小编查阅了各式资料,整理出简单好用的操作方法,希望对大家解答"Linux中使用fdisk命令进行分区时出现警告信息怎么办"的疑惑有所帮助!接下来,请跟着小编一起来学习吧!

在Linux中使用fdisk命令进行分区时,有时会遇到"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.

此时使用fdisk命令看不到新建的分区信息,可以使用partprobe命令解决这个问题而不用重启系统,因为partprobe可以使kernel重新读取分区信息,从而避免重启系统。

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.

到此,关于"Linux中使用fdisk命令进行分区时出现警告信息怎么办"的学习就结束了,希望能够解决大家的疑惑。理论与实践的搭配能更好的帮助大家学习,快去试试吧!若想继续学习更多相关知识,请继续关注网站,小编会继续努力为大家带来更多实用的文章!

信息 命令 怎么办 时出 学习 更多 系统 问题 帮助 实用 接下来 不用 可以使 文章 方法 理论 知识 篇文章 网站 资料 数据库的安全要保护哪些东西 数据库安全各自的含义是什么 生产安全数据库录入 数据库的安全性及管理 数据库安全策略包含哪些 海淀数据库安全审计系统 建立农村房屋安全信息数据库 易用的数据库客户端支持安全管理 连接数据库失败ssl安全错误 数据库的锁怎样保障安全 哪些院校有网络安全专业 软件开发专业毕业做什么 数据库开发工具靠谱吗 使用数据库管理系统的主要功能 网络安全会议落实措施 软件开发技术文档编写标准规范 怀旧服局域网服务器 网络安全校园日活动自查报告 全国网络安全系统名字 我的世界服务器自定义武器瞬移 c 控件 数据库绑定 服务器主板回收 软件开发服务可以计入劳务成本吗 服务器iis管理及维护 网络网络安全工作的目标包括 生物数据库资料 家用电脑网页服务器 迅雷一直提示数据库文件损坏 数据库文件加密了怎么打开 数据库读取xml值 如何修改数据库的字符类型 中国科技互联网圈领袖 qnap家用代理服务器 牙科X射线影像软件开发 学生网络安全教育简报 山东网络技术专接本有哪些 暗黑破坏神2重制版服务器怎么开 软件开发培训学校住建 办公无盘服务器搭建 南和微侠软件开发部
0