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:
[norfen@norfens-station ~]$ getsebool -a | grep samba
samba_create_home_dirs --> on
samba_domain_controller --> on
samba_enable_home_dirs --> off
when I try to share files off of my external hard drive over my network; it says it is shared on my ubuntu machine but when I try to access the file on my windows machine it says I do not have permission.
I have just installed Ubuntu desktop and I am using this pc as a file server. I have already installed Samba and have it operational and viewable by my windows computers. Now the problem is that I have 2 hard drives and the way that I have Samba set up it is sharing my home directory which is wonderful but my windows computers do not have access to the second hard drive. I search for several hours this morning trying to figure out how to do this but cannot figure it out.
i am using fedora 11 and i want to share my western digital external hard drive over my wireless network like i previousely did with my windows os. it is connected via usb to my computer. how do i do this ?
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.
I finally have my ubuntu up and running. I have a USB-drive which is often connected to my Ubuntu-machine. I want to share this via Samba but I can't set the user-rights. If I try to acces the file (via windows machine) I can see the directory but if I open it it gives me: \Computermediadirectory is not accessible. You might not have permission to use this network resource. I tried setting the rights but it just 'changes back immediately'. I found some posts about not being able to set rights via ubuntu on a ntfs disk. If I mount it via fstab it will give an error when the USB-drive is not connected. So that's no option. Is there a way to share this drive via my Samba server? I did get access to a partition on my linux-machine, to I assume my samba-settings are correct.
I want to use samba for file sharing like on a Windows home network. Actually they are all Linux machines but nfs is too complicated. On my host machine I installed samba and system-config-samba. I created a new share for /home, check marked writable and visible and put access to everybody. For preferences-->server settings--> security the "authentication mode" is set to user, encrypt passwords is no, and guest account is no guest account. Under preferences-->samba users I added myself as a user with the same windows user name as my Linux user name and the same password.
My client is a virtualbox fedora (used for testing purposes but actual clients will be real computers on my home network). I entered the address smb://192.168.1.184. When asked for the user name and password I put my regular user name and password since that was what I set in samba users. However, the password dialog keeps coming up and won't let met into my own computer. If I quit it says something like access is denied. How can I get my home network back? I liked this feature when my home computers ran XP but I switched them to Fedora 12.
I have 350GB external Western Digital USB hard Drive.When I try to remove it from the system by executing Safely Remove Drive menu the fedora 15 system gets stuck.The processor starts giving a hum sound and it goes on even if it is left for half an hour in the stuck state.The Mouse is not working and everything is halted.
i have installed fedora 14 with so many libraries ,development tools installed on my pc but i usually have to present some projects which can run on my system .........and can't be executed or compiled due to absence of libraries and tools there so, i there some way to so that i can use this current installation on my hard drive of my pc to some external media like external hard disk and plug and use that installation anywhere on any system..
I got a dell inspiron 1501 laptop with a 80Gb sata drive what is the best solution to add data storage space for someone that love to have multiples operating systems at hand Note: I use mostly linux so I won't need to change my laptop for many years maybe ...
I have a server which currently has a samba share for a printer and my home directory. Both have been working fine for a while now. I have a drobo (which is like a little USB RAID machine) connect via USB to the linux box. While trying to share it via samba I get weird messages from my windows machine (see screenshot). I have tried to share multiple folders on this drobo and no luck, all the same result.
I also tried a symbolic link, no good.
Here is a screen shot http://aivila.com/temp/screen.jpg Here is my smb.conf file: Code: [home] path = /home/savona read only = no
I have windows on my box, I have fedora 14 on my external that goes through my usb. Grub is installed on my usb. Since the only thing stored on my external was fedora i really didn't have to do much to it. just go into bios and boot from usb. Now that im using fedora more, Id like to add Vista to my choices. I guess the numbers change once your using an external drive. Ive read some of the problems like mine but they didn't quite do it. Im going to inclose 2 screen shots of my drives/partitions and my grub.conf.
# grub.conf generated by anaconda # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that
i have a 1 TB external hard drive and i have created 4 partitions as 3 of 300 GB , and one of 100 GB and i have format it as FAT but it is not showing 4th partitionand when i use fdisk -l it shows it as linux partitions and they are mounting in linux onlywhen i use the drive in windows , disk is not able to mount
I have two computers with ubuntu 10.04 installed. They both connect to the same wireless router. One computer has an external hard drive that has music, pictures and some documents. another thing, the hard drive has been formatted to ext4. I would like to be able to access that external hard drive from my other computer. I read some post on how to connect to the server through ssh but i think it's the intruction are too old. I tried nfs for server/client, but couldn't set it up, it was a little complicated.
I would like to access my NSA-220 Plus through the Internet without having computer turned on. I tried to set it up as a FTP server but I was not successful. I tried few tutorials but all allow me to access NSA-220 Plus only within my home network which is not what I want. Also I tried user manual which does not really tell you how to do this.
I just had a fresh install of Fedora 13 x86_64 on my notebook after using fedora 13 x32 for a while.I am using KDE Desktop.Everything seemed to be working fine out of the box except for minor problems with sound and plugins.The biggest issue is that Fedora does not recognize when I plug an external USB HDD (WD 320 GB for this matter).The USB light on the HDD does not go on, and nothing is auto mounted.It seems that USB does not work at all - I have tried to plug another USB device and it didn't seem to have power.
Running fedora14 on a dell latitude-d600 laptop and I'm trying to access a 500gb sata external hard drive that is connected via usb. The laptop can see the drive as '500 GB Hard Disk: 524 MB Filesystem' and it's clearly mounted under the '/media' directory. However, when I attempt to read the files on it, I am only able to see the 524mb section of the drive. The external hard drive is an ext3 file system (running fedora13) and I believe it's encrypted.
I've got this hard drive that I know that is formatted to either ext3 or ext4, but I want to find out which format it is. I'm unfamiliar with many commands, I tried 'fdisk -l' but it didn't yield any useful information to me. Is there a command wherein I can easily find out the format of disks?
Its an absolute failure for me. No matter how i try, i cannot see my samba-shared folders in a Fedora machine from another Fedora machine. Both has FC15 installed, networked through WiFi. Tried everything from this forum, (install samba, start samba service, configure samba) but cannot see my shared folder. In Windows it works fine (I can see my WIndows shares from a Fedora laptop, but i cannot see my Fedora shares from a Feroda laptop. Why it is always so difficult to have a simple facility in Linux?
I have got a hold of a extra hdd along with a hdd enclosure. I have tried looking for information on how to install linux on to one but haven't been completely successful on my search. So I turn to all of you. I was also wondering if its possible to have it were I can use it on multiple computers so I can use it for computer repair.
I have been a Linux user for about 6 years now, and recently switched to Fedora just to try something new. I used Ubuntu for the majority of the time so I am somewhat familiar with the command line, but seem to be having trouble with my external HDD. Ubuntu automounted it no problem. Fedora doesn't seem to like to do that. I tried searching and I did what almost every thread insisted upon; which is mount /dev/sdb(that is what dmesg said) but it says already mounted or /mnt/busy. So this is the extent of my Terminal experience with mounting an external drive, and I am completely dumbfounded as to why it simply won't mount. I am liking Fedora so far and so long as there is a remedy for this I don't plan on going back.
I have a laptop with only 30GB storage and I want to install Lubuntu in virtual box but Lubuntu needs 5GB of storage space which i dont have. Could i use an external 160GB hard drive to act as the hard drive for the virtual machine without affecting the files that are already on the external hard drive
Background is this: Laptop has an internal h/d (obviously) so I removed it from laptop. Then set Bios to boot from external h/d. Installed Fedora 11 on ext. h/d no swap partition as drive already has 4 partitions. Fedora ran lovely!! I then replaced internal hard drive but left bios to boot from external hard drive. Boot screen for fedora came up, hit enter and fedora started loading. The little balloon started filling up, got to a quarter full and then screen went black. Had to reboot to get going again,same thing happened. Can anybody tell me what may be causing it,i.e. black screen. Fedora boots up and runs lovely with internal h/d removed. Any help very gratefully received. M/c has intel dual core processor, 3 gig of ram.