FastNetMon

Saturday 19 March 2011

Ext3: xxx blocks (5.00%) reserved for the super user

Есть вот такое поле при форматировании разделов в ext3: "blocks (5.00%) reserved for the super user":
mkfs.ext3 /dev/md1
mke2fs 1.41.3 (12-Oct-2008)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
122160 inodes, 487952 blocks
24397 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=503316480
15 block groups
32768 blocks per group, 32768 fragments per group
8144 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912

Writing inode tables: done
Creating journal (8192 blocks): done
Writing superblocks and filesystem accounting information:
done

This filesystem will be automatically checked every 20 mounts or
180 days, whichever comes first. Use tune2fs -c or -i to override.

Вот только вопрос, как это reserved используется этим самым супер-юзером?

1 comment :

  1. #man tune2fs
    -m reserved-blocks-percentage
    Set the percentage of the filesystem which may only be allocated by privileged processes. Reserving some number of filesystem blocks for use by privileged processes is done to
    avoid filesystem fragmentation, and to allow system daemons, such as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the
    filesystem. Normally, the default percentage of reserved blocks is 5%.

    т.е. tune2fs -m1 /dev/РАЗДЕЛ спасет

    ReplyDelete

Note: only a member of this blog may post a comment.