WARNING: Re-reading the partition table failed

今日在做lvm的时候,把一块盘剩余空间全部分给新分区,在保存的时候报:

WARNING: Re-reading the partition table failed with error 16: 设备或资源忙.

解决方法:执行下partprobe 命令

partprobe包含在parted的rpm软件包中。partprobe可以修改kernel中分区表,使kernel重新读取分区表。 因此,使用该命令就可以创建分区并且在不重新启动机器的情况下系统能够识别这些分区。

查看是否安装该命令:

[[email protected] ~]# rpm -q parted
parted-3.1-28.el7.x86_64
[[email protected] ~]#
[[email protected] ~]#
[[email protected] ~]# partprobe
Warning: 无法以读写方式打开 /dev/sr0 (只读文件系统)。/dev/sr0 已按照只读方式打开。

在次查看第三块已经出来了:

如果还有错误,可以从错误中看出来,需要reboot重启然后再mkfs格式化硬盘空间就可以了。

原文地址:http://blog.51cto.com/meiling/2165478

时间: 2024-10-10 13:09:31

WARNING: Re-reading the partition table failed的相关文章

WARNING: Re-reading the partition table failed with error 16: Device or resource busy.

在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误. had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema /dev/sdb1 1 3040 24418768+ 83 Linux /dev/sdb2 3041 6080 24418800 83 Linux

doesn't contain a valid partition table 解决方法

输入 fdisk -l 可以看到 输入 fdisk /dev/xvdb 跟着向导一步步做下去(如果不知道该输入什么,就输入“m”并回车,可以打印出菜单): Command (m for help): m Command action a   toggle a bootable flag b   edit bsd disklabel c   toggle the dos compatibility flag d   delete a partition l   list known partiti

Mycat+Mysql 插入数据报错 i[Err] 1064 - partition table, insert must provide ColumnList

使用Navicat连接Mycat 8066 成功插入了分库表和全局表 1.全局表 sql如下: INSERT INTO `t_rank` VALUES ('259bfdc3-7922-4839-96c7-61c89e877dc5', '法国', '7', '11', '11', '12', null, '34'); INSERT INTO `t_rank` VALUES ('41eece5d-9d86-4cfe-b0ce-e6d4e4021cac', '中国', '2', '38', '27',

小米2s线刷出现remote: partition table doesn't exist

=================问题============ 小米2s线刷出现remote: partition table doesn't exist =================解决方案========== 在线刷的包中的flash_all.bat内容最前面加入这一句“fastboot %* flash partition "%~dp0images\gpt_both0.bin" || @echo "Flash partition" &&

GUID Partition Table (GPT)

https://en.wikipedia.org/wiki/GUID_Partition_Table https://zh.wikipedia.org/wiki/全局唯一标识分区表 GUID Partition Table (GPT) is a standard for the layout of the partition table on a physical storage device, such as a hard disk drive or solid-state drive, us

Partition Table

what is Partition Table? Looking to optimize the performance of your SQL Server database? If your database contains very large tables, you may benefit from partitioning those tables onto separate filegroups. Allows you to spread data onto different p

小米线刷出现remote: partition table doesn't exist

将线刷的包中的flash_all.bat右键编辑,然后在内容最前面加入这一句fastboot %* flash partition "%~dp0images\gpt_both0.bin" || @echo "Flash partition" && exit /B 1就可以了 记得线刷的时候要选全部删除 小米线刷出现remote: partition table doesn't exist 原文地址:https://www.cnblogs.com/cl

Partition table的switch条件2:Partition 的隐式Check约束 和Nullability

Partition column允许为Null,Null是最小值,存在于Partition Number=1的partition中. Any data with a NULL in the partition column will reside in the leftmost partition. NULL is considered smaller than the minimum value of the data type’s values. Partition Function 定义了

Partition table的switch条件1:结构相同(类型,nullability)

1,创建实例数据 -- create parition function CREATE PARTITION FUNCTION pf_int_Left (int) AS RANGE LEFT FOR VALUES (10,20); --create partition scheme CREATE PARTITION SCHEME PS_int_Left AS PARTITION pf_int_Left TO ([primary], [primary], [primary]); --create p