Re: LVM [WAS Re: Yum cache memory space -]

2012-09-11 Thread Bill Davidsen

Reindl Harald wrote:



Am 06.09.2012 21:35, schrieb Steven Stern:

On 09/06/2012 01:47 PM, Joe Zeff wrote:

On 09/06/2012 11:23 AM, Bill Davidsen wrote:

For which I am deeply grateful. Most of the time LVM is fine, even
preferred, but some times I really want it my way and now that's easy.


Personally, I find LVM to be a great solution looking for a problem.  I
only have one LVM partition, and that's only because I forgot to turn it
off when I created it.  Of course, I'm only using Fedora for my home
computer, and I can see how useful it can be in a production
environment.  Maybe what we need is for anaconda to ask if this is a
home or production installation, and have LVM default to off for home,
on for production?


If it were simple then LVM would be wonderful.  If, on detecting a new
drive, the system would say Hey, you have a new drive. Do you want me
to extend one or more existing partitions there?, it would be workable.
But it's not that easy.


and this is good so
why?

because many naive people would say yes extend without realize
what happens if you have a LVM over 6 physical drives without a
RAID after one of the drives is dying


Having anything over multiple drives without RAID means you really know what you 
are doing, or really *don't* know what you are doing. At least with LVM you can 
get rid of the failing part if it doesn't die before you do.


I agree the LVM is really hard to use, because the UI was designed by someone 
who doesn't think the way I do. My impression is that a lot of other people 
share this opinion.



--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-11 Thread Bill Davidsen

Reindl Harald wrote:



Am 05.09.2012 18:52, schrieb Bob Goodwin - Zuni:

Error Downloading Packages:
   1:libreoffice-core-3.5.6.2-2.fc17.x86_64: Insufficient space
in download directory /var/cache/yum/x86_64/17/updates/packages
 * free   45 M
 * needed 70 M

[root@box9 bobg]# df -h

shows:

/dev/sda2   1.5G  1.5G 0 100% /var

Perhaps I should have allocated space differently?


looks like

or you edit /etc/yum.conf - cachedir=/var/cache/yum to somewhere else


Can I just clear /var/cache/yum/x86_64/17/updates/packages?


