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

"jdow" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <[email protected]>
From: "HL" <[email protected]>

> Here is data for fdisk -l /dev/sda
>
> Disk /dev/sda: 255 heads, 63 sectors, 15017 cylinders
> Units = cylinders of 16065 * 512 bytes
>
>    Device Boot    Start       End    Blocks   Id  System
> /dev/sda1   *         1         7     56196   83  Linux
> /dev/sda2             8       135   1028160   82  Linux swap
> /dev/sda3           136      1410  10241437+  83  Linux
> /dev/sda4          1411     15017 109298227+   5  Extended
> /dev/sda5          1411      2685  10241406   83  Linux
> /dev/sda6          2686     15017  99056758+  83  Linux
>
> I didn't find any /usr/large at the server. When the Linux system was
> installed, document root is /var/www/html/. So these user account was
> created under the directory, not /home/ directory. We would like to extend
> disk space for FTP uploading

I didn't expect you would. That is a convention I use for myself. It just
popped into my mind as an example.

Now figure out where /dev/sda6 is mounted. That's your nearly 100G
partition. You can "cat /etc/fstab" to find it. It is pretty clear
that the report for the size of the /dev/sda3 partition, apparently
your root partition from prior postings, that it is only a 10G
partition as is /dev/sda5, where ever it is mounted. With Red Hat
type conventions I'd hazard a guess that /dev/sda5 and /dev/sda6 are
two of the set "/usr", "/home". or "/var". But such guesses are not
particularly valuable. Actually looking them up, particularly the
larger one, in "/etc/fstab" will tell you where the bulk of your
free space may reside. Once that is determined you can adapt your
system as needed by your application that needs 100G or so of
storage space.

{^_^}
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.