⑴Installing:
⑵parted i .-.el base k
⑶TransactionSummary
⑷Install Package(s
⑸Totaldownload size: k
⑹Installedsize: . M
⑺Isthis ok [y/N]: y
⑻DownloadingPackages:
⑼parted-.-.el.i.rpm | kB :
⑽Runningrpm_check_debug
⑾RunningTransaction Test
⑿TransactionTest Sueeded
⒀RunningTransaction
⒁Installing : parted-.-.el.i /
⒂Verifying : parted-.-.el.i /
⒃Installed:
⒄parted.i :.-.el
⒅plete!
⒆安装完成后,再进行查询一次,已经安装成功。
⒇[rootlinuxidc~]# rpm -q parted
⒈parted-.-.el.i
⒉执行一下该命令:
⒊[rootlinuxidc~]# partprobe
⒋Warning:WARNING: the kernel failed to re-read the partition table on /dev/sda (Deviceor resource busy。 As a result, it maynot reflect all of your changes until after reboot.
⒌Warning:WARNING: the kernel failed to re-read the partition table on /dev/sdb (Deviceor resource busy。 As a result, it maynot reflect all of your changes until after reboot.
⒍Warning:Unable to open /dev/sr read-write (Read-only file system。 /dev/sr has been opened read-only.
⒎Warning:Unable to open /dev/sr read-write (Read-only file system。 /dev/sr has been opened read-only.
⒏Error:Invalid partition table - recursive partition on /dev/sr.
⒐然后执行格式化,就OK了,如果还提示出错,重启之后再执行格式化就可以了。
⒑[rootlinuxidc~]# mkfs -t ext /dev/sda
⒒mkefs.. (-May-
⒓Filesystemlabel=
⒔OStype: Linux
⒕Blocksize= (log=
⒖Fragmentsize= (log=
⒗Stride=blocks, Stripe width= blocks
⒘inodes, blocks
⒙blocks (.% reserved for the super user
⒚Firstdata block=
⒛Maximumfilesystem blocks=
①block groups
②blocks per group, fragments per group
③inodes per group
④Superblockbackups stored on blocks:
⑤Writinginode tables: done
⑥Creatingjournal ( blocks: done
⑦Writingsuperblocks and filesystem aounting information: done
⑧Thisfilesystem will be automatically checked every mounts or
⑨days, whichever es first. Use tunefs-c or -i to override.
⑩上面就是Linux格式化分区报错Could not start /dev/sda No such file or directory的解决方法,通过执行partprobe 命令来解决分区问题。