Gentoo Archives: gentoo-user

From: Dale <rdalek1967@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] LVM and LABELS in fstab
Date: Thu, 24 Nov 2011 03:29:55
Message-Id: 4ECDB9F8.30006@gmail.com
In Reply to: Re: [gentoo-user] LVM and LABELS in fstab by Dale
1 Dale wrote:
2 > Neil Bothwick wrote:
3 >> You have space in the filesystem, but the volume containing that
4 >> filesystem is too large to move. You must first reduce the filesystem
5 >> size, with resize2fs or whatever suits your fs, then shrink the LV
6 >> with lvresize. That will free up enough extents to be able to fit
7 >> them all on one disk. Look at the output from lvs to see what is
8 >> taking up all the space.
9 >
10 > So, me staring at it a while and trying to figure it out did work.
11 > That is what I was thinking. Thing is, it looks to me like it would
12 > just move the stuff over then I can reduce it by what sdb is making
13 > for its share. Although, their way makes sense too.
14 >
15 > I basically need to reduce the thing by 59604 PEs then it can move
16 > them over to sdc so I can remove sdb. Looks like I am about to really
17 > learn something here. It uses ext4 by the way. Looks like adding is
18 > easier than removing, sort of.
19 >
20 > Now to get my ducks in a row. o_O
21 >
22 > Thanks.
23 >
24 > Dale
25 >
26 > :-) :-)
27 >
28
29
30 OK. Everyone duck, I been thinking on this and Neils info above. lol
31 This is what I sort of figured out and tell me where I am off here. I
32 have to reduce the file system, change the partition in cfdisk (?),
33 resize the lv, then reduce the vg, then I can run pvmove? After all
34 that, I can remove the drive sdb? Do I have the order correct too? If
35 it does involve all this, I'm not sure I want to do this. The file
36 system and cfdisk part makes me nervous. Maybe some of this isn't
37 needed and I am reading some of the info incorrectly, I hope.
38
39 Thanks.
40
41 Dale
42
43 :-) :-)
44
45 --
46 I am only responsible for what I said ... Not for what you understood or how you interpreted my words!

Replies

Subject Author
Re: [gentoo-user] LVM and LABELS in fstab Alex Schuster <wonko@×××××××××.org>
Re: [gentoo-user] LVM and LABELS in fstab Alan McKinnon <alan.mckinnon@×××××.com>