Ubuntu Servers :: Config Samba To A Second Hard Drive?
Apr 2, 2010
I switch to linux 9.10 and I got webmin installed, I was hoping to set up samba so it would share my second hard drive over the network. Is there anyway I could share the second drive?
Here is my fdisk info.
Code:
Disk /dev/sda: 40.0 GB, 40037760000 bytes
255 heads, 63 sectors/track, 4867 cylinders
code....
Edit, Can you find out the ip of the server via commands not like this ip 192.168.XXX.X
View 4 Replies
ADVERTISEMENT
Mar 8, 2009
I've read through these pages [URL] but can't seem to get Samba server working. I am using Gnome and I go to System - Administration - Services
In there I can see smb and nmb. Both are enabled, but both have a status of unknown. I can't seem to start or stop either of them. I can just enable or disable them. I've tried using the gui, as well as command line.
I'd really like to get this going as I'd like to copy files from my XP Pro box to my Linux box (F9). I have WinSCP, but am having permission issues and I can only copy to a folder on my desktop on the Linux box (I'd like to get this fixed too, but that's a different thread at a later time)
View 10 Replies
View Related
Nov 24, 2009
I have a computer running Fedora 11. I wanted to use samba in my office. So I configured the /etc/samba/smb.conf ,but it did not work well : Windows can find samba,but when I tap in username and password,samba request them again , and the same thing continues in a loop. So I copied another computer's smb.conf (which is also a Fedora 11,samba runs well in this one).I copied this file to /etc/samba/ ,then samba can't satart up . I read from /var/log/samba/log.smbd.log : Unable to open configuration file "/etc/samba/smb.conf": Permission denied Even if I use: chmod 777 /etc/samba/smb.conf
why I can't login samba from Windows:
[global]
workgroup = MYGROUP
server string = Samba Server Version %v
; netbios name = MYSERVER
; interfaces = lo eth0 192.168.1.99/24
[Code]....
View 3 Replies
View Related
May 29, 2011
I've got a situation where I would normally use NFS, but cannot. So in it's place I need to use a samba share (even though it's linux -> linux). I need it completely open and world writeable as if I had done an rw in an NFS export. I thought I had it as when logged in as a user I can edit delete etc. however the apache user seems to be struggling with creating files.
Here's my smb.conf as it stands.
Code:
[global]
workgroup = WGRP
server string = Samba Server Version %v
security = user
passdb backend = tdbsam
unix extensions = no
[tmp]
comment = Temp Directory
path = /var/tmp
public = yes
guest ok = yes
writeable = yes
browseable = yes
[sites]
comment = Sites Directory
path = /var/www/sites
public = yes
guest ok = no
write list = siteusr
writeable = yes
create mask = 0777
browseable = no
security mask = 0777
directory security mask = 0777
note that the drive is mapped as user siteusr
What I can do to open it up more?
View 5 Replies
View Related
Mar 1, 2009
I'm trying to config a customer's samba server to use a MS 2003 SBS for auth. The samba is for file sharing only config'ed with disk quota's. Currently the samba is config'ed for auth = Users. But I want a central point for user auth, and since they already have the sbs in place, I'd like to use that.
View 1 Replies
View Related
Mar 26, 2009
how to config details of samba with commands not from gui
View 2 Replies
View Related
Feb 4, 2010
I'm planning to take a custom-built machine presently running Windows Home Server and convert it to a Ubuntu server to support the same backup functionality, but also allow me to support other server functions as well (WHS is great for backups and as a file server, but that's about it). The machine has two 1TB 7200 RPM drives. As the primary use for the machine is backups of files stored on the server as well as on the local PCs, I'd like to configure the box to support redundancy across both drives - So if one fails, I still have my data. What would be the recommended configuration of the drives to support this? I plan on using Bacula for the backups (clients and server).
I'll assume the disk format won't be NTFS.If one of the drives fail and its the boot drive, how easy is it to recover the data from the other drive? Just want to make sure there isn't some form of security that would prevent me from reading the data.
I'm new to Linux with only a bit of Unix experience, but I figure I have to start somewhere (and I have a bit of technical expertise, just with the Windows platform) This will also let me start playing with the LAMP stack.
View 5 Replies
View Related
Jul 28, 2011
I have a Ubuntu plug server which I have been using with Samba and Mediatomb and two External USB drives.
I had it working about a year ago and then moved house and set it up again recently.
I had it working till yesterday when one of my children cut the power to one of the hard drives.
Since this I cannot get the system to recognise the drive that was unplugged. I have rebooted, powered down but cannot find the second rive.
When I setup my system again recently the system didn't work so I had to make some changes, I made two directories /dev/media2 and /dev/media3 where I mounted the two drives (sdb1 and sdb2). The system seemed to work fine with both mediatomb and samba.
After the forced powerdown;
/dev/media2 and 3 now seem to have disappeared and the 'working' hard disk is now recognised as sda1 and mounted on /media/external which is how it was before recent changes.
It seems something is taking the system back to previous state.
View 10 Replies
View Related
Nov 28, 2010
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.
View 7 Replies
View Related
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
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
View Related
Jun 16, 2010
I've recently moved from Fedora 7 to Ubuntu Server 9.10. This server has been in operation for quite a few years, and currently has two 110 GB IDE hard drives in one volume group...I think they are both mounted at /.
What I want to do is the following:
1. Have the system files on the IDE volume group of /
2. Add a 2TB SATA drive, mounting at at /var/www/ I also want this partition to be extendable, if I want to add a second 2 TB SATA drive, to be "Volumed"?? with this one
3. Add another IDE HDD, mounting at /var/log
I remember I used (I think it was GParted...a GUI when I added the second IDE drive a couple years ago), but now I'm in a Terminal-only world. After I install the hard drives, what process would I need to follow to accomplish my above listed tasks?
View 2 Replies
View Related
Apr 8, 2010
I need some help on this one. I added an second internal hard drive to my file server, a 500GB WD. I want to use this drive as the primary storage drive for my file server, and I want to format it with XFS. I've found some guides showing me how to add hard drives, but they didn't really fit what I want to do. When I run fdisk -l this is what I get
Code:
Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0001af4f
[code]....
Disk /dev/sdb doesn't contain a valid partition table
View 7 Replies
View Related
Mar 11, 2011
I have Ubuntu 10.10 running on a HP Proliant DL380. The Server has 1 SCSI disk install which runs the Ubuntu OS. I recently added a new SCSI drive to the system (hot swap)
Run fdisk -ls
But it does not show the device.
I've also run
Code:
sudo rescan-scsi-bus.sh -w -l
which returned
Code:
0 new device(s) found.
0 device(s) removed.
I've have 4 other scsi bays which have the same result. I need to be able to see the drive before I can even mount/format.
View 2 Replies
View Related
May 26, 2011
I'm learning with a local intranet server with Ubuntu Server 10.04. It works well:^) I have a back-up question: I want to buy a hard drive of some kind to back-up to. I imagine a USB Portable Hard Drive would work OK. I'd plug it in to the box and mount it and then run a back-up routine. Is a workable way to do it?
View 5 Replies
View Related
May 29, 2009
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
[Code]...
View 12 Replies
View Related
Jul 10, 2011
I'm running Ubuntu Server 11.04 with OpenSSH, trying to create an ssh tunnel (for web traffic) to it from my (also Ubuntu) laptop. This is the command I'm using to create the tunnel:
Code: ssh -ND localhost:8080 george@192.168.1.20 I had it all working on a virtual machine.. which was deleted What settings/lines do I need to change/add from the default OpenSSH config files to get tunnelling to work? I've Googled and AllowTcpForwarding is set to yes, as is X11Forwarding.. but it still doesn't work. Chrome can connect to the server, but says the connection was closed before any data was sent.
View 3 Replies
View Related
Apr 25, 2010
I am running Ubuntu Server and I recently added a new hard drive to the mix. Not replacing the old one, but adding a second one.What I want to know is how to I access that hard drive? I know in the desktop version it auto adds it, but not in the server version I checked my media folder.I installed it to be my new Samba share hard drive. So how to I get at it to use it?
View 2 Replies
View Related
May 2, 2011
Have just installed Ubuntu Server 10.04 on a dell with a perc 700 raid card. Running a mirrored raid1 (2x 500G as one drive). All went well. Have installed a basic Gnome front end and Webmin. I want to partition the hard drive into system and data storage areas. What is the best way to do this with a mirrored RAID system?
View 5 Replies
View Related
Jun 19, 2011
I have attached a 1.5 TB external hard drive to my new Ubuntu server. I mount it in /media/external. I used sudo mount /dev/sdx# /media/external but sdx# keeps changing. I added a line to fstab to mount it permanently but after couple of our it unmounts itself and /media/external is empty. It is in vfat format but webmin shows it as ntfs.
Quote:
cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid -o value -s UUID' to print the universally unique identifier
# for a device; this may be used with UUID= as a more robust way to name
# devices that works even if disks are added and removed. See fstab(5).
[Code]...
View 9 Replies
View Related
Jan 6, 2010
Alright, this hard drive that I need to mount is on a windows machine, in a different town. What would be the best approach for this?
View 4 Replies
View Related
Mar 4, 2010
I'm running Ubuntu 9.10 64-bit.
For some reason, the second hard drive (sdb1) is not automatically mounted:
rick@rab-1:/mnt$ sudo fdisk -l
Disk /dev/sda: 500.0 GB, 499989348352 bytes
255 heads, 63 sectors/track, 60786 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000c17f6
[Code]....
Before I installed Ubuntu, I installed the RAID software to handle 4 500 GB hard drives - so there are supposed to be two mirrored drives. I'm not an expert in using RAID. I'm assuming it is correctly configured. I only "see" two drives. sda has Ubuntu etc. How can I get sdb1 mounted? I've tried using the palimpsest program but I'm afraid I screw it up. Do I need to re-format sdb1?
View 6 Replies
View Related
Jun 12, 2010
Im usning ubuntu server 10.04 (Command-line)My second harddrive is FAT32 but i would like to change it to HTFS so i can store large files (larger than 2GB)
View 8 Replies
View Related
Apr 28, 2010
I am trying to use my external hard drive to store webpages and on the webpages it is uploaded to the folder. When i navigate to the address it says it is forbidden. I also noticed that it would not let me upload files to the folder it says i do not have permission. Can someone help me get passed the barriers. The hard drive is ntfs.
View 7 Replies
View Related
Apr 10, 2011
I'm trying to get my work's infrastructure built at home before I go up there and show the boss. It is as follows: VMware esxi installed on the server with:
Windows server 2008
Ubuntu 10.04 server
I've got VMware installed. And I have spent the past 7 hours trying to figure out how to manage it. I found out that vsphere has not nor will ever be supported for Linux; which was my first problem.
Second Problem So I had to dig around for a spare Windows 7 dvd. To my UN-surprise it blue screened before it even got to the Windows installer.
Third Problem So I dug around for my Windows XP disc. Wouldn't find my sata hard drive and I wasn't about to dig around for a floppy drive and disk, in order to install it.
Fourth Problem I remembered that I had a dual boot of Windows 7 downstairs and proceeded to download and install vsphere. It wouldn't install because of some updates that needed to be installed. I installed them and got vsphere installed as well. However upon connecting to my vmware esxi, there was yet another error that had to do with some update. I found out that the error had been existent since 2009 and for some reason NO ONE at VMware has fixed it....
View 4 Replies
View Related
Aug 2, 2011
I have a ubuntu 11.04 LAMP server at home.
Its runnign a few small sites on a drupal CMS.
This morning I found none of the sites were responding. The server itself sounded like it was thrashing the hard drive.
It wasnt responding to the FTP client or SSH connections. Web pages just sat there like they were loading very slowly but never actually loaded.
How can I find out what went wrong. I dont have a massive amount of experience with linux, particularly the server variant.
Its worried me a little that the drupal report shows several page not found errors like someone (a bot maybe) was trying to see what php setup files they could access.
View 5 Replies
View Related
Jan 25, 2010
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 ...
View 2 Replies
View Related
Mar 16, 2010
My parents bought a new hard drive for a laptop that I've owned for several years. It's much larger than the current one, so I plan on splitting it up to dual boot it with Ubuntu.I have no problem with partitioning a drive (I always keep a LiveCD handy), but my question is this: how can I go about moving the existing partition to the new drive? This is a laptop, so I can't simply plug the new drive into another slot.
Also, even if I manage to move it, will Windows still work on the new drive in a larger partition? I've had this laptop for quite a while, and I've lost the recovery discs that came with it a long time ago. I also have a lot of software without CDs to reinstall them with. This makes not reinstalling Windows a high priority.
View 3 Replies
View Related
May 1, 2010
Trying to install Fedora 12 using the 6 CDs. Trying to install on an older x86 box.Problem is that when detecting my hard drive, Fedora 12 recognizes it as a sda hard drive instead of hda hard drive. I have no SCSI connected to my computer what so ever. It's an old fashion PATA Western Digital hard drive.If I proceed with the install, Fedora 12 only installs 200MB of the OS from the first CD only. No options for additional software or anything.
View 1 Replies
View Related
Mar 21, 2009
Sometimes when I do anything write heavy such as transferring backup or downloading large files from the net, the machine crashes almost completely.
View 8 Replies
View Related