Re: LVM question

2015-07-19 Thread Matt Graham
On 2015-07-18 10:25, Stephen M wrote: The original size [of the LV was] 3G for my home directory. I am trying to reduce it to 2G so then I can increase my /usr to 8G from 7G. lvreduce -L 1G /dev/testLVM/lvhome Do you really want to reduce lvhome? [y,n]: y Command failed with status code 5

Re: LVM question

2015-07-19 Thread Stephen M
I went to the installfest and someone reminded me that in Debian, / will be mounted as read only and I need to remount it as rw. So once he helped me with that I was able to see how to shrink/expand the logical volume. On Sun, Jul 19, 2015 at 12:30 PM, Matt Graham mhgra...@crow202.org wrote: On

Re: LVM question

2015-07-18 Thread der.hans
Am 17. Jul, 2015 schwätzte Stephen M so: Yes, but when I was trying to shrink the /home to give more to /usr it was giving that error. Thats why I wanted to know what might be going on. I know I could do it through a GUI but I want to learn command line. What are the original sizes? What

LVM question

2015-07-17 Thread Stephen M
Hi Everyone, I'm trying to learn LVMs. I created a couple LVM partitions and was trying to resize a /home I made. I use efsck2 to check the disk, resize2fs to resize it then lvreduce/lvresize but it came out with an error status 5 code. The partition was unmounted so that wasn't the issue and

Re: LVM question

2015-07-17 Thread Stephen M
Yes, but when I was trying to shrink the /home to give more to /usr it was giving that error. Thats why I wanted to know what might be going on. I know I could do it through a GUI but I want to learn command line. On Fri, Jul 17, 2015 at 8:59 PM, James Mcphee jmc...@gmail.com wrote: Yes. To