Fedora Networking :: USB Hard Drive Unmounts / Reappear In SAMBA Shares?

Jan 11, 2011

I have a hard drive which I put in an enclosure so that I can attach it by USB to my laptop, like a giant flash drive. In other words, its an external Hard Drive now. When I first plug it in it is detected and mounts like you would expect, but after a few minutes it unmounts. It's like the drive spins down and unmounts or something.

So, I want to remount it over my network rather than having to walk over to the computer and unplug the Hard Drive and then plug it back in. I would even be happy if I could just remote desktop onto that machine and remount the device somehow.

Here's the problem:

When the Hard Drive is mounted, and I run the "mount" command in terminal it shows up as:

/dev/sdc1 on /media/"NAME OF HARD DRIVE"

but when it unmounts itself and I run lsusb in terminal it only shows up as:

Bus 002 Device 053: ID 13fd:1840 Initio Corporation

I don't know how to get it to mount based on that name. So, I am asking: given that it shows up with that name, how can I remount the device from the command line...

The ultimate goal being to get it to reappear in my SAMBA shares.

View 2 Replies


ADVERTISEMENT

Ubuntu :: NTFS USB Hard Drive Unexpectedly Unmounts?

Feb 5, 2010

I recently updated to Kernel 2.6.32.7 available from the: Mainline. The reason I have done this is because it corrects an error that prevents my web-cam from functioning (Microsoft VX-3000). So, with this kernel I have a functioning web-cam *but* I have noticed now that my USB Hard Drive intermittently now unmounts. I am unable to remount the device without rebooting Ubuntu. The drive was mounting dirty but installing NTFSProgs and running NTFSfix was the solution for that. I have disabled power management completely on my machine by editing /etc/default/acpi-support and changing SUSPEND_METHODS to "none" and both ACPI_SLEEP and ACPI_HIBERNATE to false. This seems to have made the USB hard drive take longer before it unmounts but it does still unmount. Also as a GRUB2 boot option I have tried acpi=off but this also disabled my usb keyboard and mouse and my BIOS isn't flexible enough to work around that so I cannot use that option. With these things in mind are there any other avenues I could pursue and things I could try?

Edit: It may not be "unmounting" it just disappears. Also, I could try to whitelist the USB controller in /etc/default/acpi-support if I knew how to find out what it was called but I do not know how to do that.. Yet !

Edit2: I moved the physical plug to another slot where it connects on the computer. If this disconnects again I'll swap out the cable. If it disconnects again.. I'll go buy a huge 1TB internal sATA and call it a day. ~

View 1 Replies View Related

Fedora Networking :: Sharing An External Hard Drive Using Samba?

Aug 9, 2011

I installed Fedora 15 5 days ago after using debian-based distros for a few years, and until now I've had the habit of sharing many files (mostly multimedia) on my home network, except since I'm the only one using Linux, I have to do it using Samba.In Ubuntu, Xubuntu and Linux Mint, this worked like a charm.

Two things have changed this week: I switched to Fedora 15 like I said before, and I bought a new USB external HDD. I previously used a 500 GB Western Digital, and changed for a 1.5 TB SAMSUNG which is linked to my station via USB. The drive works well and I cp'd the 450 gigs of the ancient drive within the new one without a problem.

Ever since I managed to set up fedora and GNOME 3 as I would like it, I've been trying to setup the network sharing via Samba, and that's a genuine 4-day long headache now.Thing is, yesterday, it worked. After setting everything right, creating an automount of the external HDD in a maybe-too-much permissive folder, allowing Samba through the firewall, getting to know that buddy called SELinux I had never met before and which I struggled to tame ; after setting everything up, it worked seamlessly, I streamed music from the Windows PCs of my network and began watching a film.

Except I had a problem which had nothing to do with Linux: letting the USB drive plugged in on startup prevented the BIOS phase from going well, and my station was stuck on my motherboard splashscreen. To fix this, I had to disable the USB Legacy in my BIOS. Did the trick. Yesterday night, I rebooted like that, and everything was fine.This morning, Fedora wouldn't boot. Since the new BIOS parameters didn't switch the drive on on startup, fstab was trying to mount a drive which wasn't there, and thus crashed, switching to emergency mode.Had to remove the ftsab line concerning the USB drive for Fedora to boot again.

Alrite, that's fixed, I thought ; I just changed the fstab options adding noauto,user, etc. and I thought it would be ok, but it ain't.It's now been 3 hours without me finding any clue as to how to get this working.

