|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
mounting issues???
Hello...i am some What new to freeBSD ( and to open source in general). here is my problem
I am wanting to know a way to restart the drive mountings. When I edit the fstab file I have to reboot for the changes to take effect? Is there a command to restart the drive mounting process? P.S: i think if i do sudo mount -a, this will should do the trick, however, when i did this it gave me an error message saying, permission denied"[tcp] operations:/var/log/ehds/combinedServerLogs: Permission denied" all the permissions for the mount folders are set to true. P.S 2:# in case you guys need more info here you go. Please help as i am completly stuck! Device Mountpoint FStype Options Dump Pass# /dev/da0s1b none swap sw 0 0 /dev/da0s1a / ufs rw 1 1 /dev/da0s1d /var ufs rw 2 2 /dev/da1s1d /clients ufs rw 3 3 /dev/acd0 /cdrom cd9660 ro,noauto 0 0 # {NFS}-->Operations /usr/{src,ports} [HH] 20071204 operations:/usr/guests/src /usr/src nfs rw,tcp 0 0 operations:/usr/ports /usr/ports nfs rw,tcp 0 0 operations:/var/log/ehds/combinedServerLogs /var/log/ehds/combinedServerLogs nfs rw,tcp 0 0 and usage: fdisk [-BIaipstu] [-b bootcode] [-1234] [disk] fdisk -f configfile [-itv] [disk] ------------------------------------------------------ /dev/da0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/da0s1d on /var (ufs, local, soft-updates) operations:/usr/guests/src on /usr/src (nfs) /dev/da1s1d on /clients (ufs, local, soft-updates) operations:/usr/ports on /usr/ports (nfs) Thanks |
|
|||
the mount -a command does some sortof a restart to the fstab file, but i run that command it gives me an error message pointing at the line that i entered into the fstab file saying PERMISION DENIED??????
please help as this problem is driving me crazy! |
|
|||
Yes, i am running as root
|
|
|||
Can any body help
|
|
|||
non of thoes commands worked...here is a list of the things that i tryed
[mustafa@ngdev1 ~]$ mount -u -o OPTIONS /dev/SLICE mount: not currently mounted /dev/SLICE [mustafa@ngdev1 ~]$ mount -u -o rw / mount: /dev/da0s1a: Operation not permitted [mustafa@ngdev1 ~]$ mount -u -o rw /dev/ad0s1a mount: not currently mounted /dev/ad0s1a [mustafa@ngdev1 ~]$ mount -u -o rw /operations:/var/log/ehds/combinedServerLogs mount: not currently mounted /operations:/var/log/ehds/combinedServerLogs [mustafa@ngdev1 ~]$ mount -u -o rw operations:/var/log/ehds/combinedServerLogs mount: not currently mounted operations:/var/log/ehds/combinedServerLogs Any other ideas?? |
|
||||
Looks that you are not running those commands as root. Try running them after typing the following command:
Code:
$ su - Password: #
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
|||
I got the same exact errors as the user did....it sounds like a simple fix but yet i can not figure it out...
|
|
|||
[root@ngdev1 ~]# echo $USER
root I dont understand(sorry but i am new to freeBSD) i created a directory on one server and i am trying to mount it on another server, i edited the fstab file that does the mounting and with the command mount -a i should be able to reload the fstab file to create the new mounting points that i have created; but insted it keeps giving me a permission denied message(i am running as root). and i am not sure what you mean with slice and how that fits into this problem, again sorry for the dumb question but i am running freeBSD and i am new to it. |
|
||||
For better understanding of slices: http://www.freebsd.org/doc/en_US.ISO...ISK-SLICE-PART
On your machine "operations", I suppose you have your NFS server configured. Is your client machine (the one you are running the mount from) allowed to connect in your "exports" file of the NFS server?
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction." |
|
||||
Operation not permitted
means that the operation is not permitted for whatever reason. One of them can be to attempt to mount a label which has not been marked clean, and this is not permitted. Simply do a fsck and try again.
__________________
da more I know I know I know nuttin' |
|
||||
Quote:
he have no rights to change disk permissions on remote disk, cause he's not sysadmin on that machine |
|
||||
Quote:
|
|
|||
I got it to work, apparently there was another file called export that sets up permissions that i needed to edit. Thanks and i will let you guys know if i have other quesitons
|
Tags |
/etc/fstab, mount |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
USB icon after mounting | andycapp | FreeBSD General | 0 | 23rd October 2008 10:40 PM |
Weird NAT issues | EvanED | FreeBSD General | 3 | 11th July 2008 11:02 PM |
Mounting | sniper007 | FreeBSD General | 7 | 2nd July 2008 06:50 AM |
mounting UFS | hirohitosan | Other BSD and UNIX/UNIX-like | 2 | 27th June 2008 02:40 PM |
KVM issues | lil_elvis2000 | FreeBSD General | 5 | 9th June 2008 07:55 PM |