you can even rm -rf /var/cache/yum/*
done this hundrets of times on many machines in the past years


I don't think that was his question. And unless you are doing something very 
unusual, why would you not use yum clean all to preserve the structure?



suspect that if I could it should happen without my help?


why should it?
if /etc/yum.conf contains keepcache=1 it is supposed to keep








--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-10 Thread Reindl Harald


Am 05.09.2012 18:52, schrieb Bob Goodwin - Zuni:
Error Downloading Packages:
   1:libreoffice-core-3.5.6.2-2.fc17.x86_64: Insufficient space
in download directory /var/cache/yum/x86_64/17/updates/packages
 * free   45 M
 * needed 70 M
 
[root@box9 bobg]# df -h
 
shows:
 
/dev/sda2   1.5G  1.5G 0 100% /var
 
Perhaps I should have allocated space differently?

looks like

or you edit /etc/yum.conf - cachedir=/var/cache/yum to somewhere else

Can I just clear /var/cache/yum/x86_64/17/updates/packages? 

you can even rm -rf /var/cache/yum/*
done this hundrets of times on many machines in the past years

suspect that if I could it should happen without my help?

why should it?
if /etc/yum.conf contains keepcache=1 it is supposed to keep





signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: LVM [WAS Re: Yum cache memory space -]

2012-09-10 Thread Reindl Harald


Am 06.09.2012 21:35, schrieb Steven Stern:
 On 09/06/2012 01:47 PM, Joe Zeff wrote:
 On 09/06/2012 11:23 AM, Bill Davidsen wrote:
 For which I am deeply grateful. Most of the time LVM is fine, even
 preferred, but some times I really want it my way and now that's easy.

 Personally, I find LVM to be a great solution looking for a problem.  I
 only have one LVM partition, and that's only because I forgot to turn it
 off when I created it.  Of course, I'm only using Fedora for my home
 computer, and I can see how useful it can be in a production
 environment.  Maybe what we need is for anaconda to ask if this is a
 home or production installation, and have LVM default to off for home,
 on for production?
 
 If it were simple then LVM would be wonderful.  If, on detecting a new
 drive, the system would say Hey, you have a new drive. Do you want me
 to extend one or more existing partitions there?, it would be workable.
 But it's not that easy.

and this is good so
why?

because many naive people would say yes extend without realize
what happens if you have a LVM over 6 physical drives without a
RAID after one of the drives is dying





signature.asc
Description: OpenPGP digital signature
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-06 Thread Bill Davidsen

Michael Cronenworth wrote:

Bob Goodwin - Zuni, Virginia, USA wrote:


Yes, I suppose you're right but I wanted to partition it myself
instead of the usual lvm. I will live with my mistakes, hopefully
get it right next time.


There is a use lvm checkbox that you can uncheck during installation.
You are no longer forced to use LVM.

For which I am deeply grateful. Most of the time LVM is fine, even preferred, 
but some times I really want it my way and now that's easy.


Some thoughts on this problem:
1 - 1.5GB is too small for /var
2 - try yum clean all and restarting the upgrade, or even doing it in steps.
3 - you may have to bind mount a directory in a larger filesystem on 
/var/cache/yum to get by this. Yes it's a PITA.


--
Bill Davidsen david...@tmr.com
  We have more to fear from the bungling of the incompetent than from
the machinations of the wicked.  - from Slashdot
--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-06 Thread Joe Zeff

On 09/06/2012 11:23 AM, Bill Davidsen wrote:

For which I am deeply grateful. Most of the time LVM is fine, even
preferred, but some times I really want it my way and now that's easy.


Personally, I find LVM to be a great solution looking for a problem.  I 
only have one LVM partition, and that's only because I forgot to turn it 
off when I created it.  Of course, I'm only using Fedora for my home 
computer, and I can see how useful it can be in a production 
environment.  Maybe what we need is for anaconda to ask if this is a 
home or production installation, and have LVM default to off for home, 
on for production?

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


LVM [WAS Re: Yum cache memory space -]

2012-09-06 Thread Steven Stern
On 09/06/2012 01:47 PM, Joe Zeff wrote:
 On 09/06/2012 11:23 AM, Bill Davidsen wrote:
 For which I am deeply grateful. Most of the time LVM is fine, even
 preferred, but some times I really want it my way and now that's easy.
 
 Personally, I find LVM to be a great solution looking for a problem.  I
 only have one LVM partition, and that's only because I forgot to turn it
 off when I created it.  Of course, I'm only using Fedora for my home
 computer, and I can see how useful it can be in a production
 environment.  Maybe what we need is for anaconda to ask if this is a
 home or production installation, and have LVM default to off for home,
 on for production?

If it were simple then LVM would be wonderful.  If, on detecting a new
drive, the system would say Hey, you have a new drive. Do you want me
to extend one or more existing partitions there?, it would be workable.
But it's not that easy.


-- 
-- Steve
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-05 Thread Michael Cronenworth
Bob Goodwin - Zuni, Virginia, USA wrote:
 
Perhaps I should have allocated space differently?

Yes. It makes little sense to set hard partitions on root folders on a
desktop system. Allow the Fedora installer to setup default partitions.
There is little reason besides personal preference to choose a custom
partitioning scheme for a desktop/laptop used by one person.

Can I just clear /var/cache/yum/x86_64/17/updates/packages? I
suspect that if I could it should happen without my help?

# yum clean packages

Please see:
$ man yum
For a full listing of yum commands. There are many.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-05 Thread Bob Goodwin - Zuni, Virginia, USA

On 05/09/12 13:56, Michael Cronenworth responds:

Bob Goodwin - Zuni, Virginia, USA wrote:

Perhaps I should have allocated space differently?

Yes. It makes little sense to set hard partitions on root folders on a
desktop system. Allow the Fedora installer to setup default partitions.
There is little reason besides personal preference to choose a custom
partitioning scheme for a desktop/laptop used by one person.


   Yes, I suppose you're right but I wanted to partition it myself
   instead of the usual lvm. I will live with my mistakes, hopefully
   get it right next time.




Can I just clear /var/cache/yum/x86_64/17/updates/packages? I
suspect that if I could it should happen without my help?

# yum clean packages

Please see:
$ man yum
For a full listing of yum commands. There are many.


   I tried several of the things shown under yum clean, packages was
   one of them, metadata another.

   I'm still struggling with error messages, probably created by my
   trying to stop yum early this morning when it did nothing but try
   new mirrors. I should have stuck with the CTRL+c longer. Pushing the
   reset button was not the thing to do, I knew that at the time but
   nothing worked.

   Thanks.

   Bob

--
http://www.qrz.com/db/W2BOD

box9

--
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


Re: Yum cache memory space -

2012-09-05 Thread Michael Cronenworth
Bob Goodwin - Zuni, Virginia, USA wrote:
 
Yes, I suppose you're right but I wanted to partition it myself
instead of the usual lvm. I will live with my mistakes, hopefully
get it right next time.

There is a use lvm checkbox that you can uncheck during installation.
You are no longer forced to use LVM.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org