The error is as follows:
[root@hpf-linux~]# mke2fs-t ext3-b 2048-m 3/DEV/SDB5
MKE2FS 1.41.12 (17-may-2010)
/DEV/SDB5 is apparently in with the system; Would not make a file system here!
Hint/DEV/SDB5 is being used. /DEV/SDB5 is being DM management, so we create the file system prompts the error, we manually removed, you can create a normal file system, the operation is as follows:
[root@hpf-linux~]# 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 20971520 SDB
8 5253223 SDB1
8 2104515 SDB2
8 3156772 SDB3
8 1 SDB4
8 2104483 SDB5
8 18874368 SDC
253 0 5253223 dm-0
253 1 2104515 dm-1
253 2 3156772 Dm-2
253 3 1 dm-3
253 4 2104483 Dm-4
From above you can see that the DM tool is actually in use.
[root@hpf-linux~]# dmsetup status
sdb3:0 6313545 Linear
sdb2:0 4209030 Linear
sdb1:0 10506447 Linear
sdb5:0 4208967 Linear
sdb4:0 2 Linear
[root@hpf-linux~]# Dmsetup Remove_all
[root@hpf-linux~]# dmsetup status
No devices found
[root@hpf-linux~]# mke2fs-t ext3-b 2048-m 3/DEV/SDB5
MKE2FS 1.41.12 (17-may-2010)
File System label =
Operating system: Linux
Block size =2048 (log=1)
Chunking size =2048 (log=1)
Stride=0 blocks, stripe width=0 blocks
131560 inodes, 1052240 blocks
31567 blocks (3.00%) reserved for the Super user
First block of data =0
Maximum filesystem blocks=538968064
Block groups
16384 blocks per group, 16384 fragments per group
2024 Inodes per group
Superblock backups stored on blocks:
16384, 49152, 81920, 114688, 147456, 409600, 442368, 802816
Writing to Inode table: completing
Creating journal (32768 Blocks): complete
Writing Superblocks and filesystem accounting information: Complete
This filesystem would be automatically checked every mounts or
180 days, whichever comes. Use Tune2fs-c or-i to override.
Note : More wonderful tutorials Please pay attention to the triple computer tutorial section, triple Computer office group: 189034526 welcome you to join