Re: SL 5.4 to 5.5 upgrade-problem

2010-07-22 Thread Steven Timm

On Thu, 22 Jul 2010, Larry Linder wrote:


When installing SL5.5 over SL5.4 about mid way into the Disk 2 I get an Error
message to REBOOT.
204 Meg on /mnt/sysimage/usr

When I look at /mnt   it is empty after reboot.


During an install, the partition that is going to become /
would be mounted on /mnt/sysimage and
that which will be /usr would be on /mnt/sysimage/usr.


My guess is that update ran out of disk space, and the the sysimage/usr is
removed after ERROR is detected and REBOOT message is displayed.


You shouldn't actually have to do an anaconda install to get from
SL54. to sl5.5, a yum upgrade should work.
But yes you ran out of disk space on /usr, which is by far where
most of the distribution lives.


Is there anyway to change the location of sysimage/usr to some other disk on
the system?

How big is your / partition?  Is it enough to contain all that it contains
now plus all the 8GB of /usr plus the extra stuff you still have to put 
in?


do you have any other partition that has 2G or more free?

If so, you could boot in single user mode and move the contents of
/usr/ to whatever partition is free.
But it may be better to first try to clean out unused user files
out of /usr because there is for sure not 8GB worth of OS files that
would be there.



The sda? contains all the system directories and is 36 G, about 1/2 of it is
uncommitted.   /usr is 8G and 94% full.  Other directories have at least a G
of spare space.

I need to change partition sizes but hate to waste a lot of time guessing.

Thank You
Larry Linder



--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.


Re: SL 5.4 to 5.5 upgrade-problem

2010-07-22 Thread Troy Dawson

Larry Linder wrote:
When installing SL5.5 over SL5.4 about mid way into the Disk 2 I get an Error 
message to REBOOT.

204 Meg on /mnt/sysimage/usr

When I look at /mnt   it is empty after reboot.
My guess is that update ran out of disk space, and the the sysimage/usr is 
removed after ERROR is detected and REBOOT message is displayed.


Is there anyway to change the location of sysimage/usr to some other disk on 
the system?


The sda? contains all the system directories and is 36 G, about 1/2 of it is 
uncommitted.   /usr is 8G and 94% full.  Other directories have at least a G 
of spare space.


I need to change partition sizes but hate to waste a lot of time guessing.

Thank You
Larry Linder


Hi Larry,
One quick question before I proceed.  Are you doing a real "upgrade" or 
an "install"
An "upgrade" is where SL 5.4 stays there and you just update the 
packages in it.  If that is the case, using the installer isn't the 
recommended way of updating it.  It is much easier to to an upgrade via yum.

http://www.scientificlinux.org/documentation/howto/upgrade.5x

An "install" is where you wipe and reformat everything except maybe your 
home and data partitions.


I am going to assume that you are doing a "install" or SL 5.5 over a 
previously installed SL 5.4.


If you are doing this, then you *need* to reformat the partitions that 
do not contain your home area or data.  Otherwise the install starts 
adding to what is already there, and as you saw, it can fill up.


Patitions you should format if you are doing an install.

/
/usr
/var
/boot

As Steve said in a previous email, if you can fit everything onto / 
there is often no reason to create a /usr.  Take that space and add it to /


Hopefully this is enough information, along with Steve's,  to get you going

Troy
--
__
Troy Dawson  daw...@fnal.gov  (630)840-6468
Fermilab  ComputingDivision/LSCS/CSI/USS Group
__


Re: SL 5.4 to 5.5 upgrade-problem

2010-07-22 Thread Larry Linder
Because we are in a little town (wide spot in road) the DSL is not the most 
reliable.  That is why I down loaded the 8 disks from another source and 
wanted to update systems to SL 5.5.
This install try was an update and not a new installation.
There have been a lot of additions to this system, for doing FFT, Power 
Spectral Density, and a lot of signal processing.   Unfortunately /usr has 
expaned beyond our first guess and /usr/local is almost empty.
Since these may not be adjacent partitions.  Is there anyway to expand /usr 
and shrink /usr/local.  

Thanks for the insight.

Larry Linder

On Thursday 22 July 2010 10:32, you wrote:
> Larry Linder wrote:
> > When installing SL5.5 over SL5.4 about mid way into the Disk 2 I get an
> > Error message to REBOOT.
> > 204 Meg on /mnt/sysimage/usr
> >
> > When I look at /mnt   it is empty after reboot.
> > My guess is that update ran out of disk space, and the the sysimage/usr
> > is removed after ERROR is detected and REBOOT message is displayed.
> >
> > Is there anyway to change the location of sysimage/usr to some other disk
> > on the system?
> >
> > The sda? contains all the system directories and is 36 G, about 1/2 of it
> > is uncommitted.   /usr is 8G and 94% full.  Other directories have at
> > least a G of spare space.
> >
> > I need to change partition sizes but hate to waste a lot of time
> > guessing.
> >
> > Thank You
> > Larry Linder
>
> Hi Larry,
> One quick question before I proceed.  Are you doing a real "upgrade" or
> an "install"
> An "upgrade" is where SL 5.4 stays there and you just update the
> packages in it.  If that is the case, using the installer isn't the
> recommended way of updating it.  It is much easier to to an upgrade via
> yum. http://www.scientificlinux.org/documentation/howto/upgrade.5x
>
> An "install" is where you wipe and reformat everything except maybe your
> home and data partitions.
>
> I am going to assume that you are doing a "install" or SL 5.5 over a
> previously installed SL 5.4.
>
> If you are doing this, then you *need* to reformat the partitions that
> do not contain your home area or data.  Otherwise the install starts
> adding to what is already there, and as you saw, it can fill up.
>
> Patitions you should format if you are doing an install.
>
> /
> /usr
> /var
> /boot
>
> As Steve said in a previous email, if you can fit everything onto /
> there is often no reason to create a /usr.  Take that space and add it to /
>
> Hopefully this is enough information, along with Steve's,  to get you going
>
> Troy