IMO, the problem comes from the fact that Samba is missing the right to access the drive. Samba seems to be OK: from the Windows station I can see my Linux station on the network map, I can access it entering the Smbuser I created for this, and the "ext-hdd" dir is present (that's the alias I used in the Samba config files), but when I try to access it, Windows says it can't access it.

I'll try to add as many pieces of information as possible that might be useful:

SELinux config:

Code:
[norfen@norfens-station ~]$ getsebool -a | grep samba
samba_create_home_dirs --> on
samba_domain_controller --> on
samba_enable_home_dirs --> off
code....

View 7 Replies View Related

Ubuntu Networking :: Setup A Share Drive On New Server With Samba (v 3.4) - Shares Are Not Working?

Mar 15, 2010

I have the follow environment

PDC SAMBA + OPEN LDAP (ubuntu 9.04)
Linux (File Servers) + Windows machines all working well

I'm trying to set up a share drive on my new server using ubuntu 9.10 with samba (v 3.4) and ldapclient and the shares are not working when I defined Valid Users for share folders, that keep me ask me about my user and password, on the logs I have:

[2010/03/15 10:24:10, 1] smbd/service.c:676(make_connection_snum)
create_connection_server_info failed: NT_STATUS_ACCESS_DENIED

This is my smb.conf

[global]
workgroup = FLOWCONNECT
server string = OSLO SAMBA FILE SERVER [code].....

I have the same set up on my File Server (Ubuntu 9.04) which use samba 3.3 is working fine.Someone know if has some different setting between samba 3.3 (ubuntu 9.04) and samba 3.4 (ubuntu 9.10) that could cause this problem ?

View 1 Replies View Related

Fedora Networking :: Can't Copy Files From Samba Shares

Aug 6, 2009

After latest samba updates from updates-testing (F11) I can't copy any file from the network via samba: when copy process reaches almost end of the file, error message appears 'Invalid argument'. Such error happens with any read attempt on a network file - the last ~5% of a file can not be read.

View 1 Replies View Related

Fedora Servers :: Stop Script Unmounts Drive With Function To Wait

Nov 3, 2009

I have a start and stop script registered with chkconfig for a fuse mounted drive. I can /sbin/service scriptname start
and
/sbin/service scriptname stop
with no issues.

The stop script unmounts the drives and then stops the service with a function to wait until the pidof service is gone. My drives are showing up as dirty on reboot, which should mean that my script that functions normally in cli, is running out of time and possible being ignored by service after a certain wait period when shutdown -h now is issued. System is a remote server so I can not view the output during shutdown. How can I increase the wait before /sbin/service issues a [FAILED] if that is the case on shutdown? The startup script runs, however the shutdown script does not...the script does work though with the service scriptname stop command.

View 5 Replies View Related

Fedora Networking :: Samba Can't Mount Shares - Error Message 'Failed To Receive Shared List From Server'

Oct 4, 2009

It's been awhile since I posted anything which is a good sign my install has been working well and I have been able to handle most everything. However, I'm not able to handle this issue. I recently installed F11 and everything went well. But, when trying to see my other computers on the local network, I cannot. I receive this error message: Unable to mount location Failed to receive shared list from server. I understand the message as it is obvious, but do not know how to fix it.

View 14 Replies View Related

OpenSUSE Multimedia :: Unable To Play Files On NAS Drive From Within Smplayer Over Samba Shares Or Ftp?

May 21, 2011

I have mentioned this in another thread elsewhere but perhaps this is a better location. In Opensuse 11.3 I was able to play files on my NAS drive from within smplayer over samba shares or ftp. I would simply use dolphin to browse to the file on the nas drive (either through samba or ftp protocol), double click the .avi file and it would load smplayer and begin playing immediately.

In 11.4 I have samba set up using the same smb.conf file However, if I double click the .avi file it copies the entire contents to the local computer before launching smplayer. If I use smplayer's file selector and navigate to the file on the samba share I get the message "you can only select local files" This is a different behaviour to that from 11.3 However, using the ftp protocol from within dolphin smplayer launches immediately and begins playing. smplayer is launched using the shortcut command

Code:
smplayer %U
Does anybody have any suggestions on a workaround or how to correct? Using kaffeine I have no problems. Double click the file on the nas drive and kaffeine launches immediately and begins playing.

View 2 Replies View Related

General :: Administration - Managing SAMBA Shares And Giving User Specific Access For The Shares

Jul 28, 2010

I am working as a Linux administrator in a very small data centre with 5 servers with following routine tasks.

1. Managing SAMBA shares and giving user specific access for the shares.
2. Scheduling backup of some mount points with rsycn to store data in remote hard disk
3. User and group administration, with sudo access.
4. Creating and Managing Xen Virtual machines and giving access to other project teams.
5. Automating some tasks with Shell Scripting.
6. Managing FTP server for user uploads.

I have practiced a lot in my home laptop without RHEL training, Cleared RHCE and LPIC1. I want to do some advanced system admin tasks, but do not have option in my current data centre. With Above skills is it possible to get a job ?

View 9 Replies View Related

Programming :: Bash Script To Copy All Music To New Hard Drive From Multiple Network Shares

Aug 9, 2010

I need a script to copy music from a network drive to my local disk. I require the script to auto mount the remote server, then to create the directory path to the mp3's I have a list of all teh songs in the following format, note some have spaces.

\7800SPARE4UsersPublicMusicSample MusicKalimba.mp3 \7800SPARE4UsersPublicMusicSample MusicMaid with the Flaxen Hair.mp \7800SPARE5UsersPublicMusicSample Song Sleep Away.mp3

I can use the following to mount the directory:

mount -t cifs //7800SPARE4/Users /dest-o username=user,password=pass

I'm thinking the best way would be to get the share name 7800SPARE and the grep for all these in the list, then mount it and do a while read LINE However I would need to creat the folders, I am unsure on how to do this. I think I would need to sed the backslashes to forward ones and then use rsync? Then unmount and move on to the next ones, if I can't mount the share It would be nice to log it and skip it.

View 2 Replies View Related

Hardware :: Mounting One USB Drive Automatically Unmounts Other

Feb 6, 2010

I just formatted my iomega 250 gb external HD to ext3. This is where i store media, such as music. What I am attempting to do is take all the music from my 5th gen 80gb ipod (rockbox firmware), and transfer it back onto my external drive, as all my data was (naturally) erased during the format. However, as soon as I plug in my ipod it mounts as usual... but after about 15-20 seconds my external drive unmounts. When i do a 'sudo mount dev/sdc1' it says sdc1 does not exist. How can i fix this? what is the problem? I have my ipod set on /dev/sdd2 and the external drive at /dev/sdc1, each with their own mount point. They each work perfectly independently. I have tried switching usb ports around and rebooting.

View 3 Replies View Related

Ubuntu Networking :: 10.04 Can't See Shares On 9.10 Samba Server?

May 10, 2010

I have an Ubuntu 9.10 Samba file server. I have set up Ubuntu 10.04 netbook remix in a home network which also has Windows XP home and Vista computers already present in the network. The XP and Vista machines have no problem accessing the file shares.

The server is running mhddfs with FlexRaid. The security is set to share level access. I have a hosts allow line in the smb.conf file to permit access to certain IP addresses and have added the 10.04 netbook remix IP address to this hosts allow line.

I cannot access shares from the 10.04netbook remix machine if the hosts allow line is active, but have no problem from the windows machines. If i comment out the hosts allow line, all machines can access the share, including the netbook remix machine. I am fairly new to Linux and would appreciate any help in solving this problem.

View 1 Replies View Related

Ubuntu Networking :: Samba Shares Not Accessible On OSX?

Apr 26, 2011

I have setup Samba shares on my Ubuntu 10.10 and assigned different different username and password combination for each share.

The sharing works perfectly fine on all the Windows machines but it does not work on OSX. When I try to connect using OSX, it ends up showing waiting icon (screenshot attached) after entering username and password. (It asks for the login details after selecting the share from the list)

Following is my smb file content:

Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the

[Code].....

View 8 Replies View Related

Ubuntu Networking :: Cant Access Samba Shares?

May 31, 2011

find that i cant access from my ubuntu box (desktop), now running 11.04 (i was able to access yesterday, when i tested the config). I CAN access from my XP and Win7 virtualboxes.and also from another win7 on the house.. So server is working good aparently.This is all i modified from the default config file:

Code:
####### Authentication #######
# "security = user" is always a good idea. This will require a Unix account

[code]....

View 1 Replies View Related

Networking :: Mounting Samba Shares From Different Workgroups?

Jul 19, 2010

So my brother has a home network that is setup with multiple workgroups (don't ask why - I have no idea and he refuses to change it). Anyways I just installed Mint 9 (Ubuntu 10.04) on my mother's computer and I need it to be able to access the fileserver in her house where her data is stored. The Mint system is part of the default workgroup and can only see one other system in this workgroup.

The workgroup the file server is a part of is called "hobnw", the server's name is "fileserver", and the share I want to connect to is called "TV Shows" How can I connect to this network share on Linux? (I also know the username and password) When I browse the network under nautilus all I see is the default workgroup and no others. All of the Windows systems on the network (Windows XP, Vista, and Win7) all see and can access the file server without issues.

View 1 Replies View Related

Networking :: Samba Can Mount Some Vista Shares But Not Others?

Jan 30, 2010

I'm having trouble setting up samba to work with my vista machine. Whenever I try to mount certain shares I'm getting error 13- permission denied. Specifically, I'm trying to mount my entire C: with this command at the console:

mount.cifs //windows_box/C$ /mnt/windows -o username=tyler,password=****

I've also tried:

mount -t smbfs
mount -t cifs

The funny thing is that I CAN mount some other shares, but not all. My distro is slack-current. I've been following as many relevant threads on this issue for a while now and have tried as many of the suggestions as I could understand, but it's getting to the point that I've lost track of what I've tried and what I haven't. Things I have tried:

Checking permissions on the shares: seem to be ok
enabling encrypted passwords: not sure if I did it right.
editing the registry for LmCompatablity

[code].....

View 8 Replies View Related

Networking :: Samba Server And Windows Shares

Jan 25, 2010

I have a problem with 'Samba' shares on Ubuntu 8.04. Bringing shared folders over from Windows (on another computer) is not a problem...until I try same process with a Windows backup folder holding .tib data from an 'Acronis' backup.The files appear in Ubuntu Network, everything looks o.k., Ubuntu just won't copy the data to another folder. Other shares work without a problem, its only with these ':.tib' data.

View 3 Replies View Related

Ubuntu Networking :: Samba Shares Not Visible On The Network?

Jan 24, 2010

I'm trying to share some folders over the network, but the shared folders are not visible on another computer. This is through double clicking my computer from the Network list in Nautilus. However, I can access the share by typing the full address(<computer name>/<share name>) in "File > Connect to Server...".Since I can't type the address manually from my blu-ray drive, I need to get the shares to show on the network. What is wrong with my settings?

View 2 Replies View Related

Ubuntu Networking :: Using Samba Shares On Windows Vista

Feb 27, 2010

I setup shares on a fresh install of Ubuntu 9.10 via the shared folders application from here: [URL]. The shares are visible on my vista laptop but when I go to open them I get an error "you might not have permission to use this network resource". I set the smbpswd to nothing via the method in the above article as well and my /etc/samba/smd.conf has the follow lines:

[300]
path = /media/Secondary Storage
available = yes
browsable = yes
public = yes
writable = no

[500]
path = /media/New Volume
available = yes
browsable = yes
public = yes
writable = no

View 7 Replies View Related

Ubuntu Networking :: Cant See Samba Shares After Changing IP Addresses?

Feb 27, 2010

i have a file server running kubuntu and samba, when i plugged it into a different router, the router assigned it a different IP address (as I expected - its using DHCP) - but the old router was supplying 192.168.1.x type IP's and now the new router is suppliing 10.0.0.x type addresses.I now cannt see the samba shares on the file server.the computers can ping each other and they have working connections to the internet

View 1 Replies View Related

Ubuntu Networking :: Set A Storage Quota For Samba Shares?

Mar 19, 2010

Is there a way I can set a storage quota for samba shares, so that way a user can only store up to 2gb of data in a certain share?

View 4 Replies View Related

Ubuntu Networking :: Can No Longer View Samba Shares

Mar 22, 2010

I use Ubuntu 9.10 on my laptop and Vista Premium on my two desktops. Until recently I was able to view and access my document files on my desktop from within Ubuntu. I can no longer do so.

View 2 Replies View Related

Ubuntu Networking :: Windows 7 Not Reconnecting To Samba Shares?

Jul 9, 2010

Been trying to deal with this one for some time, and still not sure it's more or an issue on the Samba or Win 7 side.

Running Ubuntu 10.04 with Samba 3.4.7, using Windows clients from 2000 on up to access shares.

2000 and XP have no trouble both connecting initially to shares, but upon reboot the shares are disconnected and do not automatically reconnect unless one of them is double-clicked on. Passwords and mappings are saved such that Windows tries to reconnect upon restart. When manually reconnected in this way, shares remain open as they should. This isn't a big issue, but it would be preferable to have these shares reconnect so that links and shortcuts across the LAN work right from bootup.

The bigger issue is with Vista/Windows 7 - When shares are set up with appropriate passwords and such on the clients, they work as expected, until the client is rebooted. After signing into windows 2 things are observable:

- Black screen for 2-5 minutes before desktop appears

- error message appears when you try to double-click on a mapped share (even with a saved password) that the connection cannot be restored.

If you go into credentials manager and delete the saved password for the share(s) on the samba server, you are prompted for the password when you try to open any of the shares - reenter it and you're then fine until the next reboot.

There must be some issue with the persistence of the saved password, but not sure if this a Windows-side issue or not. Read some other info on this, and had to make the following changes earlier to even get Win 7 clients to connect to samba at all:

[URL]

It appears that when Win 7 starts up, it simply can't connect using the saved password, and the desktop doesn't come up until the reconnecting action(s) time out (if you disconnect your win 7 machine from the network the delay is not present).

It's not a game-breaker, but really annoying when rebooting having the delay and reentering the network share password(s).

View 9 Replies View Related

Ubuntu Networking :: Setup Two Samba Shares On Server 10.04.1 Lts X64

Sep 24, 2010

I'm trying to setup two samba shares on ubuntu server 10.04.1 lts x64

The first is a Read-Only share for windows users that doesn't require a password. This i've managed to do so far.

The second is a Password protected Upload share. So far I am able to have both shares (which access the same directory) but am unable to log in to the pass word protected share.

I know i'm not doing things quite right, and would like a little bit of help

The smb.conf file is the default ubuntu file with these added shares:

Code:
[NAS]
Comment = Network Attached Storage
path = /media/RAID/NAS
browseable = yes

[Code].....

View 5 Replies View Related

Ubuntu Networking :: 10.4 - Incorrect Details Of Samba Shares

Oct 17, 2010

Just set up Ubuntu 10.4 AMD64 on an old machine. We have an existing Ubuntu machine acting as a SAMBA file sharer. The other machines, windows and ubuntu have no problem in accessing files on the server. This machine reports that it can see the server on the network but instead of the expected data we see what is on the local machine. I admit I am out of my depth with SAMBA.

View 1 Replies View Related

Ubuntu Networking :: 10.04 - Accessing Samba Shares From Applications?

Jan 4, 2011

I have a NAS running Samba. My Samba shares are accessed from a Windows computer, it works very well.

With the kubuntu 10.04 computer, things are different : I can see the Samba shares in Dolphin, and copy files to the local drive, but lots of applications don't allow me to open a file on a Samba share.

Some applications such as OpenOffice let me browse to the share but refuse to open the remote file

Some other applications don't let me browse to shares at all.

What's up with that ? Surely I'm not the only one wanting to access files on a NAS ? How do other people do it ?

PS I chose kubuntu 10.04 because the 10.10 install hangs, the "ui" workaround I saw here and there did not work, the only solution offered was to go back to 10.04

View 3 Replies View Related

Ubuntu Networking :: Non-Guest Samba Shares Not Working?

Aug 7, 2011

I have some samba shares working where all I did was right click on the folder, enable sharing and enable guest access. These work fine.

However, when I tried to use the manual way:

[URL]

to create samba shares, so that they would be password protected, I cant access them. In windows 7, the shares are visible so I click them, click "use another account" and type in my samba name and password I created, but I can't access them.

Here is smb.conf

Code:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#

[Code].....

View 2 Replies View Related

Networking :: Scan For Samba Shares Through Command Line?

Apr 23, 2011

What id the way you scan for samba shares through command line, do i need samba to be installed to do it

View 7 Replies View Related

Networking :: How To Hide Samba Shares From Invalid Users

Jun 8, 2011

I would like to know how can I share folder with samba that samba does not show it to those users that have no access to it?

View 4 Replies View Related

Networking :: Samba Requesting Password When Accessing Shares ?

Apr 2, 2010

I'm trying to do the normal setup of sharing some dir's on my linux machine using samba, to allow a windows laptop to access them.

I've managed to get the printer shared and this is allowing to send print jobs, which come out beautifully! however the actual file shares still aren't accessible

Depending on my settings, if I have security = user then when I access from the windows machine I get a username and password box - I dont want this functionality, I want the system to access right away as it would between two windows shares.

If i change security = share then it simply lists the shares, but tells me they are all inaccessible.

I've googled and searched here, tried various different things but I just can't see why/where its asking me for the username/password combo.

Code:

From /var/log/samba/smbd :

Code:

View 5 Replies View Related







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