Re: Out of partition space



Hi,

ThanksButNo wrote:
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.

<:-(
I would say avoid symlinks whenever possible, thats a old dirty fix for a problem from old times.

That is also one thing about ZFS I miss, no lofs instead one have to remount the fs but then it "disapears" from the original location (:

lofs makes it a easy to have the same filesystem on the servere as on the clients se below where tools is to be mounted in /opt/tools on all machines.

/export/u1/opt/tools/SunOS/5.10/Sparc
/export/u1/opt/tools/SunOS/5.10/i386

The if the server is a Sparc you lofs /export/u1/opt/tools/SunOS/5.10/Sparc -> /opt/tools

And the clients mounts /export/u1/opt/tools/SunOS/5.10/Sparc if they are a sparc to /opt/tools or i386


/michael

.



Relevant Pages

  • 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 ... fsck mount mount ...
    (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: 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)
  • Brief Report: IBM/Lenovo z60t notebook with FreeBSD
    ... After chatting with Bjoern Zeeb, I concluded that I would leave XP on the notebook, as well as the IBM maintenance partition. ... The advantage to keeping these around is that it makes it possible to pick up useful things like BIOS updates, and possibly makes getting support easier when things go horribly wrong. ... Over the last two days, I've worked with Eric Anholt and Sam Leffler to try and track down the sources of these problems, and I'm pleased to report both are now resolved (when running with their patches). ... In order to get the X11 bits working, I updated to 7-CURRENT, and applied a set of patches provided by Eric over the latest DRM drop he committed a few days ago. ...
    (freebsd-current)
  • Re: Relabel partition didnt work
    ... > You're confusing disk lables with mount points. ... > When installing etch, at some point partman asked for a mount point for ... > that partition and I entered /xyz. ... There's nothing to do to the second hard disk. ...
    (Debian-User)