Server :: Mounting Remote (NFS) Drive - Adding To Fstab
Oct 25, 2010
From a Fedora 9 server (I think!) I'm trying to mount an nfs drive from a Mac Server. You see, a couple weeks back this was working fine but now there seems to be a problem. I've tried using the mount command and found the following line in the /etc/fstab doc...
Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on nfs defaults 0 0
It was commented so I uncommented it, hoping this would be a quick and easy resolution =). Anyway, it didn't work and when I run mount -av the server timesout. So on the Mac Server, I enabled Samba sharing preferences and tried adding this to fstab,
Code:
<IP ADDRESS>:/remote/nfs/directory /directory/to/mount/on cifs username=name,password=password 0 0
When I run mount -a it hangs. I guess I'm doing everything totally wrong. I can SSH into the MAC Server and use tar, rsync etc with no problem. But I really need this drive to mount as it once use to. It's been suggested to me that the NFS or networking module on the Linux box might be broken.
View 2 Replies
ADVERTISEMENT
Aug 27, 2010
I purchased a new hard drive, plugged it in, formated it, edited fstab to auto mount it, and though it is mounting the drive, it won't allow me write privileges. I can read the drive, but I need root access to write to it. The drive giving me the issue is sdd1. The others, I have no problems with. I can read and write to those without a hitch.
Here is my fstab
Code:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
# /dev/sda1
UUID=5d0ed718-2719-4b28-a031-9ab10f9aa740 / ext3 relatime,errors=remount-ro 0 1
/dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
[Code]...
View 9 Replies
View Related
Aug 15, 2010
I have installed a 2TB drive in my dual PIII 866 with 750MB ram. The drive is properly installed and I have configured the drive with 1 partition in RAID1. The array loads fine, but when I add the entry to mount the /dev/md2 /data/repository the following error occurs The filesystem size according to the superblock is 488378000 blocks The physical size of the device is 488377986 blocks Either the superblock or partition table is likely corrupt I have run fsck manually with no errors reported. I have removed the partition and rebuilt the array. The array assembles properly and I can manually mount the /dev/md2, but as soon as I add the entry to the fstab I get dropped to a shell after a reboot. Not sure where to go now?
View 3 Replies
View Related
Mar 4, 2010
I have a Hard Drive that has a corrupted file system and i have tried the usual MS Windows fixes, chkdsk and a number of recovery tools inc Dos recovery tools and failed.
The Drive is an MS Windows drive with an NTFS file system.
chkdsk scans and after several hours fixing numerous problems eventually gives up and fails to complete.
The directory "My Documents" contains several GB of data and displays that this is true. When trying to access the directory, access is denied because its corrupt. Using Windows and Dos recovery tools i can view the contents of the directory sometimes! but cannot copy out any of the data, the applications return messages saying no can do basically.
I would like to try to use Linux to recover the data.
Problem number one is i have never tried to add a hard drive to an existing Linux system before, how do i go about adding a new drive?
The 2nd problem is, is there a Linux application that i can use to attempt to repair and recover the corrupt data on this drive or more specifically in the "My Documents" directory.
View 7 Replies
View Related
Nov 16, 2010
I want to mount a remote drive on bootup. I'm using FC14 and remote machine is FreeBSD. I've written a shell script to mount it. The script contains only one line:
Code:
mount 192.168.1.33:/home/user7 /media/mc33
I've to run this script from superuser mode to mount the file system(it works). So to mount it at bootup, I added the shell script to my PATH (/home/me/bin) and added it to Menu->System->Preferences->Startup Applications. Well this doesn't work because the root privileges are not present. I tried fixing it by giving root privileges to my shell script
Code:
#chmod +s mount-mc33
but it made no difference.
View 8 Replies
View Related
Jan 31, 2010
The situation is say all I have is a windows machine and I remotely connected via ssh to a Linux machine. Is there a way I can mount my local CD-rom on the remote Linux machine?
View 5 Replies
View Related
Feb 2, 2010
I run a mediaserver on Archlinux, working perfectly (or almost). I have set up NFS v3 and that worked for me on these clients:
- Debian Lenny
- Archlinux 64bit
Now I've upgraded my Lenny-box to squeeze and I see that 2 of my 3 shared folders (tdone and twatch) are mounted like they should and the third one (media) doesn't come up. A 'mount -a' as root gives this error: mount.nfs4: access denied by server while mounting (null) My relevant fstab-lines:
[Code]....
how I can go about debugging this?
View 1 Replies
View Related
Jan 25, 2011
I am using CentOS 5.5 OS. I already install ntfs-3g rpm, but I don't know the command to mount network NTFS drive. I also want to mount it on my fstab file, so whenever it reloads, it can automatically mount on the specific folder.
View 9 Replies
View Related
Dec 18, 2010
I've got a partition on this HDD I want to add to fstab. But how?
I've already read some howtos but still don't understand it.
View 1 Replies
View Related
Apr 23, 2010
I have an external hdd that I have added to the fstab so it will mount when I boot. But every time I add the line to fstab and reboot, it hangs during the boot process and says something about ureadahead-other status 4.
Here is my line in fstab..
/dev/sdc1 /NAS ext3 defaults 0 0
I couldn't remember what fs I chose when I formatted it so I did "sudo parted /dev/sdc print" and it said it was ext3.
View 2 Replies
View Related
May 5, 2010
I'm puzzled as to why this fstab isn't working:
Code:
# /etc/fstab: static file system information.
#
[code]...
View 3 Replies
View Related
Sep 29, 2010
I recently added myself a harddisk with one big ext4 partition on it. I tried to add it to my fstab file like so:
Code:
UUID=c41b529d-77ee-427c-82b3-dff16f2123a2 /media ext4 rw,user,noexec 0 2
But it is not doing what I intended, which was the partition showing up in my Places menu. It also doesn't appear in my /media folder. How to alter the command above so I could have the harddisk open and writable in my Places folder just like my system harddisk?
View 6 Replies
View Related
Jun 23, 2011
I have ubuntu 10.04 LTS installed. I want to mount a windows partition. I can, of course, use fstab. However, I open nautilus and click on the windows partition in the placed panel. How do I use mount (or any other command) to emulate this?
View 6 Replies
View Related
Dec 15, 2009
I have an external hard drive that I use with my laptop and I want it to be mounted at boot. I used YaST to do this by using the Partitioner. I selected the volume, then edited then chose to have the partition mounted at boot.
On next book the computer booted up and mounted the device as I expected but the boot up process took a long time. When I would usually get the desktop I got only a black screen for about one minute, the the desktop finally loads. I tried to reboot a number of times but I still get the same delay.
When I go back and choose to have the hard drive not auto mount and then reboot there is no delay in loading the desktop. So it seems like mounting this device is delaying the loading of my desktop on boot somehow.
Below is the line that is added to my fstab file to auto mount the drive:
View 9 Replies
View Related
Feb 9, 2010
I use Ubuntu 9.04 I have a problem. I have a file, containing ext2 file system ( mke2fs -F ~/fs.ext2 )Is it possible to mount this file by user (not root) without editing fstab and from terminal?
P.S. Using /dev/loopN is not what I need. Maybe, it's possible to use FUSE, is it?
View 1 Replies
View Related
Apr 29, 2010
I just ugraded from karmic, and it all went without a hitch. Except now when i boot i get... Error while mounting /etc/fstab press s to skip or m for manual recovery.
Pressing s works and i have a working machine, but i would like to fix this. Not tried the manual recovery yet as i have no idea about fstab and don't want to break it.
View 9 Replies
View Related
Mar 21, 2010
I have a command line that mounts the disk of my mobile
Code:
It works, but there is a problem with it. Every folder and file has root:root ownership, so I am unable to change anything. Even when I change permissions manually, it does not work.
Now, I want to move this to fstab but have no idea how an fstab line should look like. Obviously, I want to also have rw access to the disk.
View 7 Replies
View Related
May 20, 2010
I have this configuration on my Ubuntu server:
1. Physical HDD1, mounted in /media/MYDATA
2. Physical HDD2, mounted in /media/MYDATA/MYMOVIES
This works, and has all my information. Unfortunately I can not use CIFS to get my data, because of a bug with wireless connection and umounting at shutdown. Until yesterday, I have no problem at all, mounting my NFS unit automatically in /media/MYDATA perfectly. But, when I go to /media/MYDATA/MYMOVIES in my laptops, filesystem is empty. I've included /media/MYMOVIES in the exports file (server) and in the fstab (client) and...it worked!!
But...system does not shutdown at all. If I manually try to umount /media/MYDATA the message received is "resource busy". :/ so...I guess this is the problem. If I manually umount /media/MYDATA/MYMOVIES first, laptop shutdown perfectly.
View 1 Replies
View Related
Jun 8, 2010
I cannot mount my windows share automatically with fstab and have the files be R/W. They are only mounted as read-only.I have tried several dozen commands in the fstab file with many mount points and different users. The share is on a Windows 2000 server, but NOT a domain controller.Thing is, using the Places|Connect To Server|Windows Server menu selection, it works fine. And when I use that, the share shows up on the desktop. However, in some programs I cannot see the share in the open/close dialog boxes. I can however go to /mnt/server to see them if I mount them in fstab. The files just open as "read only" that way however.Have tried... on last line of fstab mount command.....rw option, +777 option, using IP address of server, using server name.
Same result (as fstab) if I do a manual mount command, then a mount -a. Mounts Ok, just as "Read only".
ex: sudo mount -t smbfs //192.168.1.xxx/sharename /media/server -o username=xxxxxx,password=xxxxxxxxThis has been the case with Ubuntu 8.04 until my current one, 9.10. Ubuntu (if you are listening) really needs to make this easier. It truly is basic network stuff that for some reason is rather difficult to do. Read only access is not actual network access and my other option (having to manually connect via the drop-down menu) each time I boot up is a pain.What is different about that "connect to server" option on the menu that makes it work? It'd be great if there was a check box there that said "remember this connection". Then all would work fine.
View 3 Replies
View Related
Aug 12, 2010
Hopefully this'll be an easy one (but I wasn't able to find any other posts with the exact same problem).I'm connecting to a large hard drive at work. I can mount perfectly fine. The following is the relevant line in my fstab file:
//XXX.XXX.XXX.XXX/data /mnt/labdata cifs users,rw,exec,suid,dev,username=XXX,password=XXX,_ netdev,fmask=777,dmask=777 0 0
The problem is that when I try to cd to the correct directory, I get a permission denied error. I don't own the mount point, and there aren't general read/write permissions set. But if I change to superuser, I can access it no problem. I can read, write, make directories, etc. So the problem is with my computer--not the remote one.
Now, if I add the option uid=MYID, I can read and write just fine. The system makes me the owner of the directory on mounting. But that's not what I want--I'm trying to allow multiple users access to this file system. I want there to either be a neutral owner (e.g. root) with others having read/write access, or I want the owner of the mount point to be the user currently logged in.
View 5 Replies
View Related
Jun 15, 2011
I have a question?! have a linux server which was administered by my good friend who has passed away and I have been asked to take over. the server has debian installed (installed oct 2008 and would have been the latest version) and I am looking to backup the smb shares to a external usb disc. I have formatted and mounted the disc and found a script he wrote to automate the backup run from a cron tab. Looking through the script the mount commands dont look quite right to me particulary as the owner will swap drives every day. everything else appears to be working fine! the command to mount in the script is'
mount /mnt/usb
and unmount;
unmount /mnt/usb
I think it should be' mount /dev/sdc1 /mnt/usb
and to unmount . umount /dev/sdc1 /mnt/usb
am I talking nonsense here or I on the right track?
View 2 Replies
View Related
Jan 27, 2010
mounting my windows partition.. I've got it set up under /etc/fstab, but anytime I try and open it (as local user) I get permission denied.
[Code]...
View 1 Replies
View Related
Apr 30, 2010
I have the following line in my fstab:
Code:
//192.168.0.242/websites /mnt/supercube cifs rw,user=XXX,pass=XXX,iocharset=utf8,file_mode=0777,file_mode=0777,dir_mode=0777,uid=XXX 0 0
But it doesn't auto mount with everything and disconnects whenever I suspend my computer. The only way to get it to mount is with
Code: sudo mount -a and it mounts fine with no error.
Did lucid change the way it uses fstab or something? Obviously writing mount -a isn't a huge concern, but it kind of destroys the point of putting it in my fstab.
View 9 Replies
View Related
Jun 14, 2010
Using Xubuntu 10.04 to connect to some Windows XP shares by adding lines to fstab. The network shares are not mounted at boot, but can be mounted from the command line, after the OS has booted and everything is up. I am suspecting the network isn't up yet, when fstab is processed. I tried adding the option "_netdev" to the relevant network share lines in fstab, but the shares still don't mount automatically at boot up. I read that this option only works for NFS and I am using CIFS. Can someone confirm that _netdev only works for NFS ?
I've seen solutions involving running a mount script after the OS is fully loaded, or running a cron job to periodically check the status of the share and mount if needed. Good workaround but doesn't address the root cause. Is there any other way (besides the _netdev option) to delay mounting of network shares that appear in fstab until the network interface is up ?
View 14 Replies
View Related
Dec 2, 2009
I've successfully mounted a network share with mount.cifs for the past 2 years using fstab with credfile.
[Code]....
Yesterday I moved this system to a new datacenter, but did not alter fstab or the credfile. The //server/share directory has IP rules in place, but this was updated with the new system IP while we moved the system. Now, I am mysteriously unable to automount //server/share. The local error is 13 (permission denied). The Windows server we are mounting returned a code that is defined as "username is valid but password is incorrect" Again - no changes (content or permissions) were made to my credfile or fstab entry. I've restarted netfs a few times, including rebooting the system twice. What is baffling is I can successfully mount //server/share via command line: Code: mount -t cifs //server/share /mnt/mycooldir -o username=foobar,password=1234
The username and passwords are identical in credfile and the mount options - I copied & pasted username / password from the credfile itself.
View 2 Replies
View Related
Jul 24, 2009
Anybody know how to make an ext3 or 4 partition start up at boot with only the owner and its group having read and write access permissions.I don't want 'others' to have folder access. This is what i have done. / etc/fstab:/dev/sdb5/media/Data ext4 owner 1 2 The folder starts on the boot since it has been allocated a folder as u can see. Next i changed the the ownership and the group ownership of the folder:chown johnny:johnny /media/DataThe problem is that other users can few my partition since 'others' have read access. How do i change that to zero access?
View 1 Replies
View Related
Jul 4, 2010
I've got a removeable disk which I want to mount on startup automatically at mountpoint "/backupsystem". If' it's not there I would like to have no error message. Actually after upgrading to 10.4 I get the message: Continue to wait; or press S to skip mounting or M for manual recovery.". But I don't wand this if the disk is not there that's OK for me. How would I configure fstab to achieve this?
View 2 Replies
View Related
Apr 21, 2011
I am trying to get a mount in my root directory to a folder on a remote machine so that a log in is not required to access it. I seem to be having some problems with permissions though.
So far I have:
- added the machine to my /etc/hosts file
- added remotemachine:/data /auto nfs ro,soft 0 0 to my /etc/fstab
- added remotemachine:/data /auto nfs rw,soft,addr=10.112.33.4 0 0 to my /etc/mtab file
- added /hostmachinefolder mymachineip(rw) to the host /etc/exports file
However when I mount -a on my machine I get:
mount: remotemachine:/folder failed, reason given by server: Permission denied
View 4 Replies
View Related
Nov 19, 2009
Server: Ubuntu Server Edition 8.04
/currently firewalled to only allow client ip
Client: Ubuntu Desktop 8.04
/currently firewalled to only allow server ip
Same userid and groups set up on on both. I have taken two linux courses and can maneuver around fairly well, but am still pretty newbie at all this. We have loaded Samba on a server and created a Samba share. I AM able to access that share via Windows Vista, but have not been able to successfully mount the share on the Ubuntu desktop via the fstab file. I have tried the following ways: serverip:/path/shareddirectory /net ext3 user,sync 0 0 and the samba way..
//serverip/sharename /net smbfs username=x,password=x
After modifying fstab, I reboot. No luck since that either way.Only ONCE after modifying it samba way, I was prompted to enter credentials, but after login I was unable to view the files on the server. From this point on either way, if I run commmand 'mount -a' the response is "Special device serverip:/path/sharedirectory does not exist" Also! I am able to ping client-to-server, but not server-to-client.
View 3 Replies
View Related
Aug 16, 2011
We are running our website on a VPS Centos 5.6 box, and I am trying to set it up as an NFS client to a remote NAS server box. The script (remote_mount) I'm using (copied inline below) works fine when I run it on another Linux server box running Slackware, but when I run the same script on the Centos box I get the following error message. code...
View 4 Replies
View Related