Formatted hard disk appears/DEV/SDB5 is apparently on use by the system error

Source: Internet
Author: User

The error is as follows:

[Email protected]~]# mke2fs-t ext3-b 2048-m 3/dev/sdb5mke2fs 1.41.12 (17-may-2010)/DEV/SDB5 is apparently on use by T he system; Won't make a file system here!


Tip/DEV/SDB5 is being used. /DEV/SDB5 is being managed by DM, so we create file system prompt error, we manually remove, you can create a file system, the operation is as follows:

[[email protected]~]# cat /proc/partitions major minor   #blocks    Name   8        0   20971520 sda    8        1     204800  sda1   8        2    5120000  sda2   8        3    2048000  sda3   8        4           1 sda4   8        5    13596672 sda5   8       16    20971520 sdb   8       17     5253223 sdb1   8       18    2104515 sdb2    8       19    3156772 sdb3    8       20          1  sdb4   8       21    2104483  sdb5   8       32   18874368 sdc  253        0    5253223 dm-0 253         1    2104515 dm-1 253         2    3156772 dm-2 253         3          1 dm-3  253    &nbSp;   4    2104483 dm-4 

You can see from the above that the DM tool is actually in use.

[[Email protected]~]# dmsetup statussdb3: 0 6313545 linear sdb2: 0  4209030 linear sdb1: 0 10506447 linear sdb5: 0 4208967  linear sdb4: 0 2 linear [[email protected]~]# dmsetup remove_all[[ email protected]~]# dmsetup statusno devices found[[email protected]~]#  mke2fs -t ext3 -b 2048 -m 3 /dev/sdb5mke2fs 1.41.12  (17-May-2010) File System label = Operating system: Linux block Size =2048  (log=1) chunked size =2048  (log=1) stride=0 blocks, stripe width=0  blocks131560 inodes, 1052240 blocks31567 blocks  (3.00%)  reserved for  the super user first block of data =0maximum filesystem blocks=53896806465 block  Groups16384 blocks per group, 16384 fragments per group2024 inodes  per groupsuperblock backups stored on blocks: 16384, 49152, 81920, 114688, 147456, 409600,  442368, 802816 Writing inode table:  completion                              creating  journal  (32768 blocks):  complete writing superblocks and filesystem  accounting information:  Complete this filesystem will be automatically checked  every 38 mounts or180 days, whichever comes first.  use  tune2fs -c or -i to override.


Formatted hard disk appears/DEV/SDB5 is apparently on use by the system error

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.