Gentoo Archives: gentoo-user

From: Daddy <daddy@×××××××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Freeing up disk space problem!!
Date: Wed, 29 Feb 2012 13:08:17
Message-Id: 1048932525.55739.1330520814141.JavaMail.open-xchange@email.1and1.com
In Reply to: Re: [gentoo-user] Freeing up disk space problem!! by "J. Roeleveld"
1 On February 29, 2012 at 2:43 AM "J. Roeleveld" <joost@××××××××.org> wrote:
2
3 >
4 > On Wed, February 29, 2012 2:01 am, Alex Schuster wrote:
5 > > Dale writes:
6 > >
7 > >> Alex Schuster wrote:
8 > >>
9 >
10 > <snipped>
11 >
12 > >> Also, it is already set up with LVM and
13 > >> ext4. Can I change it even while there is data on there?
14 > >
15 > > Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or
16 > > something, and then resize2fs /dev/mapper/whatever.
17 >
18 > I don't use ext4 (yet), so not sure about this. But, isn't "resize2fs"
19 for
20 > ext2/3 only?
21 >
22 > --
23 > Joost
24
25
26
27 From the man page:
28
29
30
31
32 On February 29, 2012 at 2:43 AM "J. Roeleveld" <joost@××××××××.org> wrote:
33
34 >
35 > On Wed, February 29, 2012 2:01 am, Alex Schuster wrote:
36 > > Dale writes:
37 > >
38 > >> Alex Schuster wrote:
39 > >>
40 >
41 > <snipped>
42 >
43 > >> Also, it is already set up with LVM and
44 > >> ext4. Can I change it even while there is data on there?
45 > >
46 > > Sure! Cool, isn't it. Just call lvresize -L +1G /dev/mapper/whatever or
47 > > something, and then resize2fs /dev/mapper/whatever.
48 >
49 > I don't use ext4 (yet), so not sure about this. But, isn't "resize2fs"
50 for
51 > ext2/3 only?
52 >
53 > --
54 > Joost
55
56
57
58 From the man page:
59
60 The resize2fs program will resize ext2, ext3, or ext4 file systems.