From: Andrey Rahmatullin <wrar@altlinux.org>
To: community@lists.altlinux.org
Subject: Re: [Comm] Узнать чем занят сектор в XFS
Date: Thu, 9 Sep 2010 01:07:26 +0600
Message-ID: <20100908190726.GR6830@wrars-comp.wrarsdomain> (raw)
In-Reply-To: <4C87DDC9.2080902@boressoft.ru>
[-- Attachment #1: Type: text/plain, Size: 1267 bytes --]
On Wed, Sep 08, 2010 at 11:02:33PM +0400, Boris Gulay wrote:
> >>> Имеется раздел, отформатированный в XFS. Я хочу узнать, чем занят
> >>> дисковый
> >>> кластер, находящийся в этом разделе: bitmap, журнал, файл (какой?).
> >>> Как это можно сделать?
> >> xfs_db(8)
> Как я понял решение у проблемы следующее:
> 1. Найти номер блока файловой системы по LBA - convert bb <LBA> agbno
> 2. Прыгнуть в нужный блок - fsb <BNO>
> 3. Запросить информацию: blockget
>
> Но, на третьем шаге возникает ошибка:
> "ERROR: The filesystem has valuable metadata changes in a log which needs to
> be replayed. Mount the filesystem to replay the log, and unmount it before
> re-running xfs_db. If you are unable to mount the filesystem, then use
> the xfs_repair -L option to destroy the log and attempt a repair.
> Note that destroying the log may cause corruption -- please attempt a mount
> of the filesystem before doing this."
>
> Что это такое
Там в общем-то всё написано. ФС не была корректно отмонтирована, видимо.
> и как с этим бороться?
Это тоже написано, даже разные варианты предложены.
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(6):
В этом тысячелетии реально интегрировать этот патч? ;)
-- mithraen in #6288
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 490 bytes --]
prev parent reply other threads:[~2010-09-08 19:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-08 10:38 Gulay Boris
2010-09-08 10:50 ` Andrey Rahmatullin
2010-09-08 10:51 ` Gulay Boris
2010-09-08 19:02 ` Boris Gulay
2010-09-08 19:07 ` Andrey Rahmatullin [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=20100908190726.GR6830@wrars-comp.wrarsdomain \
--to=wrar@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