|
刚刚重新格式化了一个分区,该分区什么文件都没有,怎么就占用存储空间了啊?
step1: 格式化
mkfs.ext3 /dev/hda9
mke2fs 1.40.2 (12-Jul-2007)
/dev/hda9 is mounted; will not make a filesystem here!
[root@~]#mkfs.ext3 /dev/hda9
mke2fs 1.40.2 (12-Jul-2007)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
1281696 inodes, 2560351 blocks
128017 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2625634304
79 block groups
32768 blocks per group, 32768 fragments per group
16224 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Writing inode tables: done
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done
This filesystem will be automatically checked every 24 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.
step2: 加载分区
mount /dev/hda9 dsk/
step3:进入分区,删除唯一的文件夹 lost+found
cd dsk/
[root@~/dsk]#ls
lost+found
[root@~/dsk]#rm lost+found/ -r
[root@~/dsk]#ls -a
. ..
step 4: 查看该分区文件所占用的磁盘空间
du -sh
4.0K .
step 5: df看磁盘空间
df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda9 9.7G 151M 9.0G 2% /root/dsk
怎么用了151M空间啊?
难道是文件系统本身所占用的空间大小吗?
这里 超级块的大小正好为磁盘块的大小吗?
为什么只备份了8个,我可以备份16个吗?怎么做到这一点?如果是修改内核,如何修改? |
|