Need more space at /home

Time for another episode of Tom’s Stupid Linux Blunders!

Okay, so upon install of 11.2, I thought that I would try the LVM option when it asked me how I wanted to partition my HDD. I am using the entire HDD for SUSE…or so I thought. Take a look at how much space I have for my /home partition:

http://farm5.static.flickr.com/4035/4442602830_170a3bac5f_o.png

Now, I’ve added up the numbers, and they sure don’t add up to 74.51 GB. Any way that I can make /home bigger? It won’t let me increase it anymore beyond 7.89 GB, which is a total bummer.

Thanks much,
Tom

On 03/17/2010 11:26 PM, Linuxified wrote:
>
> Time for another episode of Tom’s Stupid Linux Blunders!
>
> Okay, so upon install of 11.2, I thought that I would try the LVM
> option when it asked me how I wanted to partition my HDD. I am using
> the entire HDD for SUSE…or so I thought. Take a look at how much
> space I have for my /home partition:
>
> http://farm5.static.flickr.com/4035/4442602830_170a3bac5f_o.png
>
> Now, I’ve added up the numbers, and they sure don’t add up to 74.51 GB.
> Any way that I can make /home bigger? It won’t let me increase it
> anymore beyond 7.89 GB, which is a total bummer.

I’m certainly not an expert on LVM, but as I see the layout, you have a lot of
free disk, probably at the end. To verify that, please post the output of


sudo  /sbin/fdisk  -l
cat  /etc/fstab

From that info, we should be able to get you started on a recovery without
having to reinstall.

Do I interprete correct when I say that you have 70 GB for /boot? It only needs less then 100 Mb (mine is 42 MB and I have three kernels in it).

Apart from what lwfinger asks (you could have known that we need them, because they are asked at every partition problem here in the Foruums), look at

df

On 03/18/2010 08:06 AM, hcvv wrote:
>
> Do I interprete correct when I say that you have 70 GB for /boot? It
> only needs less then 100 Mb (mine is 42 MB and I have three kernels in
> it).
>
> Apart from what lwfinger asks (you could have known that we need them,
> because they are asked at every partition problem here in the Foruums),
> look at

It is 70 MB, not GB. That size should be fine, although YMMV. At present, my
/boot contains over 330 MB, but I generate a lot of kernels and have not cleaned
up in a while.

Nope, you cannot change the size of /home, since / and swap occuppy the bits next to it. You could however create a new partition for /home, mount the old one as /home.old and copy contents to /home. That would leave the old home for backups…

Feel free to apply the palm to the face, but in my past two months of using SUSE, I’ve never had to mount a drive or a partition.

How do you do it?

Well you use the mount command. See man mount from the command line.

If you want to have the partition mounted at boot you need to add a line to the /etc/fstab file.

For the exact way you need to give us output of

fdisk -l

and

cat /etc/fstab

Maybe the reading of SDB:Basics of partitions, filesystems, mount points - openSUSE will give you some background information.

You cannot resize /home because it is part of sda2, which is only 15GB. You’ll have to make sda2 bigger first. Since you said you’re using the hd for Suse only, just make it fill up the entire avaiable space.
Only after you’ve done that, you will be able to increase the size of the logical volumes inside sda2.