标签:find 命令 mkf oop ext4 论文 过多 ati 多少 info
dd if=/dev/zero of=/tmp/sdc bs=1k count=75 mkfs.ext4 /tmp/sdc (不一定都是ext4硬盘,注意) mkdir -p /app/logs mount -o loop /tmp/sdc /app/logs |
[root@chenleilei ~]# df -i /app/logs/ Filesystem Inodes IUsed IFree IUse% Mounted on /tmp/sdc 16 10 6 63% /app/logs [root@chenleilei ~]# df -h /app/logs/ Filesystem Size Used Avail Use% Mounted on /tmp/sdc 65K 2.0K 60K 4% /app/logs |
[root@chenleilei ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 18G 1.5G 16G 9% / tmpfs 491M 0 491M 0% /dev/shm /dev/sda1 190M 35M 146M 19% /boot /tmp/sdc 65K 3.0K 59K 5% /app/logs |
[root@chenleilei logs]# df -h Filesystem Size Used Avail Use% Mounted on /dev/sda3 18G 1.5G 16G 9% / tmpfs 491M 0 491M 0% /dev/shm /dev/sda1 190M 35M 146M 19% /boot /tmp/sdc 65K 65K 0 100% /app/logs |
[root@chenleilei logs]# df -i Filesystem Inodes IUsed IFree IUse% Mounted on /dev/sda3 1201872 55746 1146126 5% / tmpfs 125514 1 125513 1% /dev/shm /dev/sda1 51200 38 51162 1% /boot /tmp/sdc 16 16 0 100% /app/logs |
[root@chenleilei logs]# cp /usr/share/autoconf/m4sugar/m4sh.m4 /app/logs/ cp: writing `/app/logs/m4sh.m4‘: No space left on device |
[root@chenleilei app]# du -h /app/logs/* | sort -h 9.0K /app/logs/m4sh.m4
55K /app/logs/m4sh.m4f |
标签:find 命令 mkf oop ext4 论文 过多 ati 多少 info
原文地址:https://www.cnblogs.com/superlinux/p/b771cbd70384274f98d4f3a5ad0fa36f.html