im new to opensuse. my last distro was ubuntu. i decided to switch becuase i kept on encountering the grub rescue prompt with my installations.
anyways, i’ve installed opensuse 12.1 on my thinkpad with btrfs , separate partitions for /, /boot, /home and full disk encryption. / is 99% full and i have some free space on the HDD but / only uses 40GB of the HDD.
On 04/15/2012 10:06 PM, btbaus wrote:
>
> hi everyone,
>
> im new to opensuse. my last distro was ubuntu. i decided to switch
> becuase i kept on encountering the grub rescue prompt with my
> installations.
>
> anyways, i’ve installed opensuse 12.1 on my thinkpad with btrfs ,
> separate partitions for /, /boot, /home and full disk encryption. / is
> 99% full and i have some free space on the HDD but / only uses 40GB of
> the HDD.
>
> how can i increase the size of /?
The only general way to increase the size of any partition is to backup
everything, repartition the drive, and restore the backups.
Before you do this, you need to explore what is using the space on /. I have a
lot of stuff installed on my system with partitions /, /home, and swap, and / is
only using 19 GB. Your 40 GB should be more than enough.
In particular, look at the size of /tmp and /var using the du command. For me,
/var/is just over 1 GB, and /tmp is only a little over 7 MB.
i have three VM’s taking up that free space. i had some trouble accessing the VM’s after instillation because whenever i started the virtual machine manager id get this error:
Error starting Virtual Machine Manager: No module named gconf.
but now im able to log into them with the command line so i just gotta figure out how to delete the unused VM’s. maybe you can help me with this gconf error too. if not ill just post a new thread in the virtualization forum.
i dont know why im getting this error but i installed the virtual machine tools with the “install hypervisor and tools” icont in YaST so perhaps this is some kind of buggg.
anyways back to the btrfs,
why is it that my HDD is partitioned this way? during installation i selected btrfs, with separate partitions and whole disk encryption. i was only allocated 300MB for /boot and 40GB for / which is fine. and 50GB for /home. what if i have tons of local media and i need more that 50GB? this is a 300GB HDD so i have about 200GB free but i dont know how to use it!
id like to use some of that that free space so i can avoid using a VM.
On 04/16/2012 02:26 PM, btbaus wrote:
>
> lwfinger;2456294 Wrote:
>> On 04/15/2012 10:06 PM, btbaus wrote:
>>>
>>> hi everyone,
>>>
>>> im new to opensuse. my last distro was ubuntu. i decided to switch
>>> becuase i kept on encountering the grub rescue prompt with my
>>> installations.
>>>
>>> anyways, i’ve installed opensuse 12.1 on my thinkpad with btrfs ,
>>> separate partitions for /, /boot, /home and full disk encryption. /
>> is
>>> 99% full and i have some free space on the HDD but / only uses 40GB
>> of
>>> the HDD.
>>>
>>> how can i increase the size of /?
>>
>> The only general way to increase the size of any partition is to
>> backup
>> everything, repartition the drive, and restore the backups.
>>
>> Before you do this, you need to explore what is using the space on /. I
>> have a
>> lot of stuff installed on my system with partitions /, /home, and swap,
>> and / is
>> only using 19 GB. Your 40 GB should be more than enough.
>>
>> In particular, look at the size of /tmp and /var using the du command.
>> For me,
>> /var/is just over 1 GB, and /tmp is only a little over 7 MB.
>
> good point,
>
> i have three VM’s taking up that free space. i had some trouble
> accessing the VM’s after instillation because whenever i started the
> virtual machine manager id get this error:
> Error starting Virtual Machine Manager: No module named gconf.
> but now im able to log into them with the command line so i just gotta
> figure out how to delete the unused VM’s. maybe you can help me with
> this gconf error too. if not ill just post a new thread in the
> virtualization forum.
> i dont know why im getting this error but i installed the virtual
> machine tools with the “install hypervisor and tools” icont in YaST so
> perhaps this is some kind of buggg.
>
> anyways back to the btrfs,
>
> why is it that my HDD is partitioned this way? during installation i
> selected btrfs, with separate partitions and whole disk encryption. i
> was only allocated 300MB for /boot and 40GB for / which is fine. and
> 50GB for /home. what if i have tons of local media and i need more that
> 50GB? this is a 300GB HDD so i have about 200GB free but i dont know how
> to use it!
> id like to use some of that that free space so i can avoid using a VM.
This statement of your problem is not what you stated, and is quite different.
I guess you are trying to use KVM. As I do not use it, I cannot help there, but
I would think that using VMs would make your problem worse if the VM manager is
storing the virtual disk files in the root partition, thus taking even more room
away from /.
Please post the output of ‘df’ and ‘fdisk -l’ inside code tags. That will tell
us what options you have. You may very well need to wipe everything out and
start fresh, but the output will tell us that.
The installation process made a guess on the best way to partition your disk.
The separate /boot was needed because you are using btrfs - GRUB cannot read
that filesystem.
I always make a separate vm partition and mount it as /vm and instruct the vm manager to store the vm’s there, makes up grading/reinstalling the host much easier.