Mount Error: "/DEV/VDA1 is apparently on use by the system;"
Yun Zhengjie
Copyright Notice: Original works, declined reprint! Otherwise, the legal liability will be investigated.
The countdown to the home is still a day, tomorrow noon the train will return to their hometown, think it is quite happy. Estimated that many people have been on the road to the spring festival, such as my small operation is still in the post, this no, just less than 2 days, the project manager gave me a call, said a few days ago to the outsourcing company assigned a server need to mount 100G hard disk, I need to deal with it. The following is the root of the outsourcing company chat, the last time his server is not able to connect remotely is the same person.
After I restarted their servers, I gave them 100G of hard disk space on their servers (obviously, these are implemented by virtualization, and the real server does not have 100G hard drives, which is what I do on the virtualization platform. ), after I partition the disk successfully (Section tutorial can refer to: http://www.cnblogs.com/yinzhengjie/p/6840563.html), found unable to format it, the error is as follows: "/DEV/VDA1 is apparently In use by the system; Won't make a file system here! "
The operating system returned to say "/DEV/VDA1" This partition is being used, "/dev/vda1" is being device mapper (referred to as "DM"), so we create file system prompt error, we manually remove, we can create the file system normally.
Perform the "Dmsetup Remove_all" and "Dmsetup status" together to view and then reformat the operation.
After the format is successful, we can mount the operation as follows:
For more information on how to manage Linux disks, refer to:
1>.http://www.cnblogs.com/yinzhengjie/p/6840563.html (hard disk partition Management)
2>.http://www.cnblogs.com/yinzhengjie/p/6862933.html (logical volume management)
3>.http://www.cnblogs.com/yinzhengjie/p/6858302.html (soft RAID management)
Yes, don't forget to add auto mount Yo:
Mount Error: "/DEV/VDA1 is apparently on use by the system;"