Users can save to Linux Suse 8.2 using Samba 2.2.7a-58
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
Users CAN'T save to Linux Suse 8.2 using Samba 2.2.7a-58
Hi, I'm just new to this forum and this is the first linux forum I joined. I hope someone out there can help me with my problem.
I have converted my HP-Compaq D220 2.4Ghz, 40Gb HDD, 256Mb ram from Windows XP to Linux Suse 8.2
I have also installed samba 2.2.7a, this is included in the installation CD of suse. After configuring the smb.conf i have tested the connectivity from other Winxp machines to the new samba. It worked fine, but i have to include the ipadd and hostname of the Linux box to the lmhosts file of those winxp for them to be able to see the Linux server, but that's another problem.
The real problem is, I have atleast 30Gb total diskspace in the /home. In /home, i have created 4 directories, dir1, dir2, dir3...etc. my office mates had a great time using the linux server as a mean for storing files. Now, they can't save any files, but when i looked at the linux server, it still has 18.9Gb of free diskspace. Before this happened, i tried experimenting on the QUOTA package software included in the CD installation. The QUOTA software I installed was version 3.08-27 and was made by sourceforge.
I tried saving files to the directory where they are denied of diskspace. I logged in as root and the root account can save but the other users cannot.
Since i really don't know how to open an installed software to Linux, I tried giving commands to the shell prompt like quotaon -avug, insmod quota_v1, insmod quota_v2, but nothing happened. I was expecting a new window will pop up and make it easier for me to do the quota. I didn't do anything in the fstab. Can someone help me with the disk saving problem and how to run the quota in windows style?
There are a few commands you can use to manipulate quotas:
quotaon and quotaoff are for turning quotas on and off. This is done on a per filesystem. An easy thing for you to do is run quotaoff -a, which will turn off disk quotas in all filesystems. The repquota command tells you where the quotas are set and how much space each user is using. See the man page of each of these commands for more details.
Also, make sure that the users have write priviliges to the Samba share. Check the security settings in the smb.conf files.
Thanks for the reply, I panicked and I forgot the man pages. Now I turned off the quota. I used the command "quotaoff -avug" I hope that works.
here's the share dir config from the smb.conf
[dir1]
path = /home/dir1
valid users = root pompiang user1 user2 user3
read only = no
[dir2]
path = /home/dir2
valid users = root pompiang user2
read only = no
[dir3]
path = /home/dir3
valid users = root pompiang user3
read only = no
Note: users pompiang, user1, user2 and user3 can't save files to all directories except for the root account, but that was after I ran the "quotaon -avug" command.
I cant really understand the man pages when I read the quotaon Help. What is XFS and NFS? Can you give a real example how to give quota?
Scenario 1: I would like to give disk quota over dir1 only with a limit of 4Gb. What commands should I use? How can I see that it is already implemented?
Scenario 2: How can I give user1 a quota of 1Gb, again what exact commands should I use and How could I see it's working?
Anthoer thing, what's the use of smbfstab
I hope Im not asking too much, but I really need some help. Best Regards.
See the man page for edquota -- it should be a bit more comprehensible. In any case run:
edquota <user>
The edquota program will open a text file. For each filesystem, there are four columns, block soft limit, block hard limit, inode soft limit, and inode hard limit. Edit these values to your liking, save the file, and quit. You can use 'repquota -a' to see if anyone's bad and hit their limit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.