All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] extend file system
@ 1999-12-10 14:16 Lars Blaesing
  1999-12-11 16:06 ` Harald Milz
  0 siblings, 1 reply; 2+ messages in thread
From: Lars Blaesing @ 1999-12-10 14:16 UTC (permalink / raw)
  To: linux-lvm@msede.com

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

Hi all,

maybe a quick question:
I have installed and integrated the LVM for one vg (vg00) with two lv00,
lv01.
The capacity of vg00 is 4GB and lv00 were assigned 500 MB and lv01
1000MB.

If I now try to extend lv00  with lvextend, I need to renew the file
system on this
lv00 partion with mke2fs, to make the change valid (for example inside
df).
During this process all data are lost (sure).  My understanding of the
resize2fs utility
was that the resizing of a lv is dynamically and the data are not
removed. After the in-
stallation of the resize2fs utility, I was able to invoke it without
problems, but the
result was the same like lvextend.
I called, i.g. resize2fs -L+100 /dev/vg00/lv00, and the tool finished
with a hint to run
fsck on the partition. After this was done and a remount the size was
still the same like
before. After installing a new filesystem to the lv00 partition it was
increased, but the
data were also lost again.

Is there misunderstanding or am I not able to extend a lv without
loosing data?

Thanks and kind regards Lars



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

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

* Re: [linux-lvm] extend file system
  1999-12-10 14:16 [linux-lvm] extend file system Lars Blaesing
@ 1999-12-11 16:06 ` Harald Milz
  0 siblings, 0 replies; 2+ messages in thread
From: Harald Milz @ 1999-12-11 16:06 UTC (permalink / raw)
  To: linux-lvm

Lars Blaesing <lars.blaesing@motorola.com> wrote:
> Is there misunderstanding or am I not able to extend a lv without
> loosing data?

You are, and e2fsadm is your friend. 

-- 
"We have reason to believe that man first walked upright to free his
hands for masturbation."
		-- Lily Tomlin

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

end of thread, other threads:[~1999-12-11 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-12-10 14:16 [linux-lvm] extend file system Lars Blaesing
1999-12-11 16:06 ` Harald Milz

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.