Re: SL 5.4 to 5.5 upgrade-problem

2010-07-22 Thread Steven Timm

What you want to do, can be done with a combination of parted
and resize2fs.  Take good backups first.  It would have been
easier if you were using LVM.

basic strategy, resize2fs to shrink /usr/local file system,
then parted to shrink /usr/local partition,
then parted to grow /usr partition.
The last time I did this I had to actually delete one of
the partitions out of the partition table and then re-create it
in the same spot.  Not for amateurs.

Steve


On Thu, 22 Jul 2010, Larry Linder wrote:


Because we are in a little town (wide spot in road) the DSL is not the most
reliable.  That is why I down loaded the 8 disks from another source and
wanted to update systems to SL 5.5.
This install try was an update and not a new installation.
There have been a lot of additions to this system, for doing FFT, Power
Spectral Density, and a lot of signal processing.   Unfortunately /usr has
expaned beyond our first guess and /usr/local is almost empty.
Since these may not be adjacent partitions.  Is there anyway to expand /usr
and shrink /usr/local.

Thanks for the insight.

Larry Linder

On Thursday 22 July 2010 10:32, you wrote:

Larry Linder wrote:

When installing SL5.5 over SL5.4 about mid way into the Disk 2 I get an
Error message to REBOOT.
204 Meg on /mnt/sysimage/usr

When I look at /mnt   it is empty after reboot.
My guess is that update ran out of disk space, and the the sysimage/usr
is removed after ERROR is detected and REBOOT message is displayed.

Is there anyway to change the location of sysimage/usr to some other disk
on the system?

The sda? contains all the system directories and is 36 G, about 1/2 of it
is uncommitted.   /usr is 8G and 94% full.  Other directories have at
least a G of spare space.

I need to change partition sizes but hate to waste a lot of time
guessing.

Thank You
Larry Linder


Hi Larry,
One quick question before I proceed.  Are you doing a real "upgrade" or
an "install"
An "upgrade" is where SL 5.4 stays there and you just update the
packages in it.  If that is the case, using the installer isn't the
recommended way of updating it.  It is much easier to to an upgrade via
yum. http://www.scientificlinux.org/documentation/howto/upgrade.5x

An "install" is where you wipe and reformat everything except maybe your
home and data partitions.

I am going to assume that you are doing a "install" or SL 5.5 over a
previously installed SL 5.4.

If you are doing this, then you *need* to reformat the partitions that
do not contain your home area or data.  Otherwise the install starts
adding to what is already there, and as you saw, it can fill up.

Patitions you should format if you are doing an install.

/
/usr
/var
/boot

As Steve said in a previous email, if you can fit everything onto /
there is often no reason to create a /usr.  Take that space and add it to /

Hopefully this is enough information, along with Steve's,  to get you going

Troy




--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Assistant Group Leader.


Re: SL 5.4 to 5.5 upgrade-problem

2010-07-22 Thread g
Larry Linder wrote:
> Because we are in a little town (wide spot in road) the DSL is not the most
> reliable.  That is why I down loaded the 8 disks from another source and
> wanted to update systems to SL 5.5.
> This install try was an update and not a new installation.
> There have been a lot of additions to this system, for doing FFT, Power
> Spectral Density, and a lot of signal processing.   Unfortunately /usr has
> expaned beyond our first guess and /usr/local is almost empty.


steven timm has right suggestion, but i believe he missed;

> Since these may not be adjacent partitions.  Is there anyway to expand /usr
> and shrink /usr/local.

so, how about posting your /etc/fstab, and post results of;

 df -B 1024|grep /dev/|sort


do you have any room for an additional large hard drive?

do you have another system that you can mount hard drive that you are
having space problems with?


no further commitment or comments until you reply to above, as it will
determine how to proceed.


-- 

peace out.

tc,hago.

g
.


in a free world without fences, who needs gates.
**
help microsoft stamp out piracy - give linux to a friend today.
**
to mess up a linux box, you need to work at it.
to mess up an ms windows box, you just need to *look* at it.
**
learn linux:
'Rute User's Tutorial and Exposition' http://rute.2038bug.com/index.html
'The Linux Documentation Project' http://www.tldp.org/
'LDP HOWTO-index' http://www.tldp.org/HOWTO/HOWTO-INDEX/index.html
'HowtoForge' http://howtoforge.com/




signature.asc
Description: OpenPGP digital signature