Re: Out of partition space
- From: Chris Ridd <chrisridd@xxxxxxx>
- Date: Fri, 19 Jun 2009 21:27:11 +0100
On 2009-06-19 21:06:11 +0100, ThanksButNo <no.no.thanks@xxxxxxxxx> said:
On Jun 19, 12:49 pm, i5mast <mstrum...@xxxxxxxxx> wrote:On Jun 18, 8:09 pm, Howard Huntley <hhuntle...@xxxxxxxxxxx> wrote:
As I was installing patches on my Sun Blade 100 I received an error
message stating that I was out of disk space. I continued to install
the patches and updates, Upon rebooting the system would not reload.
The O/S. The system went to OK prompt. I have plenty space on 2 80 gig
drive. How can I go in and expand the partition so the O/S will load
at boot time without my having to reinstalling the solaris O/S.
Disk space problems usually come from /var partition being filled up.
If /var does not have a separate partition then /usr partition is used
up. The easiest way to do is to move /var folder to a partition that
has enough space.
# mv /var /export/home/var
Then mount this new folder as /var local filesystem (lofs). In /etc/
vfstab, add the following entry:
#device device mount FS
fsck mount mount
#to mount to fsck point type pass at
boot options
#
/export/home/var - /var lofs - yes -
If you had set up /var as a partition then you will have to remove
that mount point from /etc/vfstab.
Now this does not guarantee that your system will boot up. You may
still need to remove some patches.
That's neat, I didn't know you could it do it that way. I always
thought column 1 was for disk devices.
Still, I'd prefer to use a symbolic link:
cd /
ln -s export/home/var
I believe it will work as well as you'd like, without affecting
any patches.
I should also point out that with the new conventions in Solaris 10,
/opt is another partition that is likely to fill up. Every time you
add a new package, it wants to add itself to /opt. E.g., /opt/sybase,
/opt/apache, etc. If you didn't plan ahead, /opt will be in the
too-small root partition.
Same solution, tho. Move it to a partition with enough space and
create the symbolic link.
I thought using loopback mounts (lofs) was more robust than symlinks in the face of broken package install scripts?
--
Chris
.
- Follow-Ups:
- Re: Out of partition space
- From: ThanksButNo
- Re: Out of partition space
- References:
- Out of partition space
- From: Howard Huntley
- Re: Out of partition space
- From: i5mast
- Re: Out of partition space
- From: ThanksButNo
- Out of partition space
- Prev by Date: Re: Out of partition space
- Next by Date: Re: Does this machine have a spare disk ?
- Previous by thread: Re: Out of partition space
- Next by thread: Re: Out of partition space
- Index(es):
Relevant Pages
|