All of lore.kernel.org
 help / color / mirror / Atom feed
* resize_inode
@ 2013-05-04 20:36 seth bollinger
  2013-05-07 10:03 ` resize_inode Paul Eggleton
  0 siblings, 1 reply; 2+ messages in thread
From: seth bollinger @ 2013-05-04 20:36 UTC (permalink / raw)
  To: yocto@yoctoproject.org

Hello All,

I'm trying to create a small SD card image that I can quickly dd to card 
and then do an online resize as a post process step to take advantage of 
the entire space of the card.  Similar to how the raspbian image works.  
Unfortunately genext2fs doesn't seem to set this flag (and reserve the 
required resources), so the online resize fails.  I tried using tune2fs, 
as it looked like there was some interest in adding support, but it 
looks like it never happened.  Has anyone else run into this issue?  Is 
there a solution?

resize2fs 1.42.1 (17-Feb-2012)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 15
resize2fs: Filesystem does not support online resizing

| Setting filesystem feature 'resize_inode' not supported.
| tune2fs 1.42.1 (17-Feb-2012)

Thanks,

Seth


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: resize_inode
  2013-05-04 20:36 resize_inode seth bollinger
@ 2013-05-07 10:03 ` Paul Eggleton
  0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggleton @ 2013-05-07 10:03 UTC (permalink / raw)
  To: seth bollinger; +Cc: yocto

On Saturday 04 May 2013 15:36:41 seth bollinger wrote:
> I'm trying to create a small SD card image that I can quickly dd to card
> and then do an online resize as a post process step to take advantage of
> the entire space of the card.  Similar to how the raspbian image works.
> Unfortunately genext2fs doesn't seem to set this flag (and reserve the
> required resources), so the online resize fails.  I tried using tune2fs,
> as it looked like there was some interest in adding support, but it
> looks like it never happened.  Has anyone else run into this issue?  Is
> there a solution?
> 
> resize2fs 1.42.1 (17-Feb-2012)
> Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
> old_desc_blocks = 1, new_desc_blocks = 15
> resize2fs: Filesystem does not support online resizing
> 
> | Setting filesystem feature 'resize_inode' not supported.
> | tune2fs 1.42.1 (17-Feb-2012)

genext2fs is a bit limited, this is just one example of how.

Could you not just do an offline resize of the filesystem though? Why does it 
need to be mounted?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-05-07 10:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-04 20:36 resize_inode seth bollinger
2013-05-07 10:03 ` resize_inode Paul Eggleton

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.