From: Andreas Dilger <adilger@dilger.ca>
To: Alok Jain <jain.alok103@gmail.com>
Cc: linux-ext4@vger.kernel.org, tytso@mit.edu
Subject: Re: Grow ext4 filesystem on mounted device
Date: Thu, 2 Jul 2020 13:29:28 -0600 [thread overview]
Message-ID: <A735B112-0384-43F8-8F0F-CACFD34CEA67@dilger.ca> (raw)
In-Reply-To: <CAG-6nk9Cy6itStS917HxL7dvcy5=J+CCpSAqRoC9Um8P9LJ=kw@mail.gmail.com>
On Jul 2, 2020, at 13:18, Alok Jain <jain.alok103@gmail.com> wrote:
>
> Hi Experts,
>
> I want to grow the ext4 file system on mounted device by running
> resize2fs utility but it fails, same works in case of unmounted FS
> with additional invocation of e2fsck utility.
>
> This is what i am doing
>
> 1)Rescanning the device
> echo "1" | sudo tee /sys/block/sdd/device/rescan
> 2) Extending the partition
> growpart /dev/sdd 1
> 3) resizing the file system
> resize2fs /dev/sdd1
> resize2fs 1.43-WIP (20-Jun-2013)
> The filesystem is already 43253499 blocks long. Nothing to do!
What does "grep sdd1 /proc/partitions" show? Is the kernel
aware of the larger partition size?
> parted -s /dev/sdd1 print free
> Model: Unknown (unknown)
> Disk /dev/sdd1: 177GB
> Sector size (logical/physical): 512B/4096B
> Partition Table: loop
>
> Number Start End Size File system Flags
> 1 0.00B 177GB 177GB ext4
>
> Any help?
>
> Thanks,
> Alok
next prev parent reply other threads:[~2020-07-02 19:29 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-02 19:18 Grow ext4 filesystem on mounted device Alok Jain
2020-07-02 19:29 ` Andreas Dilger [this message]
2020-07-02 19:34 ` Alok Jain
2020-07-02 19:39 ` Alok Jain
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=A735B112-0384-43F8-8F0F-CACFD34CEA67@dilger.ca \
--to=adilger@dilger.ca \
--cc=jain.alok103@gmail.com \
--cc=linux-ext4@vger.kernel.org \
--cc=tytso@mit.edu \
/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