Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
11-22-2004, 05:34 AM
|
#1
|
Member
Registered: Jul 2004
Location: Harare, Zimbabwe
Distribution: Redhat 9 (Shrike) Kernel 2.4.20-31.9
Posts: 37
Rep:
|
Samba Share Size
Hi All
I've set up a Samba share for 5 XP Users. I managed to get everything working fine, until I started filling up my shared folders.
On my Linux Box, I have a 40 Gb HD, with Fedora Core 2, Squid and Samba, but when I copy my music folder (3Gb) to the Linux box, it says there is not enough disk space.
Any Ideas?
Thanks in advance
R :-)
 the manual
|
|
|
11-22-2004, 05:52 AM
|
#2
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
depends how your partitions are set up. remember that the 40gb is going to (hopefully) be subdivided into a number of areas, which aren't able to share space between them, e.g. /home, /usr, /boot, / etc...
|
|
|
11-22-2004, 05:59 AM
|
#3
|
Member
Registered: Jul 2004
Location: Harare, Zimbabwe
Distribution: Redhat 9 (Shrike) Kernel 2.4.20-31.9
Posts: 37
Original Poster
Rep:
|
Agreed, but I surely have about 36Gb to play with after my /home, /boot etc areas have been created. I've set squid to use 200mb in my squid.conf but that's it.
|
|
|
11-22-2004, 07:09 AM
|
#4
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
this was were you were meant to show your partition table to us... "fdisk -l" after you /home etc... are created the rest will be unpartitioned... unless / is using it all up by default. but you need to provide some useful information for us to comment...
|
|
|
11-22-2004, 07:25 AM
|
#5
|
Member
Registered: Jul 2004
Location: Harare, Zimbabwe
Distribution: Redhat 9 (Shrike) Kernel 2.4.20-31.9
Posts: 37
Original Poster
Rep:
|
Oops.... only 20 Gb...
Disk /dev/hda: 20.0 GB, 20020396032 bytes
16 heads, 63 sectors/track, 38792 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 4063 2047720+ 83 Linux
/dev/hda2 4064 7111 1536192 82 Linux swap
/dev/hda3 7112 10159 1536192 83 Linux
[root@router root]# Disk /dev/hda: 20.0 GB, 20020396032 bytes
16 heads, 63 sectors/track, 38792 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes
Hope that makes sense to you.
R
|
|
|
11-22-2004, 08:12 AM
|
#6
|
Moderator
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417
|
ok, and where is the sahre you are trying to write too? how much free space is in that partition (use df) ?
|
|
|
11-22-2004, 08:16 AM
|
#7
|
Member
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356
Rep:
|
Show also the post for:
# df -h
This is your exact disk utilizations that corresponds to your partitions in human readable output.
|
|
|
11-22-2004, 08:17 AM
|
#8
|
Member
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356
Rep:
|
Sorry, I mean post the output for "df -h".
|
|
|
11-22-2004, 09:10 AM
|
#9
|
Member
Registered: Jul 2004
Location: Harare, Zimbabwe
Distribution: Redhat 9 (Shrike) Kernel 2.4.20-31.9
Posts: 37
Original Poster
Rep:
|
Here's my df -h output:
[root@router root]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/hda1 2.0G 1.9G 17M 100% /
none 30M 0 30M 0% /dev/shm
/dev/hda3 1.5G 219M 1.2G 16% /var
To make the folders I'm sharing, I went
cd /
mkdir /data/mp3
So would I be right in assuming it's on hda1 ???
Thanks so far for your patience :-)
|
|
|
11-22-2004, 10:06 AM
|
#10
|
Member
Registered: Jun 2004
Location: Metro Manila, Philippines
Distribution: Linuxmint, Slackware
Posts: 356
Rep:
|
It's because your / partition (/dev/hda1) is just 2GB and there is only 17Mb (0.017G) available currently. Resize your disk and reinstall everything. Backup your important config files and data.
For partitioning tips I can refer you to Debian's site:
http://www.debian.org/releases/stab...ng.en.html#s6.4
Just make your swap at least twice your RAM
|
|
|
11-25-2004, 02:36 PM
|
#11
|
Member
Registered: Jul 2004
Location: Harare, Zimbabwe
Distribution: Redhat 9 (Shrike) Kernel 2.4.20-31.9
Posts: 37
Original Poster
Rep:
|
Thanks
Have reloaded now and all seems fine.
R :-)
|
|
|
All times are GMT -5. The time now is 08:37 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|