1 |
On Sunday 21 October 2007 19:57:44 Beso wrote: |
2 |
> i have some little issues with my lvm volumes. i passed today to lvm2 and i |
3 |
> had some problems at first with their loading (i had to put /sin/vgchange |
4 |
> -a y into the modules service which started at boot) but that let's say |
5 |
> it's resolved. i've later seen that i have a small partition with only 1gb |
6 |
> of free space, and i'd like to resize it. i have the lvm filled but i have |
7 |
> another partition that is empty. so i can resize it down and then resize |
8 |
> the other. the filesystem i use is reiserfs v3.6 with r5 hash and ordered |
9 |
> mode. i have the tail option enabled also. |
10 |
> is there a way to fix the first problem and to resize the partitions in a |
11 |
> safe way?! |
12 |
|
13 |
resize_reiserfs -snewsmallersizeG /dev/vgblah/lvlarge |
14 |
lvresize -LnewsmallersizeG /dev/vgblah/lvlarge |
15 |
lvresize -LnewlargersizeG /dev/vgblah/lvsmall |
16 |
resize_reiserfs -snewlargersizeG /dev/vgblah/lvsmall |
17 |
|
18 |
Both -s and -L take + and - sizes to increase or decrease the size. |
19 |
|
20 |
-- |
21 |
Mike Williams |
22 |
-- |
23 |
gentoo-amd64@g.o mailing list |