Device /dev/sdb excluded by a filter


 

原因是添加的磁盤是在另一個虛擬機中新建的,已經有了分區表,現在的虛擬機並不能識別磁盤的分區表,運行parted命令重做分區表,中途需要輸入三次命令(mklabel msdos -> yes->quit )

[deployer@guangx-ywjh-xxsf22b002-yh01w ~]$ sudo parted /dev/sdb
GNU Parted 3.1
Using /dev/sdb
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) mklabel msdos
Warning: The existing disk label on /dev/sdb will be destroyed and all data on this disk will be lost. Do you want to continue?
Yes/No? yes
(parted) quit
Information: You may need to update /etc/fstab.

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM