Ubuntu Servers :: File Sharing And Permission (Three Hard Drives)
Apr 17, 2010
Here's the background.
1x Windows Vista laptop (laptop1)
1x Windows 7 laptop (laptop2)
1x Mac laptop (laptop 3)
I am running Ubuntu server with 3 hard drives. I have Webmin installed. So far, I have the three laptops being able to connect to samba and accessing /home/insert_user_here. All laptop users have access to my /media/data2 (photographs, videos). That's all good. At first, I couldn't get other users but laptop 3 to access /media/sdb1, but I fixed that by changing permission to 755 so I guess everyone can access this. Atm, I want to only allow laptop #3 to connect to /media/sdd1 (be able to read/write/etc.) while laptop 1 and 2 can't even see the files. Also, laptop 1 and 2 can't seem to read and write through file share.
View 1 Replies
ADVERTISEMENT
May 1, 2011
Just moved my Mac Server to Ubuntu Server 10.10. I have two external USB drives that need to be shared on the network and be available on the internet for sensitive file transfer. What would be the most secure way to do it ? Some users are mobile and some not. The mobile users can access the network through a vpn running on that same server. The server is serving DNS and Proxy as well. I thought about creating a SAMBA share but the two disks are 1TB each. Then I went for proftpd but after reading some doc, it appears not very secure.
View 1 Replies
View Related
Sep 4, 2010
I have this server board by supermicro: H8QM3-2 I would like to know if there is a sas driver for the hard drives? I want to use ubuntu 64bit but fail to find a driver for my sas hard drive.
View 2 Replies
View Related
Oct 9, 2010
I have a second hard drive that I plan on placing in a computer I wish to use this computer as a server so my question is how could I use these 2 hard drives as one lets say one is 80Gb and the other is 40GB how could they be shown as 120GB instead of being seperate The installation of server planned on being used is 10.04.
View 7 Replies
View Related
Oct 12, 2010
I currently have an Ubuntu 10.04 Server with 10 2TB hard drives (Hot Swappable). I discovered that having a software raid over 16TB is not supported, so I split the drives into 2 sections and have 2 Software Raid arrays storing my movies, audio, pictures, and other software. The total current usage is around 7TB.
Since backing the files up to DVDs or even BlueRay is laughable, I am going to backup the system to 2TB hard drives probably 4 of them, the problem becomes that I can only hook one backup drive at a time into the system using a hot swap tray. Now I know that I can do this manually by copying the files one at a time to the drive until it is full, switching the drive out and repeating this, but I am hoping for an automated solution, Start backup, plug first drive in, system fills up drive, swap and repeat. Also it would be nice if the system remembered what had already been backed up so when I add files to the system, I only need to attach the last drive and not start the process over.
View 3 Replies
View Related
Jan 26, 2011
Our company just bought faster hard drives for our webserver. A lot of the software and services set up on this machine have had config files set up, etc.. It would take a while to rebuild it from scratch, which i may have to do. I know most config files are in /etc and i can use apt to spit out a list of installed packages.
Any tips that i may want to know to avoid any gotchas here? We need to minimize downtime, of course, and get everything up like it is now.
View 4 Replies
View Related
Apr 8, 2010
I have a server with 3 hard drives
1 400GB
2 1TB
The 400GB has the OS and SWAP while the 1TB are going to be used as storage....
Now for the problem, when I have both the 1TB drives in I can not format or mount either 1TB drives. Says Device is in use or "The device file '/dev/sdc1' does not exist"
Now if I take one of the 1TB drives out I can format, partition, and mount it no problem...it only seems to be a problem when both drives are connected...
Ubuntu Server Linux 9.10
Code:
Code:
Code:
View 4 Replies
View Related
Nov 5, 2010
I recently moved my ubuntu 9.10 server over to a new case with more memory, and when I did the webserver worked like a charm, but now apt-get is broken. Checked my 70-persistent-net.rules and saw the new NIC was there, so I edited my interfaces to use eth1 for the new NIC, but apt is still not working, failing to fetch everything. here is my 70-persistent-net.rules
Quote:
# PCI device 0x10ec:0x8139 (8139too)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:40:2b:69:76:$69:76:1d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x10b7:0x9200 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:06:5b:4f:86:$4f:86:5a", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
[Code]....
View 6 Replies
View Related
Feb 4, 2011
My file in (LG External Hard Drives ) is invisible but on windows the file is not hidden
[url]
[url]
View 14 Replies
View Related
Sep 8, 2010
I installed Ubuntu 10.10 beta yesterday and most of it is working very well. However, I ran into a problem with permissions today.I have a HDD containing my home folder and a HDD containing my data folder. The HDD with the data folder is mounted on /media/data/data_1.
Code:
jensen@jensen-desktop:~$ ll /media/data/ | grep data_1
drwxrwxrwx 8 jensen jensen 4.0K 2010-09-07 23:10 data_1/[code]....
I made sure I had set a+x rights on the file, tried executing it as root but the permission error stayed.When I copy that same file to my Desktop folder I can perfectly execute it.When it's located on the other hard drive I can't. I tried several command line scripts and they all work when I execute them from my OS hard drive,but not from another hard drive.
View 2 Replies
View Related
Aug 10, 2010
I have a Centos 5.5 system with 2* 250 gig sata physical drives, sda and sdb. Each drive has a linux raid boot partition and a Linux raid LVM partition. Both pairs of partitions are set up with raid 1 mirroring. I want to add more data capacity - and I propose to add a second pair of physical drives - this time 1.5 terabyte drives presumably sdc and sdd. I assume I can just plug in the new hardware - reboot the system and set up the new partitions, raid arrays and LVMs on the live system. My first question:
1) Is there any danger - that adding these drives to arbitrary sata ports on the motherboard will cause the re-enumeration of the "sdx" series in such a way that the system will get confused about where to find the existing raid components and/or the boot or root file-systems? If anyone can point me to a tutorial on how the enumeration of the "sdx" sequence works and how the system finds the raid arrays and root file-system at boot time
2) I intend to use the majority of the new raid array as an LVM "Data Volume" to isolate "data" from "system" files for backup and maintenance purposes. Is there any merit in creating "alternate" boot partitions and "alternate" root file-systems on the new drives so that the system can be backed up there periodically? The intent here is to boot from the newer partition in the event of a corruption or other failure of the current boot or root file-system. If this is a good idea - how would the system know where to find the root file-system if the original one gets corrupted. i.e. At boot time - how does the system know what root file-system to use and where to find it?
3) If I create new LVM /raid partitions on the new drives - should the new LVM be part of the same "volgroup" - or would it be better to make it a separate "volgroup"? What are the issues to consider in making that decision?
View 6 Replies
View Related
Jun 5, 2011
i have check a file permission with sshand i get : drwxrxwrwxwhat is "d" ?
View 2 Replies
View Related
Jan 16, 2009
I have problem with defining priter server...with two other computers that use windows ...i want to to a file and priter sharing how do i do it?
View 2 Replies
View Related
May 31, 2010
I am trying to set up a LAN with some basic file and printer sharing, as well as either a VPN or FTP server. I am setting up a server for an office with about 4 computers and one remote computer at a home office. I would like the server to back up a selected group of folders on all of the computers as well as share some printers between them all as well. If all of the other computers are windows computers will Ubuntu work for something like this? I would also like to host a website and e-mail server as well if the server is not loaded down too much. I know I can get windows server to work, but I would like to use something else if possible.
View 3 Replies
View Related
Dec 16, 2010
my laptop seems to have a bad HDD, and I was thinking of trying to make it a "thin client." However since it is a laptop obviously I want to take it places. Is it possible to make a terminal server and "thin client" connect through the internet and not just LAN?The reason I quote thin client is because in my mind I am still going to need to use some HDD so I can connect to the internet and find my server.
To make things easier to read refer to the above as "question 1" and the velow as "question2" Thank you. And sorry for the inconvience. These topics I felt were to similar to make separate topics.I also have another question, the files I have on my server can be accessed by anyone on the network(added a second HDD and network shared it) how can I make it so that the LAN clients have to "login" (or it uses their computers login info to send them to only their files? And if that is possible can we expand it to allow me to use those logins through the internet?
View 1 Replies
View Related
Dec 17, 2010
I'm going to be setting up our company with a in office server in the next few days. I wanted to use ubuntu as my servers OS but after reading some of the documentations I come to realize there is no X server in the server OS. I am OK with doing everything in terminal but would prefer to do some things in a graphic interface. Am I able to install the Xfree86 and be able to configure some stuff through that? Also the machine I am building for the server is not a true server machine just a really fast computer with lots of memory and space. The specs are a 3.1 AMD 64bit processor, 16gig ram, 2x 1TB hdd 7200rpm sata.
If the X server isn't a possibility on the server OS, I have read you can install all the server repositories on the Desktop Editions. Would that be a better option for me? Here is what I would like the server to do. I am going to be running quick books on the server with 1 workstation that is dedicated to it. We have 3 workstations and 3 users. We also would like to implement a Shared filing system and print server. Eventually when our current contract with our web host expires we would like to migrate the base website (not the ecom side) to this server.
View 3 Replies
View Related
Mar 21, 2011
I am attempting to setup an Ubuntu server as a secondary DNS server. It seems whenever it tries to dump the master file the system log shows Permission denied.let me know if more information is needed.NOTE: where it says example.com I have simply removed my actual Domain name.
Mar 21 21:49:24 ulinux named[14418]: zone example.com/IN: Transfer started.
Mar 21 21:49:24 ulinux named[14418]: transfer of 'example.com/IN' from 192.168.0.15#53: connecte$
[code]....
View 1 Replies
View Related
Apr 22, 2011
I am in the www-data group...
Code:
mike@webserver:/var/www$ groups mike
mike : www-data adm dialout cdrom plugdev lpadmin sambashare admin
when I run ls...
Code:
mike@webserver:/var/www$ ls -la
total 8
drwxrwxr-x 2 www-data www-data 4096 2011-04-22 09:30 .
drwxr-xr-x 14 root root 4096 2011-04-20 18:22 ..
-rw-r--r-- 1 root root 0 2011-04-22 09:24 index.html
I assumed that means that the users in the www-data group can read, write and execute within this folder?
But when I try to create a new file/dir I get permission denied message.
I'm having fun messing around with my new LAMP server, but this problem is annoying me now .
(Oh and the index.html file was created by root, it's a blank file and can be deleted)
View 1 Replies
View Related
Mar 26, 2011
I am building a home server that will host a multitude of files; from mp3s to ebooks to FEA software and files. I don't know if RAID is the right thing for me. This server will have all the files that I have accumulated over the years and if the drive fails than I will be S.O.L. I have seen discussions where someone has RAID 1 setup but they don't have their drives internally (to the case), they bought 2 separate external hard drives with eSata to minimize an electrical failure to the drives. (I guess this is a good idea)I have also read about having one drive then using a second to rsync data every week. I planned on purchasing 2 enterprise hard drives of 500 MB to 1 GB but I don't have any experience with how I should handle my data
View 10 Replies
View Related
Sep 10, 2009
here is the upload form:
<form enctype="multipart/form-data" action="uploader.php" method="POST">
Choose a file to upload: <input name="uploadedfile" type="file" /><br />
<input type="submit" value="Upload File" />
</form>
[Code]...
View 1 Replies
View Related
Jul 21, 2011
I am trying to set up a windows file server using fedora 14 with samba. when I go to the a windows machine I can log in the the samba server. When I try to go to the folder I need access to I get and error saying "you might not have permission to use this network resource" I am trying to access my home directory. Directory /home/mike, username mike. As far as I can tell it is not a permission of the directory. I have a user set up in samba that uses the mike user account.
View 6 Replies
View Related
Jul 5, 2011
I have Fedora 14 installed on my main internal drive. I have one Fedora 14 and one Fedora 15 installed on two separate USB drives.When I boot into any of these drives, I can't access any of the other hard drives from the other drivesll I can, but just the boot partitions.Is there any way of mounting the other partitions so I can access the information?---------- Post added at 12:42 PM ---------- Previous post was at 09:34 AM ----------I guess even an explanation on why I can't view them would be good too.
View 7 Replies
View Related
Jul 7, 2011
Im using WPA with a TKIP pre-shared key...Can a client pc im sharing my key with access my files if im not file sharing? Router config?
View 2 Replies
View Related
May 19, 2011
Having problems with external hard drives. I may be wrong, but I suspect they originated with an upgrade to 10.04 last Christmas. Around that time I also started using Amazon's S3 storage system, and, as a consequence, I stopped using my WD 80G external drive, previously used to backup my important files.
A week or so ago I decided to start using the WD drive again. I can't remember exactly what I did, but it wasn't happy - never caused any problems before. When I plug it in, the on-off light as the front keeps flashing on and off, and when I try to remove the drive I get the message: Error unmounting volumne An error occured while performing an operation on "My Book" (Partition 1 of WD 800BB External): The device is busy
Details: Cannot unmount because file system on device is busy Assuming the device had died - it's about 5 years old - I bought a 160G Samsung S-Series drive - my but they do look neat! Unfortunately, this doesn't seem to have solved my problem. I plugged the new drive in, and it happily appeared on my desktop. It seemed a good idea at the time, but I then started to format the drive - using the default option of FAT. All went well at first, but then the format process stopped.
My new Samsung drive now seems to be operating pretty much as the WD device, I can't copy to the drive, and attempts to unmount it generate a response similar to what's happening with the WD drive. Currently, although plugged in, I can't see the drive on my desktop, although it appears under Places. However, when I try to mount the drive, I get the message: Unable to mount SAMSUNG A job is pending on /dev/sdb1
View 1 Replies
View Related
Nov 10, 2010
I have a Dell XPS with Ubuntu 10.04 installed. I have a laptop dual booting Windows 7 and Ubuntu 10.04. I can see all shared folders on the Dell from my Windows partition in my laptop but can only see the shared folders in Home on the Dell from my Ubuntu partition in the laptop. My set up is as follows:
Dell:
root, home and swap are on the 1st 160g hard drive.
2nd 160g hard drive has only the one partition: /storage1
3rd hard drive, 500g has only one partition: /storage2
I cannot access any of the shares on either storage drive but I can see them from the ubuntu laptop. What I want to do is have access to those storage drives from my laptop. If I go into Nautilus, navigate to either storage drive, I cannot share them via right click, properties because I don't have root. Basically I am not sure how to go about this. There are a few folders in storage 1 and storage 2 that I want to be able to access from my Ubuntu partition in my laptop. This is one of the reasons I still have Windows on the other laptop partition but I really would like to dump it. Samba is installed and I tried giving permissions that way. It allowed me to add the drives but it had no effect.
View 4 Replies
View Related
Jan 18, 2010
I'm breaking into the OS drive side with RAID-1 now. I have my server set up with a pair of 80 GB drives, mirrored (RAID-1) and have been testing the fail-over and rebuild process. Works great physically failing out either drive. Great! My next quest is setting up a backup procedure for the OS drives, and I want to know how others are doing this.
Here's what I was thinking, and I'd love some feedback: Fail one of the disks out of the RAID-1, then image it to a file, saved on an external disk, using the dd command (if memory serves, it would be something like "sudo dd if=/dev/sda of=backupfilename.img") Then, re-add the failed disk back into the array. In the event I needed to roll back to one of those snapshots, I would just use the "dd" command to dump the image back on to an appropriate hard disk, boot to it, and rebuild the RAID-1 from that.
Does that sound like a good practice, or is there a better way? A couple notes: I do not have the luxury of a stack of extra disks, so I cannot just do the standard mirror breaks and keep the disks on-hand, and using something like a tape drive is also not an option.
View 4 Replies
View Related
Jan 25, 2011
I've got 4 identical 1 TB drives and would like to use them in a software RAID configuration on my home server. I'm running Debian Linux using 'mdadm' utility to manage the software RAID. I don't know how much I've read is fact or dated or even false so I decided I would ask here to get help from people who know more about this than I do. This is essentially just a file server machine to store all my data so being that I've got four identical SATA hard drives, I was thinking about doing RAID level 5. I guess I'll start here and ask if that is the recommended level of RAID. I think RAID level 5 will be fine for my general server usage. My second issue is partitioning the four individual drives to get maximum performance / space from them. Basically just asking here how would you or you recommend I partition the drives? I was thinking about doing three seperate partitions per drive:
/dev/sda1 = 4 GB (swap)/dev/sda2 = 1 GB (/boot)/dev/sda3 = 995 GB (/)Now from that partition schema above, obviously all the types will be 'fd' for RAID and the partition for /boot is going to be bootable. My confusion is that I read Grub doesn't support booting from RAID 5 since Grub can't handle disk assembly. If /dev/sdx2 (sda2, sdb2, sdc2, sdd2) are partitioned for /boot (bootable), how would you guys configure this RAID to match up equally? I don't think I do a RAID level 1 on 4 identical partitions, right?
View 1 Replies
View Related
Aug 23, 2010
I have a SATA drive that worked fine. Then I installed two more hard drives into my system. When these hard drives are installed, if I try to access the SATA drive in Linux, it will start lightly clicking and then the drive will become unavailable. If I power on the machine without the other two hard drives then it works fine. What could be causing this to happen? I don't think it's heat because the two hard drives are far away from the SATA drive.
View 1 Replies
View Related
May 26, 2011
I have my ubuntu comp setup as a media server and works fine with mythtv etc but I also want to access the files from my computers in the other rooms (most have windows 7). I was able to share the file containing the videos easy enough by right clicking the file and checking all of the sharing options the first time. I have been able to access all the files that i originally put in the folder and stream video to my other computers without issue.
However any new files I add to the folders I am now unable to access. The files show up but when I click on them it says I don't have permission. I have tried unsharing the folder and redoing it but I come to the same issue. I am sure I am just forgetting an easy step but I can't think of what that is. Also want to make sure that any new files I add to this folder will work instantly across the network.
View 2 Replies
View Related
Sep 14, 2010
What is the best option for Internet wide "samba-like" file sharing? WebDAV?
View 8 Replies
View Related