Re: How to locate which hard drive having certain program?
"HL" <[email protected]>
| Newsgroups | gmane.linux.redhat.release.enigma |
|---|---|
| Message-ID | <005901c2e8f8$6b1fe120$6601a8c0@oemcomputer> |
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 ----- Original Message ----- From: "jdow" <[email protected]> To: <[email protected]> Sent: Wednesday, March 12, 2003 3:59 PM Subject: Re: How to locate which hard drive having certain program? > 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" > 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 > > > > > > _______________________________________________ > enigma-list mailing list > [email protected] > https://listman.redhat.com/mailman/listinfo/enigma-list