Ubuntu Servers :: Mounting /var Partition As Network Drive

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


ADVERTISEMENT

Fedora Servers :: Mounting A Nfs Network Partition?

Mar 11, 2010

I am having trouble mounting a nfs network partition. I think my problem is related to the firewall in my server.

1. - When the firewall is disable in the server, all the clients are able to mount the network partition without a problem. This is good, but I want the firewall active.

2.- When the firewall enabled, without any port opened, none of the clients are able to connect to the server (expected behavior). This is the message I got:

mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: System Error: No route to host.

3.- When I open port 2049 only (see lines below) Nothing changed. I got the same message. No connetion

-A INPUT -m state --state NEW -m tcp -p tcp --dport 2049 -j ACCEPT
-A INPUT -m state --state NEW -m udp -p udp --dport 2049 -j ACCEPT

4.- If I open ,additionally, ports tcp/udp 111 thre is an improvement because at least I get:

usename@laptop ~]$ sudo mount -t nfs 192.168.1.103:/home/username /mnt/myHomeCaraota/
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).
mount: mount to NFS server '192.168.1.103' failed: timed out (retrying).

[Code]...

But in the last case I am opening everything to the clients (192.168.1.100-192.168.1.104) and I believe it is not a good use of the firewall. In summary, I think my nfs configuration is o.k, because I am able to mount the partitions when the firewall is down or when all the ports are open for a given number of clients. I also believe that I need to open ports 111 and 2049 because at leas the server is responding, but I know that I need something else, but I can not figure out what that is.

View 2 Replies View Related

Hardware :: Mounting USB Hard Drive / Can't Seem To Mount The Other Partition?

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

General :: Auto-mounting An Ecryptfs Partition Which Is On A Usb Drive?

May 30, 2010

I have an ecryptfs partition on a usb drive, system runs Debian squeezeWhat I'd like to have is that when I connect the drive it will be auto. mounted and I'lleither have to enter the passphrase or it will already be in the keyring (even better).It seems ecryptfs can auto-mount a directory but I want to auto-mount an entire encryptd partition. Is this possible?.Also, can I have another encrypted directory, say ~/Private, at the same time or can ecryptfs handle only one at a time?

View 3 Replies View Related

Software :: Deleted Partition Now External Drive Not Mounting

Mar 27, 2010

My brother has an external hard drive that has some personal data on it that he doesn't want to lose. He was reinstalling windows on his machine and deleted both the partition on his internal drive and on his external drive. He installed windows on his internal drive only though. I want to be able to reaccess that data from the drive. All the data should still be on the drive since so write cycles have been done to overwrite it.

I guess deleting the partition removed the partition table or something so the drive doesnt mount. I would prefer to use linux (but windows is ok too) and a free as in beer tool preferably. there are normal recovery tools (I have used get data back before) that scan for any files anywhere that has been overwritten but I don't really need things that have been overwritten; just the data that is still there but not availible because it cant be mounted.

View 3 Replies View Related

Ubuntu Servers :: Why External / USB Drive Not Mounting

Mar 7, 2010

Output of blkid:

Code:
/dev/mapper/Tsunami_LVG1-LV_home: LABEL="home" UUID="cad22752-aca8-49c7-94b1-f08423819705" TYPE="xfs"
/dev/mapper/Tsunami_LVG1-LV_swap: TYPE="swap" UUID="5e1918d5-3a07-4dc5-8216-c4c0f4d1e341"
/dev/mapper/Tsunami_LVG1-LV_root: LABEL="root" UUID="cb276fc0-ced3-4926-81b8-757e5b68c4e5" TYPE="ext3"
/dev/sda1: LABEL="boot" UUID="d00cac4f-6873-4188-b6e2-902740454ba1" TYPE="ext2"
/dev/sda5: UUID="T2wwpd-lG9L-IrHz-BfAx-pVse-3C9a-rBjT1R" TYPE="lvm2pv"
/dev/sdc1: UUID="504A0C654A0C4A64" LABEL="SEAGATE300" TYPE="ntfs"
/dev/sdd1: UUID="F8C85616C855D38A" LABEL="Expansion Drive" TYPE="ntfs"
/etc/fstab contents: .....

Code:
fuse: failed to access mountpoint /media/tb1: Input/output error

View 2 Replies View Related

OpenSUSE Install :: Mounting EXT4 Partition As Drive In Win7

May 22, 2011

I would like to ask you if there is a robust way to mount as a drive a ext4 partition inside windows 7 and if it is possible to use it also to storing window's 7 data.

View 3 Replies View Related

Ubuntu Servers :: Mounting External Ntfs Usb Drive?

Mar 25, 2011

I have been trying to use fstab, writing a script in /etc/init.d to mount my external ntfs usb drive. I have had absolutely no luck and I have tried just about every solution I could find on the web except for writing a udev rule which I have never done so I am not exactly sure how.

