首页 > 其他分享 >1

1

时间:2023-07-05 21:22:29浏览次数:23  
标签: sectors bytes dev done 512 size

[root@iZbp15w0ph797zjucisc82Z ~]# fdisk -l
Disk /dev/vda: 40 GiB, 42949672960 bytes, 83886080 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x96be1a8e

Device     Boot Start      End  Sectors Size Id Type
/dev/vda1  *     2048 83886046 83883999  40G 83 Linux


Disk /dev/vdb: 20 GiB, 21474836480 bytes, 41943040 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
[root@iZbp15w0ph797zjucisc82Z ~]# mkfs.ext4 /dev/vdb
mke2fs 1.45.6 (20-Mar-2020)
Creating filesystem with 5242880 4k blocks and 1310720 inodes
Filesystem UUID: 6b85767b-59d6-49c9-b561-306566717fae
Superblock backups stored on blocks: 
        32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 
        4096000

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done  
[root@iZbp15w0ph797zjucisc82Z ~]# mount /dev/vdb /mooc 

标签:,sectors,bytes,dev,done,512,size
From: https://www.cnblogs.com/ukzq/p/17529828.html

相关文章