After the new disk is partitioned with Fdisk. Then you create the file system
[Email protected] ~]# MKFS.EXT4/DEV/SDB1
MKE2FS 1.41.12 (17-may-2010)
/DEV/SDB1 is apparently on use by the system; Won't make a file system here!
Hint, DEV/SDB1 is being used.
[Email protected] new]# dmsetup status
vgdate-lvdata1:0 1024000 Linear
vg_cuizhipeng-lv_swap:0 4194304 Linear
vg_cuizhipeng-lv_root:0 36716544 Linear
[Email protected] new]# Dmsetup Remove_all
[Email protected] new]# dmsetup status
vg_cuizhipeng-lv_swap:0 4194304 Linear
vg_cuizhipeng-lv_root:0 36716544 Linear
[Email protected] new]# mke2fs-t EXT4/DEV/SDB1
MKE2FS 1.41.12 (17-may-2010)
File System label =
Operating system: Linux
Block size =4096 (log=2)
Chunked size =4096 (log=2)
Stride=0 blocks, Stripe width=0 blocks
146880 inodes, 586372 blocks
29318 blocks (5.00%) reserved for the Super user
First block of data =0
Maximum filesystem blocks=603979776
Block groups
32768 blocks per group, 32768 fragments per group
8160 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912
Writing Inode table: complete
Creating Journal (16384 blocks): complete
Writing Superblocks and FileSystem accounting information: Complete
This filesystem'll be automatically checked every mounts or
Whichever comes first. Use Tune2fs-c or-i to override.
Issue with mounting disks (/DEV/SDB1 is apparently the system; Won't make a file system here!)