mkfs.ext3  && fdisk

本文介绍了如何使用fdisk命令查看硬盘分区详情,并演示了如何卸载并使用mkfs.ext3命令将FAT32分区转换为Linux Ext3文件系统。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

1.[root@localhost zhang]# fdisk -lDisk /dev/sda: 120.0 GB, 120034123776 bytes255 heads, 63 sectors/track, 14593 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0xf601f601 Device Boot Start End Blocks Id System/dev/sda1 * 1 25 200781 83 Linux/dev/sda2 26 14593 117017460 8e Linux LVMDisk /dev/sdb: 203.9 GB, 203928109056 bytes255 heads, 63 sectors/track, 24792 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesDisk identifier: 0x5b2b11b1 Device Boot Start End Blocks Id System/dev/sdb1 * 1 6199 49788396 c W95 FAT32 (LBA)Partition 1 does not end on cylinder boundary./dev/sdb2 6199 12397 49786537+ c W95 FAT32 (LBA)Partition 2 does not end on cylinder boundary./dev/sdb3 12397 18595 49786537+ c W95 FAT32 (LBA)Partition 3 does not end on cylinder boundary./dev/sdb4 18595 24793 49786537+ c W95 FAT32 (LBA)Partition 4 does not end on cylinder boundary.[root@localhost zhang]#[root@localhost zhang]#2.[root@localhost zhang]# mkfs.ext3 /dev/sdb1mke2fs 1.41.3 (12-Oct-2008)/dev/sdb1 is mounted; will not make a filesystem here!3.[root@localhost zhang]# umount /dev/sdb1[root@localhost zhang]#[root@localhost zhang]# mkfs.ext3 /dev/sdb1mke2fs 1.41.3 (12-Oct-2008)Filesystem label=OS type: LinuxBlock size=4096 (log=2)Fragment size=4096 (log=2)3112960 inodes, 12447099 blocks622354 blocks (5.00%) reserved for the super userFirst data block=0Maximum filesystem blocks=0380 block groups32768 blocks per group, 32768 fragments per group8192 inodes per groupSuperblock backups stored on blocks: 32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208, 4096000, 7962624, 11239424Writing inode tables: done Creating journal (32768 blocks): doneWriting superblocks and filesystem accounting information: doneThis filesystem will be automatically checked every 27 mounts or180 days, whichever comes first. Use tune2fs -c or -i to override.[root@localhost zhang]#
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值