Server :: Mount A Drive Or Partition On Multiple Servers Concurrently?
Jan 19, 2011
I am tasked with setting up 3 out of the 6 servers and dividing up 500GB of space in the most efficient manner amongst the 3 servers. The space is in a pool which can be assigned to virtual drives. Each virtual drive can be assigned as disk0 or disk1 and so on to one or more servers. They'll be running CentOS.
On the second try I came up with this scheme:
shared sda1 -- /boot (ext3)
shared sda2 -- /home (ext3)
[code]....
View 5 Replies
ADVERTISEMENT
Nov 22, 2010
Basically, I am provided with a file "temp.dat" with 30 high temperatures (integers) in it. The program is supposed to read them in and compute/print the average. Then it is supposed to print the temperature of each day and, in addition, display a + by each day that is over the average, but only if it is above the average high for three or more consecutive days. This is the part I am stuck on. I'd appreciate any tips that would point me in the right directionFull disclosure: This is a school project. Code:
Code:
#include <stdio.h>
#include <stdlib.h>
[code]....
View 2 Replies
View Related
Jan 22, 2011
I would like my Ubuntu server to show up as a drive on my XP home machine. I have loaded samba on to the server but I can only get it to show as the printer and faxes under my work group. Also is there a way to have my Ubuntu laptop to auto mount the server when I am on my home network?
View 6 Replies
View Related
Oct 11, 2010
This question has been bugging me for a few days now: How do you mount, say, 3 HDDs to a single partition. From what I've heard, it's possible, but I'd like to know how. I'm running Crunchbang! Linux, based on Ubuntu, in case you're wondering.
View 11 Replies
View Related
Feb 6, 2010
I run a headless Ubuntu 8.04 server, which acts as a web, email and file server. I am sticking with 8.04 as it is a LTS release and will upgrade to the next LTS when it is released.
I have two external USB drives, that I need to mount at boot. I have been using /etc/fstab up until now, with the following entries:
Code:
However, as I gather from doing searches is quite common, occasionally I get an error during boot (causing the system to drop to a recovery shell) because the USB drives take time to wake up and the system hasn't found them by the time it reads /etc/fstab.
From doing searches, it seems there is nothing you can do to fstab to fix this, so you need to mount them using an rc.local script instead, using:
Code:
The problem is, as I have two USB drives, their /dev/sdxx location changes between boots. I thus want to use UUID codes as I do in fstab, however I haven't found anything about this.
Does anyone know how I can use the mount command and UUID to mount a drive in rc.local and what options I have to use the mount the drive with the same options that I am using in my fstab entry? Obvisouly, I can't refer back to fstab using the mount command, because then I will still get the boot error issue if they are listed in fstab. And there is no space internally for the USB drives as there is already two internal drives.
View 3 Replies
View Related
Feb 10, 2010
I have two storage drives that I will be sharing by FTP. One is internal 1TB ext4 HDD and another one is an external USB 1TB NTFS HDD. Both drives get mounted to /media and I am trying to set an additional mount point for each. For internal HDD everything works perfectly. I simply went to /etc/fstab and copied the line related to it. Now I have:
Code:
/dev/sdb5 /home/eugene/.MOUNT/sdb5 ext4 defaults 0 0
/dev/sdb5 /media/sdb5 ext4 defaults 0 0
which does exactly what I need.
I tried doing the same for the USB drive which produces unexpected results. The lines are
Code:
/dev/sdc1 /home/eugene/.MOUNT/sdc1 ntfs defaults 0 0
/dev/sdc1 /media/sdc1 ntfs defaults 0 0
This has the following results:
- in /media/Y (Y is label of this HDD) I have this HDD and can access all its contents which is good
- in /home/eugene/.MOUNT/sdc1 I don't have anything and this is bad
- in /media/sdc1 I have only one folder from this HDD and this folder is empty (on the HDD this folder is not empty) and this is somehow weird.
View 4 Replies
View Related
Jan 12, 2010
I would like to mount a (permanently) attached external USB drive so that it is writable by multiple userids. Currently HAL is mounting the drive as writable to my owner user and readable for group and others. My m/c also runs as an FTP server and I would like said FTP server to be able to write files to the external drive. Just being able to specify a gid would probably do the job for me.
I have googled HAL and UDEV and also attempted to configure usbmount to do this, all to no avail. I am running SLES 10.3. So in summary, can I & how do I either make HAL mount the drive with gid=nnn, or should I not use HAL and simply make an entry in /etc/fstab and make sure a I get the same device address for this USB drive each time I boot?
View 4 Replies
View Related
Feb 7, 2011
I'm looking at setting up a couple automated systems: Here are a few examples:
* Internal accounting system to download and process emails
* Public web server to visit
I could put each system on its own separate box -- for example, it's generally good practice to separate anything that external users have access to (such as a webserver) from internal processes such as accounting. Now, rather than dishing out the money for two separate servers, could I get away with just installing new instances of VMWare on the same box for each system?
To give you an idea, these are not large scale computationally sensitive systems. The accounting one is simply downloading and tallying emails, and the latter is just a webserver with maybe 5 hits per day on a good day. I could definitely pick up a new box for say $50, but I wanted to know the general practice of using VMWare on the same box versus two separate boxes.
View 2 Replies
View Related
Jul 26, 2011
I'd like to have a CIFS drive mountable for various users. Each user uses different credentials and I want the drives to be automounted without using sudo-rights. I imagine the best thing to do would be to have the fstab entry point to multiple credentials files. Is there a way of doing that?
View 2 Replies
View Related
Apr 8, 2010
I've got an external hard drive with one large data partition on it. I also have four computers to connect it to (individually, not at the same time). Three machines are running Slackware and one is running Ubuntu 9.10. I need to be able to just plug the drive into whichever machine, mount it (preferably to the same location each time) and not have to worry about user permissions and such. Do I just chmod 777 all the files and folders or is there a better method for different 'users' to access the same partition? And how about mounting to the same location each time?
Now the second part of my question I'm pretty sure I'm not able to do but just in case..... is there any way to encrypt the information safely and make it compatible with a Windows XP machine?
View 4 Replies
View Related
Jul 19, 2010
I have servers installed with RHEL 4 2.6.9-89.0.9 ELsmp. I tried using uuid and label in /etc/fstab to automount usb drives to mountpoints that I specify after reboot. Unfortunately, it just does not work in all my RHEL4 servers. After every reboot, /etc/fstab will be automatically modified and all configurations related to my USB drives will be changed. Irregardless of whether i use UUID or LABEL in my /etc/fstab.However, it works on RHEL5. But, upgrading is not an option in my environment. I have been googling around looking for alternatives but everything seems to point back to using UUID or LABEL in /etc/fstab. Anyone has tried something that works? Please help me, thank you.
View 7 Replies
View Related
May 28, 2010
In my production setup, i have 3 servers using the same mount point. However, i see that the IOPS is low. Does this kind of architecture have any impact on IOPS. In case it is neutral, how can i tune my setup for better IOPS.
View 1 Replies
View Related
Apr 1, 2011
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received:
Login to your windows server and load the DHCP configuration screen
Create a DHCP reservation for the MAC address you obtained
Add the configuration options below to enable the machine to boot from the LTSP server
017 Root Path: /opt/ltsp/i386
066 Boot Server Host Name: <ip address>
067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
View 7 Replies
View Related
Feb 14, 2011
Been using a SeaGate FreeAgent external drive for past 6 months. Suddenly the ext2 partition (/dev/sdb2) won't mount, while the NTFS partition (/dev/sdb1) does.I've been allowing automount, no entry in /etc/ fstab.When the NTSF partition mounts there appears an entry
View 7 Replies
View Related
Sep 21, 2010
I am having a difficult time trying to get my old hard drive mounted to my new server. Let me give you some background on what I am doing.
I used to have my main desktop setup as a backup server for my main server hosted at a data center. It would run periodic backups of the database and files on the server, well I ended up upgrading that desktop to be used as my main gaming computer. I just disconnected the hard drive and installed a new operating system on a new hard drive. I then ordered a Dell SC1425 1U server; I got CentOS 5.5 (Same as my old server) installed on it, and I took my old hard drive and placed it in an external enclosure (USB) and connected it to my new server. I ended up having to run some commands to change the LVM name to something different, since they were both "VolGroup00". After successfully changing the old drive to "VolGroup01" I connected the USB drive back to the server but only the "Boot" partition is being mounted. I can't seem to mount the other partition.
Code:
df -T
Filesystem Type 1K-blocks Used Available Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
ext3 73514160 3351180 66368448 5% /
/dev/sda1 ext3 101086 12173 83694 13% /boot
code....
View 5 Replies
View Related
Dec 19, 2010
Does someone know how to reconfigure this? I have three hard drives.
1. Sata 1TB. It has Windows xp and ubuntu 10.10 on it
2. old 30G drive. It has ubuntu 10.04 on it
3. Old 120G with ubuntu 10.04
I installed the oses on each drive by disconnecting the others. So each drive has a boot record, and I can choose by pressing F11 at boot. All ubuntus can see and mount the NTFS partition except the one I installed last. It's on the 120G drive.
[Code]...
View 9 Replies
View Related
Apr 7, 2011
Easiest way to auto mount an ext4 partition on my hard drive?
View 3 Replies
View Related
Jun 14, 2010
I have the following /etc/fstab:
# /etc/fstab: static file system information.
#
# <file system> <mount point> <type> <options> <dump> <pass>
proc /proc proc defaults 0 0
[Code]....
This is, incidentally, the same message that I see while booting. The error message goes away if I comment out the line in fstab starting with /dev/sdc.
View 1 Replies
View Related
Nov 1, 2010
I accidentally formatted a 2TB drive of mine (big oops), but have recovered 2 of the 3 partitions using testdisk. My third partition is a LUKS encrypted partition. Testdisk managed to recover a piece of it, but it won't mount as most of it is unallocated. The partition originally occupied all space from sector 2,930,272,065 to the end of the disk -- sector 3,907,024,064. That is about 473 GBs. Currently, the partition only uses space from sector 2,930,272,065 to 2,930,288,129, about 7.84 MB.
The rest of the space is unallocated. Now what I need to do, is to expand the partition so that it occupies all the space that it used to. How would I do this? I cannot resize the partition, cause it would try to recreate the filesystem AFAIK and I don't want that, as it will fry my data. My data is not terribly important, but I would rather have it then not. I attached a screenie of kpartitionmanager. The partition in question is /dev/sdb2.
View 4 Replies
View Related
Sep 1, 2010
I just changed the os on my media server from Windows Home Server to Unbuntu 10.4 server. I got most of it working (samba, twonkymedia)
The only thing i have left to get working is the backup of that server. I installed bacula as i beleive it will do the job (unless someone has a better and simpler to configure idea) and i would like it to backup to my external usb 1Tb hard drive. I am able to mount the drive manually but this server gets turn on and off often to save power (and cut the electric bill) when not in use. I tried adding a line to fstab but when a do that, the server gets stuck on the startup even with the drive turned on. I read somewhere that i should use the UUID of the drive as it could change from sbd1 to sbh1 on restart so i did, same result.
View 4 Replies
View Related
Feb 6, 2011
I am very new to Ubuntu and have been having trouble mounting my FreeNAS drive. I installed Ubuntu 10.10 on partition sda2. I wanted to keep FreeNAS completely separate from here, so I used Virtualbox to host FreeNAS as a guest o/s on a second hdd, sdb1 mounted at /media/NAS-Data. I can access the NAS from all computers except my Ubuntu box. I have CIFS/SMB and NFS (among other) services enabled on FreeNAS.
I would like to run a program that needs access my music. I followed many of the "How To's" on the forum, but am not sure if they didn't work or if my setup is different and can't work the way that has been described. My last effort was to mount the file system using NFS, but I get a timed out error.
When I run showmount -e 192.168.0.44, result is /mnt/cNb-NAS-data 192.168.0.0. I've tried many variations to mount, but none have worked. For all I know, again I'm very new to Ubuntu, the file system is already considered mounted (/media/NAS-Data), and I just need to find the correct path to access my data. This is probably obvious, but when I navigate to NAS-Data, it has the Virtualbox NAS.vdi file.
Was hoping someone might be able to either help me get the correct path name or mounting instructions in order to view these files from Ubuntu.
View 6 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
Jun 12, 2010
I just installed F13 x86_64 on a system that used to be running Windows 7.
The boot drive is a SATA drive attached to the motherboard which is working fine.
However, my data drive is an NTFS partition filling a 3.6TB SATA raid.
It's GPT--Gparted sees 3 unknown partitions, and gdisk shows:
Code:
How do I mount this in Fedora 13? I had intended to shrink the NTFS partition so that I can create an ext4 partition to move the data to. Will this be possible?
I've got a LOT of valuable data on this drive, and nothing else big enough to store it.
View 3 Replies
View Related
Nov 15, 2010
I've been running Linux for a year on our family computers (one desktop, one laptop and two netbooks). I've run into a problem with the encrypted ext4 partition (270GB) on a LaCie external hard drive which also has a NTFS partition (50GB) which is not encrypted . First two times I tried using the encrypted ext4 partition (from two different computers) it worked fine but now I can't access it at all. I can still access the NTFS partition.Encrypted external hard drive partition will unlock but won't mount (or unmount). The computer says "Opening 320GB Hard Disk" but after a minute says, "Unable to mount location. DBus error org.freedesktop.DBus.Error.NoReply"Disk utility (GUI for gparted I believe) states that the encrypted partition (/dev/sdb1) is unlocked and the underlying partition (/dev/dm-0) is not mounted but it has a "busy circle sign" on it that will not turn off. The NTFS partition on the same drive mounts and accesses normally.
But if I try to unmount the NTFS partition, it says: "Unable to stop drive. One or more partitions are busy on /dev/sdb"If I try to shut down the computer, it is unable to shut down because (I assume) it can't shut down that drive either. So I have to just turn off the computer.fdisk states that /dev/dm-0 doesn't have a valid partition table [full output attached]fsck suggests: "Filesystem mounted or opened exclusively by another program?"ps axuf shows some processes running on /dev/dm-0 but killinghem doesn't release the drive either. [full output attached]I checked /etc/blkid.tab (suggested in one vaguely related thread) and there's no actual file only a broken link pointing to /dev/.blkid.tab (which doesn't exist). I tried deleting this link and rebooting but that didn't change anything.when I finally gave up my data as lost, I tried to format the partition (using Disk Utility) and it refused saying, "One or more block devices are holding /dev/sdb"
View 1 Replies
View Related
Aug 3, 2010
I've installed Ubuntu Server, and Webmin following this guide, and all is well so far... I've mounted some drives with some pre-existing data on them, and can view the data on those drives. But I have one drive that I can't seem to mount, and I'm pretty sure there's data on it. But I can't seem to find how to identify what format the data is in, ie.. ntfs, ext2, ext 3, etc. Its likely pretty simple, but how can you identify the drive format before you attempt to mount it?
View 2 Replies
View Related
Oct 5, 2009
These are the settings on my server, which has a static ip:
Code:
[tim@computim ~]$ cat /etc/exports
/media/cavern 192.168.1.*(rw,sync)
Code:
[tim@computim ~]$ cat /etc/hosts.deny
portmap:ALL
mountd:ALL
rquotad:ALL
statd:ALL
lockd:ALL
Code:
[tim@computim ~]$ cat /etc/hosts.allow
portmap: 192.168.1.2/100
lockd: 192.168.1.2/100
rquotad: 192.168.1.2/100
mountd: 192.168.1.2/100
statd: 192.168.1.2/100
When I try to mount the disk from my client machine I get the error:
Code:
[tim@localhost ~]$ sudo mount -t nfs 192.168.1.10:/media/cavern /media/cavern
mount.nfs mount system call failed
Thinking the problem might be due to iptables I tried the following command as recommended by a book I found on google:
Code:
sudo iptables -A INPUT -i wlan0 -f -j ACCEPT
didn't help so tried disabling the firewall - still getting the error
Both machines are running FC11 - should i be using nfs4?
View 7 Replies
View Related
Jan 2, 2010
I have the following scenario:
- Server installed in wired network. The server has a static IP. It has Ubuntu Server 9.10 installed.
- I have two Ubuntu notebooks (Ubuntu Desktop 9.10) and I want them to connect (mount) to the server on bootup (fstab or equal) if the network is available.
- I don't want to store the password in cleartext in the fstab file. So what other options do I have? What would be the most common practice here?
View 7 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
Dec 27, 2010
I had a centos Linux 64bit installed on my server.Unfortunately I don't know how but my OS crashed and now I have no way to get back my DATA except for rescue disk. I have a Linux 64bit loaded in my server with rescue but I have tried many ways to mount my hdd in Linux and was not succeed.
root@rescue ~ # fdisk -l
Disk /dev/sda: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
[code]....
View 5 Replies
View Related
Mar 24, 2010
I'm setting up a server, and someone asked me (after I was done installing and formatting) whether the external hard disk attached to this server (with the /var partition) could also be mounted as a network drive for easy file transfer (i.e. drag-drop file transfer without ssh/scp or sftp). If someone has any ideas on how a pre-formatted (ext4) partition can be simultaneously made available as a network drive readable by a Windows machine.
View 3 Replies
View Related