From: Ivan Fedorov <ns@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] Office Server 4: ssh авторизация + как проверить hdd без монитора
Date: Wed, 26 Nov 2008 00:09:58 +0300
Message-ID: <m3r64zecm1.fsf@altlinux.org> (raw)
In-Reply-To: <492C1B79.2030902@tangramltd.com>
[-- Attachment #1: Type: text/plain, Size: 1155 bytes --]
Slava Dubrovskiy <slava-caBWNg7LwhOlzlObeVyAOA@public.gmane.org> writes:
>> есть еще проблема, хочу запустить проверку диска на чтение/запись, а
>> роутер безголовый, как такое осуществить по сети, ведь если я перейду
>> в init1 отвалиться сеть? писать скрипт?
>>
> отмонтировать диск и проверить или проверить только на чтение и если
> нормально то shutdown -F и молиться что на диске нет проблем
Как жестоко!!!
Даю более добрый совет. Глушите все сервисы кроме ssh и network.
Потом говорите
mount -o remount,ro /
Потом говорите:
fsck -r /dev/<ROOT-DEV>
Ну и фокус с remount/fsck надо для всех систем сделать.
Если всё нормально, то делаете
mount -o remount,rw /
и потом уже
shutdown -r
для чистоты совести.
[-- Attachment #2: Type: application/pgp-signature, Size: 196 bytes --]
prev parent reply other threads:[~2008-11-25 21:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-11-25 9:33 Mikhail Kuligin
2008-11-25 15:36 ` Slava Dubrovskiy
2008-11-25 21:09 ` Ivan Fedorov [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r64zecm1.fsf@altlinux.org \
--to=ns@altlinux.org \
--cc=community@lists.altlinux.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
ALT Linux Community general discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git
# If you have public-inbox 1.1+ installed, you may
# initialize and index your mirror using the following commands:
public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
public-inbox-index community
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.community
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git