[SunHELP] Netra X1 Filesystem Full

Ben Ricker sunhelp at sunhelp.org
Tue Nov 6 13:44:11 CST 2001


Weird. Check this out:

The output of df -k:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/dsk/c0t0d0s0     245679  157478   63634    72%    /
/dev/dsk/c0t0d0s6    2055463 1016924  976876    52%    /usr
/proc                      0       0       0     0%    /proc
fd                         0       0       0     0%    /dev/fd
mnttab                     0       0       0     0%    /etc/mnttab
/dev/dsk/c0t0d0s5    2055463   63392 1930408     4%    /var
swap                 1125576       8 1125568     1%    /var/run
swap                  102400      16  102384     1%    /tmp
/dev/dsk/c0t0d0s7    33049606      38 32719072     1%    /export/spare

The output of format --> partition --> print:

Part      Tag    Flag     Cylinders         Size            Blocks
  0       root    wm       0 -   128      256.99MB    (129/0/0)     526320
  1       swap    wu     129 -   643        1.00GB    (515/0/0)    2101200
  2     backup    wu       0 - 19155       37.27GB    (19156/0/0) 78156480
  3 unassigned    wu       0                0         (0/0/0)            0
  4 unassigned    wu       0                0         (0/0/0)            0
  5        var    wm     644 -  1672        2.00GB    (1029/0/0)   4198320
  6        usr    wm    1673 -  2701        2.00GB    (1029/0/0)   4198320
  7       home    wm    2702 - 19155       32.01GB    (16454/0/0) 67132320


Note that home says it has 32GB but it is mounted as '/export/spare'?
What the heck is that? I had root filled because as of right now, the
/home partition is a part of /, hence it fills up really quickly. Looks
like Sun's factory install is messed up? Don't they usually make /home
huge? I will adjust /etc/vfstab....unless I am courageous and I grow /
and /usr.....

Ben Ricker
System Administrator
Wellinx.com


On Tue, 2001-11-06 at 12:59, Bruce Pullig wrote:
> Check /dev/rmt for improper use of tar/dump.   I've been able to free a lot 
> of space before caused by other SysAdmins logging in as root and running:
> tar cvf /dev/rmt/0nb ./stuff
> Which will create a huge file, instead of dumping it to tape.
> 
> At 12:32 PM 11/6/2001, you wrote:
> >On Tue, 2001-11-06 at 11:53, Steve Wingate wrote:
> > > Oooh, I really wouldn't move a binary dir. There has to something else 
> > you can move. How large is / and what's on it? I'm working quite happily 
> > with a 100MB /.
> >
> >I am not doing that. I called Sun and they were most unhelpful: the tech
> >did not know that /bin is really linked to /usr/bin.
> >
> >I just started going through filesystems figuring out which was mounted
> >as root and what was not and then finding unneeded files and deleting
> >them. I freed up 30% of the disk, which is not bad. I should probably
> >also check the partition table to see if they left any unallocated
> >space...
> >
> >Thanks for all the help!
> >
> >Ben Ricker
> >System Administrator
> >Wellinx, Inc.
> >
> > >
> > > On 06 Nov 2001 10:09:06 -0600
> > > "Ben Ricker" <bricker at wellinx.com> wrote:
> > >
> > > > Has anyone ever moved a directory like /bin to another partition and
> > > > then made a linnk from /bin to the moved directory? I wonder if that
> > > > will break anything?
> > > >
> > > > Ben Ricker
> > > > System Administrator
> > > > Wellinx.com
> > > >
> > > >
> > > > On Tue, 2001-11-06 at 09:51, Fletcher, Joe wrote:
> > > > >
> > > > > Usual place to start checking is /var and further probably /var/adm 
> > assuming
> > > > > var in is / and has not been put in a partitin on it's own.
> > > > >
> > > > > Good hunting.
> > > > >
> > > > >
> > > > > -----Original Message-----
> > > > > From: Ben Ricker [mailto:bricker at wellinx.com]
> > > > > Sent: 6 November 2001 15:52
> > > > > To: Sun Help List
> > > > > Subject: [SunHELP] Netra X1 Filesystem Full
> > > > >
> > > > >
> > > > > My root partition is full on a Netra X1 which was partitioned at the
> > > > > factory (rather horribly, I might add). I know someone posted the find
> > > > > command that will allow to sort large files. What was that again (I
> > > > > searched SunHelp but no joy)?
> > > > >
> > > > > Also, there are a lot of stuff in /bin. How can find out what package
> > > > > installed a given binary? I tried pkginfo piped through grep but 
> > came up
> > > > > empty. I started removing all the "foreign" language support but 
> > that is
> > > > > all in /usr, a separate partition.
> > > > >
> > > > > Thanks,
> > > > >
> > > > > Ben Ricker
> > > > > System Administrator
> > > > > Wellinx, Inc.
> > > > >
> > > > >
> > > > >
> > > > > _______________________________________________
> > > > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > > > >
> > > > >
> > > > > MetaPack
> > > > > The Lightwell
> > > > > 12/16 Laystall Street
> > > > > Clerkenwell
> > > > > London EC1R 4PF
> > > > > Tel: +44 (0) 20 7843 6720
> > > > > Fax: +44 (0) 20 7843 6721
> > > > > 
> > --------------------------------------------------------------------------
> > > > > This email is confidential and proprietary;
> > > > > all information contained in it must be used only by the addressee in
> > > > > accordance with MetaPack's terms of business and non-disclosure 
> > agreement.
> > > > > Disclosure, copying, and distribution to, or use by, anyone other 
> > than the
> > > > > intended recipient is strictly prohibited and may be unlawful.
> > > > > _______________________________________________
> > > > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > > > >
> > > >
> > > >
> > > > _______________________________________________
> > > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > >
> > >
> > > +---------------------------------------------------------------------+
> > > |Steve Wingate <stevew at velosystems.net>                  310.544.9920 |
> > > |MCSE, CCNA, no JOB                      Tue Nov  6 09:17:00 PST 2001 |
> > > +---------------------------------------------------------------------+
> > > |FreeBSD 4.4-STABLE
> > > | 9:17AM  up 2 days, 22:32, 5 users, load averages: 0.04, 0.08, 0.04
> > > +---------------------------------------------------------------------+
> > > _______________________________________________
> > > SunHELP maillist  -  SunHELP at sunhelp.org
> > > http://www.sunhelp.org/mailman/listinfo/sunhelp
> > >
> >
> >
> >_______________________________________________
> >SunHELP maillist  -  SunHELP at sunhelp.org
> >http://www.sunhelp.org/mailman/listinfo/sunhelp
> 
> -- 
> * * * * * * * * * * * * * * * * * * * * *
>    Bruce Pullig
>    Senior Systems Administrator
>    Schlumberger Oil & Gas Information Solutions
>    Data Management Center
>    5444 Westheimer, Suite 800, Houston, TX 77056
>    Phone: 713.350.4217  Fax: 713.350.4102
>    bpullig at slb.com
> * * * * * * * * * * * * * * * * * * * * *
> 
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp
> 





More information about the SunHELP mailing list