Title says it all. I have filled the 20gb partition and want to start this one with more space.
Any help is appreciated.
http://www.imgur.com/E4whr6i.jpeg
Title says it all. I have filled the 20gb partition and want to start this one with more space.
Any help is appreciated.
http://www.imgur.com/E4whr6i.jpeg
In advanced/expert you can set partition space it to any value you want.
edit nvm, i don’t think my help was correct
Look at the picture in my initial post, I am in advanced.
You do have to make space for it ie resize and/move other partitions. All partitions must fit into consecutive space. If there is only 20 gig in that space you cant shoehorn in more space LOL
It looks like the sda2 partition is land locked between sda1 and sda3 and any excess space must exist after sda3. You can use the sda4 partition as root / if you create it there where >500 GB of free space must be hiding, by my quick calculations.
Thank You,
On Tue, 07 May 2013 00:26:01 +0000, kilbert wrote:
> Look at the picture in my initial post, I am in advanced.
You have to remove the partitions that follow the root partition in order
to expand root beyond 20 GB. I ran into this myself, and as a test
created a VM in which I created a 1 TB root partition, just to see if it
could be done.
It can.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
I tend to use gparted (Parted Magic) to manage partitions before install
I have 20GB root partitions and don’t even come close to using it all
On Tue, 07 May 2013 00:39:08 +0000, Jim Henderson wrote:
> On Tue, 07 May 2013 00:26:01 +0000, kilbert wrote:
>
>> Look at the picture in my initial post, I am in advanced.
>
> You have to remove the partitions that follow the root partition in
> order to expand root beyond 20 GB. I ran into this myself, and as a
> test created a VM in which I created a 1 TB root partition, just to see
> if it could be done.
>
> It can.
>
> http://susepaste.org/63967670
Another workaround would be to create an additional partition after the
last partition, move the data under /opt, /var, or /usr to that new
partition, and then mount that partition under the appropriate directory.
I’d probably be inclined to do that with /opt if that’s where space is
being used.
But if you need more than 20 GB of space for /, it might be worth looking
at why.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On 2013-05-07 07:40, Jim Henderson wrote:
> Another workaround would be to create an additional partition after the
> last partition, move the data under /opt, /var, or /usr to that new
> partition, and then mount that partition under the appropriate directory.
Another candidate is /tmp.
> But if you need more than 20 GB of space for /, it might be worth looking
> at why.
Out of curiosity, I checked the space used on root in my system (which
is several partitions, so no single command, I used mc) and it says
134,243,892M. Impossible.
There are 134 GB on /var. Of that, there are 131072G in /var/lib/ntp.
Looking inside it is /var/lib/ntp/proc - that’s absurd, it should not
have been counted.
Ok, let’s try another method…
Using baobab, analyze skipping home and data.
/usr: 18.8 GB
/var: 4.6 GB
/root: 2.9 GB
/opt: 1.6 GB
/lib: 386 MB
/etc: 137 MB
and few things more.
total: 29 GB, says baobab.
But the above misses that under var, there are two large directories
mounted separately in my case:
/var/spool/news: 1,133,918K in 518499 files
(and a thousand directories
/var/cache/zypp/packages: 6,685,814K
You see, it is not that difficult to need a large root. Besides
programs, there are databases, kernel builds, package cache, mail, news,
and who knows what
Of course, typically you move those large things to other mounts.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On Tue, 07 May 2013 14:48:06 +0000, Carlos E. R. wrote:
> On 2013-05-07 07:40, Jim Henderson wrote:
>
>> Another workaround would be to create an additional partition after the
>> last partition, move the data under /opt, /var, or /usr to that new
>> partition, and then mount that partition under the appropriate
>> directory.
>
> Another candidate is /tmp.
It could be, though on my systems, /tmp doesn’t get all that big. /var/
log tends to be worse (I’ve got a SLES box that runs inn, and there was
an update that broke something in a perl module that caused /var/log/warn
to grow out of control because an inn process was bombing several times a
second and writing 4 lines to the log file to warn me about it…)
>> But if you need more than 20 GB of space for /, it might be worth
>> looking at why.
>
> Out of curiosity, I checked the space used on root in my system (which
> is several partitions, so no single command, I used mc) and it says
> 134,243,892M. Impossible.
>
> There are 134 GB on /var. Of that, there are 131072G in /var/lib/ntp.
> Looking inside it is /var/lib/ntp/proc - that’s absurd, it should not
> have been counted.
>
> Ok, let’s try another method…
>
> Using baobab, analyze skipping home and data.
>
> /usr: 18.8 GB /var: 4.6 GB /root: 2.9 GB /opt: 1.6 GB /lib: 386 MB
> /etc: 137 MB
>
> and few things more.
>
> total: 29 GB, says baobab.
>
>
> But the above misses that under var, there are two large directories
> mounted separately in my case:
>
> /var/spool/news: 1,133,918K in 518499 files
> (and a thousand directories
> /var/cache/zypp/packages: 6,685,814K
>
>
> You see, it is not that difficult to need a large root. Besides
> programs, there are databases, kernel builds, package cache, mail, news,
> and who knows what
“df” will give you reliable numbers by filesystem.
> Of course, typically you move those large things to other mounts.
Yes.
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On 2013-05-07 18:21, Jim Henderson wrote:
> “df” will give you reliable numbers by filesystem.
Oh, absolutely, but it takes a long time to run, and I have to check the
manual to tell it to skip things such as /proc. Then I don’t notice that
there is a copy in “/var/lib/ntp/proc”, and I have to repeat the command.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
Do you probably mean “du”? “df” is almost instantaneous.
On 2013-05-08 04:46, arvidjaar wrote:
>
> robin_listas;2554773 Wrote:
>> On 2013-05-07 18:21, Jim Henderson wrote:
>>
>>> “df” will give you reliable numbers by filesystem.
>>
>> Oh, absolutely, but it takes a long time to run,
>
> Do you probably mean “du”? “df” is almost instantaneous.
Oh, right, of course. df in my case is not accurate for calculating
“root” size, because I’m using several partitions to hold what most
people have in one:
/dev/sda7 20G 8,3G 11G 45% /
/dev/sdb8 20G 14G 7,0G 66% /usr
/dev/sda2 190M 73M 108M 41% /boot
/dev/sdc6 10G 1,3G 8,8G 13% /usr/src
/dev/sdc7 13G 3,2G 8,9G 27% /usr/local
/dev/sdb9 9,1G 1,5G 7,6G 16% /opt
This does not count that I have “/var/cache/zypp/packages” symlinked to
a directory in another partition (shared by several machines) via nfs,
that “/var/spool/news” is symlinked to another one… and neither are
listed above, they are data partitions used for several things.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On Wed, 08 May 2013 00:28:06 +0000, Carlos E. R. wrote:
> On 2013-05-07 18:21, Jim Henderson wrote:
>
>> “df” will give you reliable numbers by filesystem.
>
> Oh, absolutely, but it takes a long time to run, and I have to check the
> manual to tell it to skip things such as /proc. Then I don’t notice that
> there is a copy in “/var/lib/ntp/proc”, and I have to repeat the
> command.
?
df runs instantaneously:
[jhenderson@lamuella ~]$ time df
Filesystem 1K-blocks Used Available Use%
Mounted on
[output deleted]
0.000u 0.003s 0:00.10 0.0% 0+0k 0+0io 0pf+0w
[jhenderson@lamuella ~]$
I think you’re thinking of “du”, which does take time to run and isn’t
very intelligent.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On Wed, 08 May 2013 03:23:06 +0000, Carlos E. R. wrote:
> Oh, right, of course. df in my case is not accurate for calculating
> “root” size, because I’m using several partitions to hold what most
> people have in one:
But it is calculating the size of the root filesystem, exactly as it
should be. The fact that you have sub-partitions in some places that
aren’t common isn’t relevant - the problem OP is having is that the root
partition is full. Mounting /opt, /var, /usr, or /tmp (or whatever)
alleviates that problem, as you demonstrate quite deftly here.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On 2013-05-08 06:55, Jim Henderson wrote:
> On Wed, 08 May 2013 03:23:06 +0000, Carlos E. R. wrote:
>
>> Oh, right, of course. df in my case is not accurate for calculating
>> “root” size, because I’m using several partitions to hold what most
>> people have in one:
>
> But it is calculating the size of the root filesystem, exactly as it
> should be. The fact that you have sub-partitions in some places that
> aren’t common isn’t relevant - the problem OP is having is that the root
> partition is full. Mounting /opt, /var, /usr, or /tmp (or whatever)
> alleviates that problem, as you demonstrate quite deftly here.
Yes, absolutely, but you misunderstood me
I’m trying to calculate what I would be using on “/” if I had only one
partition for all that, to show that it is possible to need much more
than 20 GiB. I have about 70GiB reserved, and 28GiB used, by looking at
df only and ignoring the symlinks.
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On 2013-05-08 06:54, Jim Henderson wrote:
> I think you’re thinking of “du”, which does take time to run and isn’t
> very intelligent.
Yes, yes, see my response to arvidjaar earlier
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)
On Wed, 08 May 2013 14:18:06 +0000, Carlos E. R. wrote:
> On 2013-05-08 06:55, Jim Henderson wrote:
>> On Wed, 08 May 2013 03:23:06 +0000, Carlos E. R. wrote:
>>
>>> Oh, right, of course. df in my case is not accurate for calculating
>>> “root” size, because I’m using several partitions to hold what most
>>> people have in one:
>>
>> But it is calculating the size of the root filesystem, exactly as it
>> should be. The fact that you have sub-partitions in some places that
>> aren’t common isn’t relevant - the problem OP is having is that the
>> root partition is full. Mounting /opt, /var, /usr, or /tmp (or
>> whatever) alleviates that problem, as you demonstrate quite deftly
>> here.
>
> Yes, absolutely, but you misunderstood me
>
> I’m trying to calculate what I would be using on “/” if I had only one
> partition for all that, to show that it is possible to need much more
> than 20 GiB. I have about 70GiB reserved, and 28GiB used, by looking at
> df only and ignoring the symlinks.
That becomes just a question of adding a few numbers together, though.
Jim
–
Jim Henderson
openSUSE Forums Administrator
Forum Use Terms & Conditions at http://tinyurl.com/openSUSE-T-C
On 2013-05-08 19:48, Jim Henderson wrote:
> That becomes just a question of adding a few numbers together, though.
Absolutely. But first I have to get the numbers, and I was trying to
automate it. I like the computer crunching numbers instead of me
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)