иногда, при загрузке системы(вроде при монтировании разделов) появляется надпись
has been mounted 34 times without being checked, check forced
и идёт какой то процесс
перевод "был установлен 34 раз без проверки, проверки принудительного"
что это за проверка, и зачем она нужна?
что это? при загрузке системы
Модераторы: Warderer, Модераторы разделов
-
nickm
- Сообщения: 203
- ОС: RFRemix
Re: что это? при загрузке системы
Говорит: "раздел был примонтирован ХХ раз без проверки. Начинаю проверять в добровольно-принудительном порядке".
Проверяет ФС на целостность. man fsck если интересны подробности.
Спасибо сказали:
-
SLEDopit
- Модератор
- Сообщения: 4824
- Статус: фанат консоли (=
- ОС: GNU/Debian, RHEL
Re: что это? при загрузке системы
это обычная проверка дисков с помощью fsck. задается в /etc/fstab.
// http://www.tuxfiles.org/linuxhelp/fstab.html< 5th and 6th columns: Dump and fsck options >
Dump and, uh, what options? Well, dump is a backup utility and fsck is a filesystem check utility. I won't discuss them in great length here (they would both need their own tuXfile), but I'll mention them, because otherwise you'd spend the rest of the day wondering what on God's green Earth do these things mean.
The 5th column in /etc/fstab is the dump option. Dump checks it and uses the number to decide if a filesystem should be backed up. If it's zero, dump will ignore that filesystem. If you take a look at the example fstab, you'll notice that the 5th column is zero in most cases.
The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the filesystems should be checked. If it's zero, fsck won't check the filesystem.
upd опередили (:
UNIX is basically a simple operating system, but you have to be a genius to understand the simplicity. © Dennis Ritchie
The more you believe you don't do mistakes, the more bugs are in your code.
The more you believe you don't do mistakes, the more bugs are in your code.
Спасибо сказали:
-
Gryuev
- Сообщения: 19
- ОС: Debian
Re: что это? при загрузке системы
а нужна она? и что будет если эта проверка что то найдёт?
и по моему корневой раздел не разу не проверялся, а проверяются иногда /home и отдельный раздел
Gryuev
-
BIgAndy
- Сообщения: 1923
Re: что это? при загрузке системы
Это вам решать
и что будет если эта проверка что то найдёт?
Вам же сказали в консоли: man fsck. Если повреждениянезначительны,исправит автоматически
и по моему корневой раздел не разу не проверялся, а проверяются иногда /home и отдельный раздел
Можете настроить любую проверку.
-
Gryuev
- Сообщения: 19
- ОС: Debian
Re: что это? при загрузке системы
я понял что можно настроить, интересует польза есть какая от этих проверок или нет?
Gryuev
-
BIgAndy
- Сообщения: 1923
-
IMB
- Сообщения: 2567
- ОС: Debian
Re: что это? при загрузке системы
SLEDopit писал(а): ↑11.01.2011 10:55это обычная проверка дисков с помощью fsck. задается в /etc/fstab.// http://www.tuxfiles.org/linuxhelp/fstab.html< 5th and 6th columns: Dump and fsck options >
Dump and, uh, what options? Well, dump is a backup utility and fsck is a filesystem check utility. I won't discuss them in great length here (they would both need their own tuXfile), but I'll mention them, because otherwise you'd spend the rest of the day wondering what on God's green Earth do these things mean.
The 5th column in /etc/fstab is the dump option. Dump checks it and uses the number to decide if a filesystem should be backed up. If it's zero, dump will ignore that filesystem. If you take a look at the example fstab, you'll notice that the 5th column is zero in most cases.
The 6th column is a fsck option. fsck looks at the number in the 6th column to determine in which order the filesystems should be checked. If it's zero, fsck won't check the filesystem.
По моему это вызывается другим механизмом, а именно настройкой через tune2fs.
man 8 tune2fs
...................................
-c max-mount-counts
Adjust the number of mounts after which the filesystem will be
checked by e2fsck(8). If max-mount-counts is 0 or -1, the num‐
ber of times the filesystem is mounted will be disregarded by
e2fsck(8) and the kernel.
....................................
-i interval-between-checks[d|m|w]
Adjust the maximal time between two filesystem checks. No post‐
fix or d result in days, m in months, and w in weeks. A value
of zero will disable the time-dependent checking.# tune2fs -l /dev/sda5
tune2fs 1.41.3 (12-Oct-2008)
........................................
Filesystem UUID: c34a5f8b-6bcb-427b-83db-7be1343706a8
Mount count: 12
Maximum mount count: 21/etc/fstab
Код: Выделить всё
# /dev/hda5 / ext3 defaults,errors=remount-ro 0 1
UUID=c34a5f8b-6bcb-427b-83db-7be1343706a8 / ext3 defaults,errors=remount-ro 0 1-
watashiwa_daredeska
- Бывший модератор
- Сообщения: 4038
- Статус: Искусственный интеллект (pre-alpha)
- ОС: Debian GNU/Linux
Re: что это? при загрузке системы
tune2fs настраивает, насколько часто вызывать, но если в /etc/fstab поставить 0 в последнем поле, то проверки не будет при любых настройках tune2fs.
Мои розовые очки