Ubuntu Networking :: NFS Mounting With Fstab > Loop On Shutdown

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


ADVERTISEMENT

Ubuntu Networking :: Odd Mounting Windows Share With Fstab?

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

Ubuntu Networking :: Fstab Setup For Cifs Mounting?

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

Networking :: Ubuntu 10.04 Delay Mounting Network Shares In Fstab?

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

Ubuntu :: Fstab Not Mounting Fat At Boot?

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

Ubuntu :: HD Not Mounting Once Added To Fstab

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

Ubuntu :: Loop Device Error When Shutdown Since Upgrade To 9.10

Apr 6, 2010

When I shutdown, I have a black screen with a message of I/O error, loop device... And the computer doesn't complete to shut down. This problem appear since I upgrade to ubuntu 9.10.

View 1 Replies View Related

Ubuntu :: Authentication For Mounting Device W/o Fstab?

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

Ubuntu Installation :: Error While Mounting /etc/fstab?

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

Ubuntu :: Mounting Hard Drive With Fstab?

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

General :: Mounting The Partitions Without Fstab?

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

Ubuntu :: Samba Share Mounting - From 'mount' To Fstab

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

Ubuntu :: Fstab Not Mounting Cifs Manually Call Mount -a?

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

Slackware :: Wipe /tmp/ On Shutdown/reboot - Includes Fstab?

Mar 4, 2011

Before i wiped windows (and the dual-booted slackware on it to make a slackware only hdd) i (sort of) backed up my files. I put something into my /etc/fstab that wiped /tmp/ when i shutdown/rebooted.

View 4 Replies View Related

General :: Mounted Loop Device Prevents Proper Shutdown

May 4, 2011

I've recently started using Linux Mint (version 10) on a Dell Mini 1012 netbook. I'm using a loop device to mount a file on a NAS but whenever this loop device is mounted and has been accessed, my machine fails to shutdown.

