Re: How to locate which hard drive having certain program?

"jdow" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
What does "fdisk -l /dev/sda" show for the partitioning data?
It appears that the root partition on your system is only
10G. So you're not going to put anything more than that onto the
/dev/sda3 partion. If something like say "/usr/large" exists and
is 100G in size then you can upload maybe 90G to it as a user and
100G as root. (That difference is the safety ripcord. I'm not sure
what the precise percentage is, though.)

Also note the correction I posted to Oisin. When using the df tool
use only the path name. It doesn't like it when you use file names.

{^_^}
----- Original Message ----- 
From: "HL" <[email protected]>
To: <[email protected]>
Sent: Wednesday, March 12, 2003 15:04 PM
Subject: Re: How to locate which hard drive having certain program?


> Thanks for information. Here is my data
>
> Filesystem           1k-blocks      Used Available Use% Mounted on
> /dev/sda3             10080520   1568016   8000436  17% /
>
> A drive should 120 GB, it seems that people only allow to upload file upto
> 10 GB for the account via FTP. Need to do something to increase like 100
GB
> or whatever ?
>
>
> ----- Original Message -----
> From: "jdow" <[email protected]>
> To: <[email protected]>
> Sent: Wednesday, March 12, 2003 12:36 PM
> Subject: Re: How to locate which hard drive having certain program?
>
>
> > From: "Oisin C. Feeley" <[email protected]>
> > > On Wed, 12 Mar 2003, HL wrote:
> > >
> > > >Just accept a new Linux system. How to find how many hard drives the
> > server
> > > >has ?
> > >
> > > dmesg | egrep hd[:alpha:]
> > >
> > > How to find which kind of programs is located which hard drives ?
> > >
> > > which <programname>    \
> > >                           +--------  match up the outputs from these
> > > more /etc/fstab          /           to find which partition a prorgam
> > >                                      is on.  The partitions are named
> > >                                      according to a scheme which
allows
> > >                                      you to tell which drive they are
> > >                                      on.  hda == 1st IDE drive etc.
> > >
> > > Read the documentation about partition/drive naming schemes and then
you
> > > should have enough information with what I've given you here.
> >
> > Easier
> > which <programname>
> > df <program's path from the which results>
> >
> > eg
> > [YYYY@XX ~]$ which Mail
> > /usr/bin/Mail
> > [YYYY@XX ~]$ df /usr/bin
> > Filesystem           1k-blocks      Used Available Use% Mounted on
> > /dev/hda9              5044156   2351092   2436832  50% /usr
> > [YYYY@XX ~]$
> >
> > This has the handy side effect of telling you some additional useful
data.
> >
> > {^_-}
> >
> >
> >
> > _______________________________________________
> > enigma-list mailing list
> > [email protected]
> > https://listman.redhat.com/mailman/listinfo/enigma-list
>
>
>
> _______________________________________________
> enigma-list mailing list
> [email protected]
> https://listman.redhat.com/mailman/listinfo/enigma-list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.