From: "Frank J. Buchholz" <frankb@ercwc.org>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] Re: lvextend error on XFS
Date: Tue, 23 Nov 2004 07:37:21 -0500 [thread overview]
Message-ID: <41A32F01.2050609@ercwc.org> (raw)
In-Reply-To: <41A2F701.50404@dgreaves.com>
David Greaves wrote:
> Frank J. Buchholz wrote:
>
>>>> I then noticed that the filesystem on LogVol00 was no longer available
>>>> and when I ran xfs_repair it stated the following:
>>>> # xfs_repair /dev/Volume00/LogVol00 Phase 1 - find and verify
>>>> superblock...
>>>> superblock read failed, offset 0, size 524288, ag 0, rval 0
>>>>
>>>> fatal error -- Invalid argument
>>>
>>>
>> Hello M�ns
>> I now realize how I created this problem, I just don't know how to
>> fix it.
>>
>> I mistakingly added /dev/sba as the physical volume to a volume group
>> that contained /dev/sba1, the one partition on sba. These are
>> essentially one in the same. So when I executed the lvextend command
>> device-mapper had an error. I'm honestly surprised it did anything,
>> especially write over the superblock on the filesystem.
>>
>> Any direction on how I can recover from within LVM? I never was able
>> to execute the xfs_grow so I'm hoping the data in the filesystem
>> still exists.
>
>
> try
> xfs_repair -n -o /dev/Volume00/LogVol00
> Then remove the -n
>
> (man xfs_repair)
>
> David
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Unfortunately I've already tried this. Here are the results.
# xfs_repair -n -o assume_xfs /dev/Volume00/LogVol00
Phase 1 - find and verify superblock...
superblock read failed, offset 0, size 524288, ag 0, rval 0
fatal error -- Invalid argument
I've discussed on the XFS list and they recommended I try to repair this
via LVM.
Given that I never ran xfs_growfs, is it possible to reduce the logical
volume back to the original size and then remove the physical volume
that caused the problem? Is there someway to recover back using a
previous .vg file in /etc/lvm/archive?
Thanks,
Frank
next prev parent reply other threads:[~2004-11-23 12:38 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-11-19 9:47 [linux-lvm] HA Fileserver configuration recommendation sought Gary Mansell
2004-11-19 17:27 ` Chris Croswhite
2004-11-19 18:24 ` Garrick Staples
2004-11-19 18:30 ` Chris Croswhite
2004-11-19 19:45 ` David S.
2004-11-19 18:21 ` Dan Stromberg
2004-11-19 19:24 ` David S.
2004-11-20 0:13 ` Dan Stromberg
2004-11-20 0:22 ` Garrick Staples
2004-11-20 1:36 ` Dan Stromberg
2004-11-20 2:08 ` Garrick Staples
2004-11-20 2:18 ` Dan Stromberg
2004-11-20 2:48 ` David Aquilina
2004-11-22 15:36 ` Kevin Anderson
2004-11-23 0:42 ` Dan Stromberg
2004-11-23 2:10 ` [linux-lvm] Re: lvextend error on XFS Frank J. Buchholz
2004-11-23 8:38 ` David Greaves
2004-11-23 12:37 ` Frank J. Buchholz [this message]
2004-11-20 0:33 ` [linux-lvm] HA Fileserver configuration recommendation sought David S.
2004-11-20 1:40 ` Dan Stromberg
-- strict thread matches above, loose matches on Subject: below --
2004-11-22 20:48 [linux-lvm] lvextend error on XFS Frank J. Buchholz
2004-11-22 21:02 ` [linux-lvm] " Måns Rullgård
2004-11-22 22:08 Frank J. Buchholz
2004-11-22 22:23 ` Måns Rullgård
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=41A32F01.2050609@ercwc.org \
--to=frankb@ercwc.org \
--cc=linux-lvm@redhat.com \
/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
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox