Sponsored Content
Full Discussion: fstab question
Top Forums UNIX for Dummies Questions & Answers fstab question Post 302253255 by Katkota on Friday 31st of October 2008 09:22:35 AM
Old 10-31-2008
Thanks Annihilannic

We're using Samba. so i guess i will have to change smb.conf
 

10 More Discussions You Might Find Interesting

1. Linux

/etc/fstab

I've created a new drive and i've added it to my fstab file but on startup it will not mount. here is how i put it into my fstab file, is that right? /dev/hdb2 /disk2a ext3 defaults 1 2 (6 Replies)
Discussion started by: byblyk
6 Replies

2. HP-UX

bdf , /etc/fstab , /etc/mnttab

Hi all, Would like to know if it is possible to rearrange the order that mounts are displayed when the 'bdf' command is issued. An example of what I mean is, currently I see the following ... $ bdf -l Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 524288 ... (6 Replies)
Discussion started by: Cameron
6 Replies

3. UNIX for Dummies Questions & Answers

FSTAB Problem

Hello, I transferred a machine from a tape back into a virtual machine. I created several paritions so I could xfter the date into them and made sda1 the active one. When I try and boot the VM it does not work. I used KNOPPIX to create the partitions and transfer the information from the tape... (1 Reply)
Discussion started by: mojoman
1 Replies

4. Red Hat

Using a variable in fstab

We have a load of servers which require cloning in VMWare, each of which have their own area on netapp for storage. I was trying to be a bit clever and use a variable within /etc/fstab so I dont need to edit it every time like so; netapp:/vol/vol_nfs_server/servers/`hostname | sed 's/\./ /g' |... (1 Reply)
Discussion started by: JayC89
1 Replies

5. UNIX for Dummies Questions & Answers

fstab

hi , i'm creating a shell script using fstab for my project of last year, i wonder you can help me to know what is the command allow me to get the list of unmounted partitions. thanks (4 Replies)
Discussion started by: Linux001
4 Replies

6. Ubuntu

fstab question

I have created a thumbdrive with a bootable version of Ubuntu 10.04 LTS, it uses Grub legacy. One of the issues I have is that everytime I boot a new system from the thumbdrive, it writes entries for the partitions in the fstab. Consequently, when I boot another system, the OS reads the fstab... (2 Replies)
Discussion started by: stumpyuk
2 Replies

7. Red Hat

Mount /etc/fstab

Can you please help me mount below filesystem in fstab ( I have rhel 5 ) as the line is long - it is not taking as single line How can break this in 2 line and act as one ....please help ... (4 Replies)
Discussion started by: saurabh84g
4 Replies

8. Shell Programming and Scripting

Mount/fstab Question . . .

Greetings! Got another basic question for the community :) After wiping a drive with dd, and calling mkfs.ext4 to set things up again, fstab seems to need to be refreshed somehow to allow a call to mount for the volume. What might the "secret handshake" be to pull this off without first... (6 Replies)
Discussion started by: LinQ
6 Replies

9. UNIX for Dummies Questions & Answers

/etc/fstab mount issue

I have a virtual machine with Redhat installed . I am trying to link CD/DVD Drive 1 to /media/cdrom1 and CD/DVD Drive 0 to /media/cdrom0 I tried making these changed in /etc/fstab by adding the below line to it /dev/sr0 /media/cdrom0 iso9660 user,noauto,exec,utf8 0 0... (2 Replies)
Discussion started by: walterthered
2 Replies

10. Linux

/etc/fstab entries

Hi, Can anyone explain why we use defaults 0 0 in fstab and what does 0 inidicate 10.250.104.50:/home/u /home/u nfs defaults 0 0 Thanks in advance Muzaffar (3 Replies)
Discussion started by: muzaffar.k
3 Replies
TESTPARM(1)							   User Commands						       TESTPARM(1)

NAME
testparm - check an smb.conf configuration file for internal correctness SYNOPSIS
testparm [-s] [-h] [-v] [-L <servername>] [-t <encoding>] {config filename} [hostname hostIP] DESCRIPTION
This tool is part of the samba(7) suite. testparm is a very simple test program to check an smbd(8) configuration file for internal correctness. If this program reports no problems, you can use the configuration file with confidence that smbd will successfully load the configuration file. Note that this is NOT a guarantee that the services specified in the configuration file will be available or will operate as expected. If the optional host name and host IP address are specified on the command line, this test program will run through the service entries reporting whether the specified host has access to each service. If testparm finds an error in the smb.conf file it returns an exit code of 1 to the calling program, else it returns an exit code of 0. This allows shell scripts to test the output from testparm. OPTIONS
-s Without this option, testparm will prompt for a carriage return after printing the service names and before dumping the service definitions. -h|--help Print a summary of command line options. -V|--version Prints the program version number. -L servername Sets the value of the %L macro to servername. This is useful for testing include files specified with the %L macro. -v If this option is specified, testparm will also output all options that were not used in smb.conf(5) and are thus set to their defaults. -t encoding Output data in specified encoding. --parameter-name parametername Dumps the named parameter. If no section-name is set the view is limited by default to the global section. It is also possible to dump a parametrical option. Therfore the option has to be separated by a colon from the parametername. --section-name sectionname Dumps the named section. configfilename This is the name of the configuration file to check. If this parameter is not present then the default smb.conf(5) file will be checked. hostname If this parameter and the following are specified, then testparm will examine the hosts allow and hosts deny parameters in the smb.conf(5) file to determine if the hostname with this IP address would be allowed access to the smbd server. If this parameter is supplied, the hostIP parameter must also be supplied. hostIP This is the IP address of the host specified in the previous parameter. This address must be supplied if the hostname parameter is supplied. FILES
smb.conf(5) This is usually the name of the configuration file used by smbd(8). DIAGNOSTICS
The program will issue a message saying whether the configuration file loaded OK or not. This message may be preceded by errors and warnings if the file did not load. If the file was loaded OK, the program then dumps all known service details to stdout. VERSION
This man page is correct for version 3 of the Samba suite. SEE ALSO
smb.conf(5), smbd(8) AUTHOR
The original Samba software and related utilities were created by Andrew Tridgell. Samba is now developed by the Samba Team as an Open Source project similar to the way the Linux kernel is developed. The original Samba man pages were written by Karl Auer. The man page sources were converted to YODL format (another excellent piece of Open Source software, available at ftp://ftp.icce.rug.nl/pub/unix/) and updated for the Samba 2.0 release by Jeremy Allison. The conversion to DocBook for Samba 2.2 was done by Gerald Carter. The conversion to DocBook XML 4.2 for Samba 3.0 was done by Alexander Bokovoy. Samba 3.5 06/18/2010 TESTPARM(1)
All times are GMT -4. The time now is 09:38 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy