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

"HL" <[email protected]>
Newsgroups gmane.linux.redhat.release.enigma
Message-ID <009801c2e904$3c36a3b0$6601a8c0@oemcomputer>
> 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

> 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.


Here is data for /etc/fstab

LABEL=/                 /                       ext2    defaults        1 1
LABEL=/boot             /boot                   ext2    defaults        1 2
none                    /dev/pts                devpts  gid=5,mode=620  0 0
LABEL=/home             /home                   ext3    defaults        1 2
none                    /proc                   proc    defaults        0 0
none                    /dev/shm                tmpfs   defaults        0 0
LABEL=/var              /var                    ext2    defaults        1 2
/dev/sda2               swap                    swap    defaults        0 0
/dev/cdrom              /mnt/cdrom              iso9660
noauto,owner,kudzu,ro 0 0
/dev/fd0                /mnt/floppy             auto    noauto,owner,kudzu 0
0

I am not sure which one has the bulk of my free space.  In addition, if the
biggest free space is not located at document root like /var/www/html/ ,
then when they upload big files like 50 GB of files, how to be accessed
through web site ?

Thanks
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.