Re: Out of partition space



On Jun 19, 1:27 pm, Chris Ridd <chrisr...@xxxxxxx> wrote:
On 2009-06-19 21:06:11 +0100, ThanksButNo <no.no.tha...@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?


I don't know -- you broke over my knowlege barrier --

My quick research on the topic only shows it in reference
to mounting ISO images, so I'm entirely clueless.

<:-(
.



Relevant Pages

  • Re: Out of partition space
    ... the patches and updates, Upon rebooting the system would not reload. ... If /var does not have a separate partition then /usr partition is used ... Then mount this new folder as /var local filesystem (lofs). ...
    (comp.unix.solaris)
  • Re: Out of partition space
    ... the patches and updates, Upon rebooting the system would not reload. ... How can I go in and expand the partition so the O/S will load ... If /var does not have a separate partition then /usr partition is used ... Then mount this new folder as /var local filesystem. ...
    (comp.unix.solaris)
  • Re: Out of partition space
    ... the patches and updates, Upon rebooting the system would not reload. ... How can I go in and expand the partition so the O/S will load ... Disk space problems usually come from /var partition being filled up. ...
    (comp.unix.solaris)
  • Re: Out of partition space
    ... How can I go in and expand the partition so the O/S will load ... Disk space problems usually come from /var partition being filled up. ... Then mount this new folder as /var local filesystem. ...
    (comp.unix.solaris)
  • Re: Problem with random disks mount sequence
    ... I'll get random mount sequences. ... At the beginning the USB ... nautilus remember that 'storage3' was 1st partition, ... SCSI drives are listed by order of discovery. ...
    (Fedora)