linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
From: Stuart D Gathman <stuart@bmsi.com>
To: linux-lvm@redhat.com
Subject: Re: [linux-lvm] lvextend NEVER works but screws up
Date: Thu, 04 Oct 2012 15:59:45 -0400	[thread overview]
Message-ID: <506DEAB1.8090707@bmsi.com> (raw)
In-Reply-To: <CAGQjrKYEyBjnZi=vZ4CeT60Cw=SmRJmaiCaoWmekE7qy=01tfg@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1750 bytes --]

Let me remind people that on RHEL5, running e2fsck on an ext4 filesystem 
will actually destroy data! Always
use fsck, which runs either e2fsck or e4fsck when e4fsprogs is 
installed.  On newer systems, where ext4 support is not tacked on as 
e4fsprogs, e2fsck handles both (but is it still a good habit to use fsck 
to run the proper checker).

On 10/04/2012 02:32 AM, tariq wali expounded in part:
>
>             resize2fs /dev/vg0/bin-logs
>             resize2fs 1.39 (29-May-2006)
>             resize2fs: Filesystem has unsupported feature(s) while
>             trying to open
>             /dev/vg0/bin-logs
>             Couldn't find valid filesystem superblock.
>
>             #this is where I would get psyched , i did the same thing
>             to all my ext2/3
>             filesystems and have extended file systems online without
>             an issue for
>             years ..but did I fforget the file system type this time ,
>             yes indeed I for
>             got we have started doing ext4 on all our new servers and
>             didn't realise
>             ext4 fancies it's own bells and whistles ..
>
>             I ran the all new resize4fs as suggested by Stuart , and
>             it made my day in
>             fact it made for the whole week's frustration :)
>
>             resize4fs /dev/vg0/logs
>             resize4fs 1.41.12 (17-May-2010)
>             Filesystem at /dev/vg0/logs is mounted on /bin-logs;
>             on-line resizing
>             required
>             old desc_blocks = 7, new_desc_blocks = 9
>             Performing an on-line resize of /dev/vg0/logs to 37408768
>             (4k) blocks.
>
>             The filesystem on /dev/vg0/logs is now 37408768 blocks long.
>


[-- Attachment #2: Type: text/html, Size: 3636 bytes --]

  reply	other threads:[~2012-10-05  0:48 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-23 10:08 [linux-lvm] lvextend NEVER works but screws up tariq wali
2012-08-23 11:14 ` tariq wali
2012-08-23 14:10   ` Vic
2012-08-23 15:18     ` tariq wali
2012-08-23 15:23       ` Vic
2012-08-24  6:32       ` Jonathan Tripathy
2012-08-24 11:55       ` Stuart D Gathman
2012-08-27 11:46         ` tariq wali
2012-08-28  9:09           ` Zdenek Kabelac
     [not found]             ` <CAGQjrKajQYDc48i+FZhB5zUAJKHtMe4FqSgwx8Ed-z7wRuDVQQ@mail.gmail.com>
2012-10-04  6:32               ` tariq wali
2012-10-04 19:59                 ` Stuart D Gathman [this message]
2012-08-23 14:21   ` flavio-redhat
2012-08-23 16:08     ` Brassow Jonathan
2012-08-23 16:36   ` Bryn M. Reeves
2012-08-23 16:53     ` Stuart D Gathman

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=506DEAB1.8090707@bmsi.com \
    --to=stuart@bmsi.com \
    --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;
as well as URLs for NNTP newsgroup(s).