My solution for the interim is to put the mount command in the rc.local file. That works, but I don't understand why I can use fstab to mount it. Putting it in the fstab gives me errors like "unknown file system" or just "An error occurred during mounting of drive" and then the booting stops. I tried using both ntfs and ntfs-3g.

View 5 Replies View Related

Ubuntu Servers :: Mounting External Usb Hard Drive?

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

Slackware :: Mounting A Network Drive?

Jul 1, 2011

I have two computers both running slackware on the same network using ext3 filesystems.

What is the easiest and most secure way to mount one drive to the other computer?

View 5 Replies View Related

Ubuntu Servers :: Do Symbolic Links Force Drive Mounting?

May 30, 2010

I have a 8.04 LTS server that i have installed a new 1TB drive. The server is running great but I am bit confused regarding the ln -s command and drive mounting. I have backuppc installed on the server and I am running out of storage space. To reolve this I moved the cpool and pool directories to the 1 TB drive and type from within the /var/lib/backuppc directory ln -s cpool /store/1TB/cpool this created the symbolic link to the new drive and everything works fine. I then rebooted the server and everything is runing fine but the drive does not show up in the df -h command, however the directories appear to be mounted fine.

I thought the drive would not be mounted automatically until it was defined in the fstab. Does the ln -s command force the system to automatically mount the directories but not the volume? This behaviour has caused me to delete my backup data becuase I was sure the disk was not mounted but is was!

[Code]....

View 4 Replies View Related

General :: Mounting A Drive That Isn't Yet Connected On The Network

Jul 16, 2011

I have an external Samba network storage drive that I mount using 'mount -t cifs -o username=aaa,password=aaa //myserver /mnt/mountlocation', but I'm finding it to be a pain to enter that whole command every time I turn on that drive and connect it to my computer via the network. I could put that command in a script and run a simple script like 'mntdrive' that would run that command for me, but is there a way to have the drive 'pre-mounted' so that if it's available on the network it's mounted?

If I put the mount command in one of the startup scripts or in fstab, would it be available at the mount location when the drive is connected if it wasn't connected when the computer was first turned on? Or is mounting the drive manually, even if by running a script that does it for me, something I'll have to do every time I turn on that drive? Any creative ways around this? Would make things easier if it is possible.

View 2 Replies View Related

General :: Mounting Network Drive During Boot Up?

Jul 28, 2010

i want to know what are all possible ways of mounting network drive during boot up.

I want to mount a remote drive which contains some config file of several process,the drive should be mounted at boot up so that all the configuration files are available during boot up.

View 1 Replies View Related

Red Hat :: Mounting Network Drive Under A User's Home Folder, Possible?

Apr 25, 2011

This is the command I tried using:Code:mount -t cifs //NAS1/reports /home/user/public_html/reports -o rw,umask=0338,uid=587,gid=584,username=admin,password=passwordIt looks like the user can't access the files on the NAS drive. Is there any way to do this?

View 6 Replies View Related

OpenSUSE Network :: Mounting An Ext3 Partition That's On Another Computer Connected Via Ethernet?

Apr 8, 2010

What must be done to mount an ext3 partition that's on another computer which is connected via utp crossover cable? I can't seem to figure this one out, though I've read somewhere that it can be done, and I'd like to know how.

View 2 Replies View Related

Networking :: Mounting Network Drive And Placing Icon Permently On Desktop

Mar 29, 2010

I have managed to get my networkdrive to mount on boot to a windoze share. however how can i get it to permently show the mounted icon on the users desktop?Its so simple a thing that there must be an easy way to do it.

View 14 Replies View Related

Networking :: Mounting XP Network Drive On Machine Works Manually But Not On Boot Up?

Dec 13, 2008

I know this has been covered in many threads before, but I'm stuck not finding my exact situation or an answer. I'm a newbie using a Debian Linux machine as the client and Windows XP machine as the server. I have successfully mounted the XP Network drive on the Linux machine using commands from the root terminal:

mount -t smbfs -o username="Windows Username",password=windowspassword //XPcomputername/folder /mountpoint/

However when I put the command in the ect/fstab file as suggested in several posts, I don't get any result on boot up. I.e. I can't get the network drive to mount on start up, I always have to manually mount it from the root terminal.

View 7 Replies View Related

OpenSUSE Hardware :: Failure Mounting External NTFS Drive And Internal NTFS Partition / Fix This?

Jul 18, 2010

Just installed 11.3 on my computer, however when I connect an external NTFS harddisk I receive an error message. When I open dolphin to connect to an internal NTFS partition I receive the message:

org.freedesktop.Hal.Device.PermissionDeniedByPolicy: org. freedesktop.hal.storage.mount-fixed auth_admin_keep_always <--

Anyone having an idea how I can fix this?

View 9 Replies View Related

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 View Related

Ubuntu Servers :: Setup VPN And Remote Network Drive?

May 28, 2010

I am wondering how to setup a remote disk on my server so that I can remotely access files on my Windows laptop through the "Map Network Drive" feature.

