linux-lvm.redhat.com archive mirror
 help / color / mirror / Atom feed
* [linux-lvm] lvm2 and partition shringkin: superblock/filesystem size mismatch
@ 2010-12-01  7:28 Johannes Graumann
  2010-12-01 10:04 ` Lars Ellenberg
  2010-12-01 10:10 ` [linux-lvm] [SOLVED]: " Johannes Graumann
  0 siblings, 2 replies; 6+ messages in thread
From: Johannes Graumann @ 2010-12-01  7:28 UTC (permalink / raw)
  To: linux-lvm

Hi,

I'm running debian testing and "/home" is an ext3 fs. I run the following 
order of commands to shrink the fs and the corresponding partition:

	e2fsck -f /dev/mapper/mygroup-home
	resize2fs /dev/mapper/mygroup-home 55329357
	lvreduce -L 208.5g /dev/mapper/mygroup-home

The latter was supposed to be .5g bigger than necessary (paranoia regarding 
the data integrity kicking in).

"e2fck /dev/mapper/mygroup-home" now stops with superblock/filesystem size 
mismatch, but I can't grow the fs into the new partition size, as 
"resize2fs" wants "e2fsck" (stopping with the mismatch) first.

The fs is mountable and everything seems allright otherwise. 

Any pointers on how to update the superblock's size statement?

Thanks, Joh

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

end of thread, other threads:[~2010-12-01 14:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-01  7:28 [linux-lvm] lvm2 and partition shringkin: superblock/filesystem size mismatch Johannes Graumann
2010-12-01 10:04 ` Lars Ellenberg
2010-12-01 10:10 ` [linux-lvm] [SOLVED]: " Johannes Graumann
2010-12-01 13:45   ` Johannes Graumann
2010-12-01 14:12     ` Lars Ellenberg
2010-12-01 14:23       ` Johannes Graumann

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).