From: Boris Gulay <boris@boressoft.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Узнать чем занят сектор в XFS
Date: Wed, 08 Sep 2010 23:02:33 +0400
Message-ID: <4C87DDC9.2080902@boressoft.ru> (raw)
In-Reply-To: <0334e93ec195da6fd708dd9e4a647ce6@localhost>
[-- Attachment #1: Type: text/plain, Size: 1360 bytes --]
08.09.2010 14:51, Gulay Boris пишет:
> On Wed, 8 Sep 2010 16:50:35 +0600, Andrey Rahmatullin <wrar@altlinux.org>
> wrote:
>> On Wed, Sep 08, 2010 at 02:38:58PM +0400, Gulay Boris 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."
Что это такое и как с этим бороться?
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 260 bytes --]
next prev parent reply other threads:[~2010-09-08 19:02 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 [this message]
2010-09-08 19:07 ` Andrey Rahmatullin
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=4C87DDC9.2080902@boressoft.ru \
--to=boris@boressoft.ru \
--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