All of lore.kernel.org
 help / color / mirror / Atom feed
From: Georges Giralt <georges.giralt@free.fr>
To: LVM general discussion and development <linux-lvm@redhat.com>
Subject: Re: [linux-lvm] How to fix missmatch between VG-size and LV-size?
Date: Thu, 31 Mar 2011 21:19:57 +0200	[thread overview]
Message-ID: <4D94D3DD.80300@free.fr> (raw)
In-Reply-To: <8D6C975F95144BEBB5084D6B86B210E6@caramon>

Le 31/03/2011 17:06, Fredrik Skog a �crit :
> Hello,
>
> If I ever get all this data back I will definitely try to either RAID
> it or make a backup of the most importatnt stuff on the volume.
>
> I have now run e2fsck -n -t -v /dev/vgftp/lvftp successfully. It gave
> me the following output. I'm not really sure what it means, but I
> think it looks pretty ok. Do you think it's ok to do this for real now?
>
> ################
> # e2fsck -n -t -v /dev/vgftp/lvftp
Snip......
/dev/vgftp/lvftp: ********** WARNING: Filesystem still has errors **********
Snip
> I will try to copy the most important stuff off of the volume before i
> try this though.
Hello Fredrik
You used "-n" option  in the e2fsck command. So  the "WARNING:
Filesystem still has errors" tell all.
You SHOULD run e2fsck without the -n option BEFORE trying to mount it
and back up data or trying to resize it !
Otherwise..... you could well loose all the data !
Just my 2� .....
BTW : it is strange that all multiply allocated blocks are found to
belong only to one file. What was the system doing during the resize ?
What was the file system activity during that time ? And las t but not
least, you once told us that before running the resize, you ran the
fsck. Was it with -n option also ?  This may explain all the subsequent
events.

-- 
If the only tool you have is a hammer, you tend to see every problem as a nail.
                Abraham Maslow
A British variant :
Any tool can serve as a hammer but a screwdriver makes the best chisel. 

  parent reply	other threads:[~2011-03-31 19:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-29 15:21 [linux-lvm] How to fix missmatch between VG-size and LV-size? Fredrik Skog
2011-03-29 17:44 ` Ray Morris
2011-03-29 21:56   ` Fredrik Skog
2011-03-29 22:14     ` Stuart D. Gathman
2011-03-29 23:42       ` Fredrik Skog
2011-03-30  0:27       ` Fredrik Skog
2011-03-30 15:04         ` Ray Morris
2011-03-31 15:06           ` Fredrik Skog
2011-03-31 15:24             ` Ron Johnson
2011-03-31 17:39             ` Stuart D. Gathman
2011-03-31 19:19             ` Georges Giralt [this message]
2011-04-01  1:08               ` Fredrik Skog
2011-03-29 22:26     ` Ray Morris
2011-03-30  0:05       ` Fredrik Skog

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=4D94D3DD.80300@free.fr \
    --to=georges.giralt@free.fr \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.