Ubuntu服务器12.04有7GB的磁盘使用差异
我做了一个新的安装Ubuntu的服务器12.04作为一个KVM虚拟客户端。 我使用了kickstart文件来自动安装,我已经包含了创buildguest的命令以及kickstart文件的分区部分。 这些数字是在全新安装之后采取的,唯一运行的主要服务是ssh服务器。 有7GB的磁盘使用,我不能说明。 Kickstart分区部分 part /boot –fstype ext4 –size 200 part / –fstype ext4 –size 1 –grow KVM安装命令 virt-install -n bigtest -r 4096 –disk path=/var/lib/libvirt/images/bigtest.img,bus=virtio,size=500 \ -c ubuntu-12.04.1-server-amd64.iso –accelerate –network=bridge:br0 –connect=qemu:///system \ –vnc –noautoconsole -v –os-type linux 磁盘使用情况 运行df和du报告不同的磁盘使用情况,据我了解可能会发生。 8G和512M的区别大概是7G左右。 root@ubuntu:~# df -h Filesystem Size Used Avail Use% Mounted on /dev/vda5 500G 8.0G 467G […]