shrink lvm to get spare space

2009-04-26 Thread Zhengquan Zhang
Dear debian community, on on of my systems I have FilesystemSize Used Avail Use% Mounted on /dev/mapper/debian-root 224G 12G 200G 6% / tmpfs1008M 8.0K 1008M 1% /lib/init/rw udev 10M 80K 10M 1% /dev tmpfs

Re: shrink lvm to get spare space

2009-04-26 Thread Ólafur Jens Sigurðsson
On Sun, Apr 26, 2009 at 01:15:17PM -0500, Zhengquan Zhang wrote: Dear debian community, on on of my systems I have FilesystemSize Used Avail Use% Mounted on /dev/mapper/debian-root 224G 12G 200G 6% / tmpfs1008M 8.0K 1008M 1%

Re: shrink lvm to get spare space

2009-04-26 Thread Zhengquan Zhang
On Sun, Apr 26, 2009 at 04:50:16PM -0500, Boyd Stephen Smith Jr. wrote: In 20090426181517.ga9...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: on on of my systems I have FilesystemSize Used Avail Use% Mounted on /dev/mapper/debian-root 224G 12G

Re: shrink lvm to get spare space

2009-04-26 Thread Boyd Stephen Smith Jr.
In 20090426181517.ga9...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: on on of my systems I have FilesystemSize Used Avail Use% Mounted on /dev/mapper/debian-root 224G 12G 200G 6% / Now I would like to shrink / by 30G so that I have 30G for another

Re: shrink lvm to get spare space

2009-04-26 Thread Boyd Stephen Smith Jr.
In 20090426220025.ga12...@m364d1.ece.northwestern.edu, Zhengquan Zhang wrote: On Sun, Apr 26, 2009 at 04:50:16PM -0500, Boyd Stephen Smith Jr. wrote: 3. Shrink the physical volume. (I'm not even sure LVM supports this. If this is your only physical volume, and you are using the extents

Re: shrink lvm to get spare space

2009-04-26 Thread Zhengquan Zhang
On Sun, Apr 26, 2009 at 07:35:18PM -0500, Boyd Stephen Smith Jr. wrote: 4. Shrink the partition. (I'm comfortable with fdisk, but gparted is the recommendation I've heard the most.) If I don't do this, will there be spare space unformatted after I do the first two steps? It will be