How do I go about doing something like this?

View 2 Replies View Related

OpenSUSE Install :: Partition Manager Not Mounting Extra / Partition

Apr 3, 2011

The default partition manager which OpenSUSE DVD 11.4 uses (Expert Partitioner) is not creating any logic partition with / mount because another system is already using it, is there anyway to fix this?

View 9 Replies View Related

Ubuntu Servers :: Common Practice To Mount Network Drive?

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

Ubuntu :: Mounting A Partition On A Partition Unstable?

Jan 19, 2011

I have come across the following statement: " When a FAT32 partition is mounted at '/media/windows', all access to '/media/windows' and everything below it is transparently handled by the Linux kernel using the 'vfat' module. Applications need not know they're dealing with anything else. However, mounting a partition at a location inside of another mounted partition is unpredictable, unstable, and generally a bad idea. "

Is it correct? Most of my partitions are mounted on /home, which is on a separate partition; and I have one "level 3" partition. I have been using Ubuntu for nearly three years so far with no problems (except for /home losing it's format once).

View 4 Replies View Related

Ubuntu Servers :: Xp Drive Letter - Auto Mount The Server When On My Home Network

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

Fedora Servers :: File Change Notification When Writing To Network Drive

Sep 8, 2009

I have a relatively common problem, but I don't seem to identify it's source. I have a SAMBA server on my LAN to which there are mapped a few shares as network drives in windows xp (as Y: ) and mounted as CIFS in linux [as /y]. The problem is that every time I save a file [either windows xp or linux] on the mapped drive / mounted folder, our IDEs alert us that the file changes right after the save. I am running SAMBA 3.3.2.

View 1 Replies View Related

Ubuntu Servers :: Boot Partitions On Both Sda And Sdb So If One Drive Fails The Second Boot Partition Will Work Away ?

Dec 6, 2010

I am building a 10.04.1LTS server. I am putting the /root filesystem into a Software RAID1 partition. I want to keeo my /boot partition outside of RAID.Is there a way to have a boot partition on both sda and sdb so if one drive fails the second boot partition will work away - or should this be kept in with RAID also.

View 6 Replies View Related

Ubuntu :: Mounting HDD Image Of LVM Partition

Mar 13, 2010

I have a dedicated server that Ubuntu 9.04 operating system has been installed on it. Before this dedicated server, I had another server that according to some reasons, it was put aside and I requested my datacenter support team to attach previous server's HDD to my new server in order to transfer its information to the new server's HDD. On the disks of previous HDD, Ubuntu 8.04 LTS OS had been installed and most of its capacity was full, but while I mounted that HDD on the new server, the contents of the primary partition were visible but the contents of the extended partition weren't visible. After some inspectings, I observerd that the extended partition type is converted to LVM. Before this, I didn't deal with this kind of partition. I tried to mount this partition but I failed. I read many articles about this problem and implemented instructions on the HDD but the LVM partition was never mounted that returns many different errors and even I pursued the reasons of this errors but non of these remedies didn't solve this problem. Since the datacenter had determined a specifies time for transfering information. then I had to return the SCSI HDD on the specified time, so I was forced to make an image of the hard disk by "TestDisk" software. I've made that image from the LVM partition which its capacity amounts to 150 GB but still I'm not able to mount the image according to instructions on the different related websitres. Since I'm really dummy in Linux Fle System field, I request you to help me to mount this image or extract its contents.

View 1 Replies View Related

Ubuntu :: Mounting 2nd Partition At Startup?

Mar 2, 2011

how to make my other partition mount at Ubuntu startup? I have a shortcut to my windows XP documents folder, but the shortcut is broken every time I restart because the other partition has not been mounted. I assume there is a terminal command I need to type into my start-up manager?

View 9 Replies View Related

Ubuntu :: U11.04 Not Mounting My Swap Partition / Fix It?

May 11, 2011

Ubuntu has been complaining about swap not being ready during boot. The swap partition was showing up un-known in gparted. I booted off CD, reformatted it to swap. Error message gone but system monitor > resources shows my swap size to be 86GB (the exact size of my shared NTFS volume). gparted shows the swap partition as not 'swapped on'

I am running Ubuntu 11.04 along side Windows 7 (as well as my factory restore partition) and an NTFS shared partition.

My partition structure in order of location on disc. Screen shot below to help.
sda1-2 Windows 7
sda4, extended partition
--sda6 Ubuntu
--sda7 swap
--sda5 NTFS shared partition
sda3 Factory restore image

View 9 Replies View Related

Ubuntu Installation :: Mounting NTFS Partition In 9.10 ?

Mar 5, 2010

I am trying to mount 3 NTFS partitions, but they aren't showing up in the /dev directory. If I fdisk the drive, the partition shows up, but nothing in /dev...

Here is the output of fdisk -l as well as the results of my attempt to mount the partition.

View 6 Replies View Related







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