Firstly I mount a share on the NAS using cifs (the NAS is aimed at Windows machines so doesn't support NFS). I have a sparse file on the share (which I created using Cygwin in Windows, using the dd command).

I used losetup to create a loop device and formatted it as reiserfs.This works and I can successfully use the mount point. I'm using it with Backintime.If I try to shutdown my machine without unmounting the loop device, shutdown hangs.

These messages just keep repeating and the system never shuts down.So I assume the problem is something to do with unmounting the CIFS/loop device.If I unmount the loop device all is fine. I don't need to unmount the cifs share.Any ideas on how to resolve? Should I add a script to run during shutdown (i.e linked from /etc/rc0.d and /etc/rc6.d) to sync and unmount the loop device? Or is there a better solution?

View 1 Replies View Related

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 View Related

Ubuntu Installation :: Mounting Removable Disk On Startup Automatically - Fstab

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

Debian :: Mounting Windows Partition - Fstab - Get Permission Denied

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

CentOS 5 Hardware :: 2TB Drive Installed RAID1 Not Mounting In Fstab

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

General :: CIFS Mounting Works Via Command Line - Fails With Fstab

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

Fedora :: Mounting An Ext3 Or 4 Partition With Read And Write Access Using Fstab?

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

Debian Configuration :: NFS Shares In Fstab - Error: Mount.nfs4: Access Denied By Server While Mounting (null)

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

Networking :: Mounting Permissions Error / Mounting A Windows Host?

May 28, 2009

I am having permissions errors every time I try to mount a windows host. I have a linux server and all the windows computers can see that computer and its files, but we wanted to start backing up the linux machine to one of our other computers. so I tried to mount one of the computers. here is the sequence of events:

Code:
$mount -t cifs //192.168.1.194/Admin$ /mnt/Anita-comp
password: (I have no password so I left it blank)
Mount error (13): Permission Denied
I tried all sorts of passwords we use around the office and none of them worked.

I then decided to try mounting one of our other computers. this one looked like it worked fine. no error messages at all. (I left password blank) so I look in my filesystem and the mounted drive is not in the /mnt/Anita-comp file. What gives?

View 11 Replies View Related

General :: For Loop Or While Loop To Read The Fields Of A File?

Sep 1, 2010

I have a mytext file with month and year as two separate fields. likemytext fil

08 2010
09 2010
10 2010
........
........
........

I want to read the values of each field i.e., month and year into an awk script.

View 10 Replies View Related

General :: Fstab Sdxx Or Uuid Or / Disk And Partitions In The Fstab File?

Jan 5, 2010

What would be the best way list disk and partitions in the fstab file?

View 1 Replies View Related

Hardware :: Changes To Fstab (UUID's) / Revert Fstab's Listings Back To The Old /dev/hd Settings?

Jan 15, 2010

I've had two hd's in my box forever. for more space and backup reasons. Well I have started running the Debian Squeeze distro since December. I've had many issues, some are still unresolved. but now I'm running into major headaches with the fstab. Specifically dealing with/wondering why UUID's are used instead of the old /dev/hd? I was a little annoyed when I tried Kubuntu to find /dev/sd? used instead of /dev/hd? but that was workable. But the UUID's are a nightmare. Here's my problem.

My main box is finally giving up the ghost. The mobo is dying. So in order to do some tests I took my hd bundle (my two hard drives with their cables) physically out of the box and temp installed them in a test box. I wanted to do some benchmark and other tests. I got all kinds of errors. I found that the system wasn't recognizing the UUID's listed in fstab. My concern is when the new mobo gets here next week I won't simply be able to plug the hd's in like I always have been and just let Linux reconfigure itself (Debian used to be good about this). I really don't want to have to clean reinstall if it's not needed.

So for this I have two questions. WHY developers decided to drop using /dev/hd? or even /dev/sd? ?

And is it possible to revert fstab's listings back to the old /dev/hd? settings. In debian fstab had lines commented out showing how each partition was listed in it's /dev/hd? status during install.

I'm getting really sick of all these archane changes in ALL aspects of linux that don't seem to have any good explaination or need.

View 4 Replies View Related

Ubuntu Networking :: Out Of The Loop Wifi?

Aug 4, 2011

i know this is probably listed somewhere, but after several hours looking around, noone has this same issue.long story short, my girlfriends gateway laptop (bleh) had a hdd fail and crashed. best buy said shed have to wait ANOTHER week, after she had already been out a comp for 2 weeks, to get the factory install windows 7 disc. so she asked me to put ubuntu on it. finished it yesterday, updated etc. heres the issue.its a gateway nv55c w/ built in wifi card ( not sure on type) attempting to connect to a wrt54g linksys wifi router. it tries to connect, takes 3 mins then says disconnected.

View 9 Replies View Related

Ubuntu :: Rename The Fstab-BAK To Fstab?

Jan 19, 2010

I've apparently changed my fstab file and now my boot drive fails to mount. The original file is still there "fstab.BAK". How do I rename the current fstab to another name and rename the fstab.BAK to fstab? Since this is read only in the /etc directory I have not been able to make this happen from a command prompt.

View 9 Replies View Related

Ubuntu Networking :: Automount In Fstab ?

Mar 30, 2010

I run ubuntu 9.10, and my wife runs winxp. I am trying to setup an automount of her storage (D) drive in my fstab. here is the line in fstab:

The share mounts with no errors, but when i go into palces and view the share, it is blank, totally empty. I can create and delete documents here, but the next time I open the share, i cant see anything. If i connect to the share using places>connect to server, everything is fine. If i connect using places, network, and browse to her machine, it works just fine.

Today i did a fresh install of karmic, installed smbfs, added the above line to fstab, same issue. I have searced and searched but I haven't found a problem exactly like this. This setup has been working fine until sometime recently. I cant be sure exactly when it stopped working, or why. The reason I need it to automount is I have several applications that point to that drive. It is worth noting i have tried several variations on the line in fstab, all with the same results.

View 5 Replies View Related

Ubuntu Networking :: NAS Slow When Using Fstab

Jun 18, 2011

I am using my NAS with settings in fstab, but then I have only 4.4MBytes/sec.

However, when I open computer->Network ->Windows-network->WORKSPACE->CH3MNAS, then I have a speed of 18MByte/sec.

I notice a directory ~/.gvfs/volume_1 op ch3mnas... but when I restart the PC, this directory is gone.

It only is there after I use Nautilus first.

Also, I see some directory called smb://ch3mnas/volume_1

Now I am totally confused... how to get the fast network speed automatically at boot of my PC?

WHy is this hidden inside ~/.gvfs/.? ... I prefer something like /home/nas

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved