Ubuntu :: Mount Directory To RAM?

Jun 7, 2010

Is there a way I can temporarily mount a directory read-only to RAM? I read about creating a tmpfs to /dev/ram0 and mounting the folder there, though the tutorial seemed to have extra steps such as editing /etc/fstab, which I do not need to do. Can anyone outline a way to do this easily?

View 8 Replies


ADVERTISEMENT

Ubuntu :: Access Files That Existed In Directory Before Mount Partition To Directory?

Feb 21, 2010

Recently I mounted a larger partition into my home directory since I was running out of space, Everything went smoothly, but it caused me to wonder about something I cant figure out. While playing with the mount unmount commands when I was copying everything over... before editing my fstab.

Is there a way to access the files that existed in a directory before you mount a partition to that directory? after mount the original files are gone.unmount and they are back, Where do they go?

View 3 Replies View Related

Ubuntu :: Cannot Mount Unencrypted Directory To Encrypted Home Directory With Fstab

Aug 26, 2010

I have Ubuntu Karmic. I chose to install with an encrypted home directory. Recently I got a warning that I only had 2GB of drive space left. This is mostly because of my videos. So I went and bought a new hard drive and partitioned it and made 1 ext4 partition and copied my videos all to the new hard drive. I added a line in my fstab to mount the new hard drive to ~/videos, but when I reboot the computer, there is a screen saying something like "error mounting /home/me/videos, press S to skip or something else to reboot". If I press S to skip, then when my system comes up there is a video directory but it's empty because my other hard drive didn't get mounted. I can run sudo mount /dev/sdb video/ and it will mount fine and I can see all my videos, so why can't fstab mount it? Does this have something to do with my encrypted home directory?

View 14 Replies View Related

Ubuntu :: Mount Single Directory To Multiple Mount Points

Jan 27, 2011

I have a requirement that seems to be unique in nature. I have multiple clients who are caged to their home directories. I would like to "share" a directory which exists above these chroots with all these caged users. I know this can be accomplished using mounts but my problem is, how can I mount a single directory to multiple mount points located in each users home dir? Can this be done in the fstab file?

View 9 Replies View Related

Fedora Networking :: When Try To Mount The Share To A Different Directory On The Server, Receive A 'no Such Directory' Error?

Dec 18, 2010

I have a server with Fedora 13 with which I would like to get NFS working. I have looked up multiple howto's and tutorials, but I'm having a problem not addressed by any of them.Official how-to, another how-to, and another how-to.I have verified that nfs-utils, nfs-utils-lib, portmap, and system-config-nfs are installed and running. I have verified that I have, in fact, shared the directory that I want to share, and that the proper permissions are set.

I had to go through some gyrations to get the Belkin wireless N router to allow my server to have a static IP. However, I can ping the server from the nfs client (a toshiba satellite running mint 8), and vice versa. I have (for now) disabled firewalls on both computers. I think I have disabled SELinux on Fedora 13 (for now).When I attempt to connect to the server from the client, the output looks like this:Quote:

aragorn ~ # mount -v 192.168.2.101:/test /home/kelev/test/
mount: no type was given - I'll assume nfs because of the colon
mount.nfs: timeout set for Sat Dec 18 12:21:09 2010

[code]....

View 7 Replies View Related

General :: Mount One Directory To Another While Mapping The Original Directory's UID To Another

Aug 23, 2011

I'd like to mount the directory /var/www/mysite to the directory /home/daniel/mysite, but also have the user of the mounted files mapped from the original user (www-data) to my own user (daniel). So that the file /var/www/mysite/index.php who's user is www-data will appear in the mounted directory as /home/daniel/mysite/index.php and be owned by daniel - and alternatively, if I create a file /home/daniel/mysite/test.php with my own user, it will be created in the original directory under the user www-data Is it possible? If not, what alternatives do I have so I can use an IDE and still make sure all the files belong to the HTTP server's user?

View 2 Replies View Related

SUSE :: Mount NFS Directory As Read-only Except For 1 Sub-directory?

Jul 14, 2009

We currently have a NFS shared Directory mounted as read-only on our server.This directory contains multiple sub-directories and files. It being read-only is a equirement. Now, we need a directory underneath to be read-write. Is there a graceful way to make that happen? Like a special mount option to use? Basically objective is: /u01 is mounted as read-only and has 3 directories: dir1, dir2, dir3 dir3 has 2 sub-directories- sub1,sub2/u01/dir3/sub2 needs to be read-write, while all other are read-only.

View 2 Replies View Related

General :: Auto Mount More Than Directory In The Same Directory ?

Apr 7, 2010

How can i auto mount more than directory in the same directory ? i want to automount 2 home directories in the /home and still be able to enter the other home directories !

The problem that i've another account on the system with home directory joe when the user1 home directory auto mounted i become unable to enter joe home directory !

View 1 Replies View Related

Ubuntu :: Mount Network Directory Over Ssh?

Jan 4, 2010

I have a Sheevaplug attached to my router and a 1.5 TB external HDD.

I can ssh into the HDD over my LAN (ssh user@LAN:IP:ADDRESS).

I can mount a directory from the HDD to a laptop over the LAN (fstab rules).

I can ssh into the HDD remotely (ssh user@ROUTER:IP:ADDRESS

However I cannot mount any directories from the HDD (!?)

What am I missing ?

My fstab entry goes like this: ROUTER:IP:ADDRESS:/media/STORY /home/simon/STORY nfs rw 0 0

And I get this error: 'mount.nfs: mount system call failed'

On the server my /etc/exports looks like this: '/media/STORY *(rw,no_root_squash,async)'

how I can mount a directory from a server behind a router remotely (ie outside the LAN) ?

View 6 Replies View Related

Ubuntu :: Mount Ext To Directory In Windows 7?

Aug 25, 2010

I know that it is possible to mount ext filesystems from windows using either extfsd or extIFS drivers. What I want to do is, after mounting it to a drive letter with the driver, to further mount it to, for example, the "my documents" directory. The thing is, disk management in windows 7 won't recognize the ext partition so it won't let me mount.

View 3 Replies View Related

Ubuntu :: Change Mount Directory Of Usb Stick?

Jun 12, 2010

My usb stick continually automounts at /dev/sda10, and for a certain operation I'm trying to do I need it to be mounted at /dev/sda (or sdb, sdv, etc); is there any way to change it's mount directory?

As a bonus question, or rather the real question, what I'm really trying to do is format a bootstrap partition as shown here

Code:
Command (? for help): p
/dev/sda10
# type name length base ( size ) system
/dev/sda101 Apple_partition_map Apple 63 @ 1 ( 31.5k) Partition map

[Code].....

View 1 Replies View Related

Ubuntu :: The Size Is 3.7GB And Then The Mount Directory Is Blank?

Dec 31, 2010

I was trying to encrypt a USB flash drive, but truecrypt shows me two usbs. Here is wht is says Quote:/dev/sdb: and then it says the size is 3.7GB and then the mount directory is blank.owever is also list another one that says Quote:/dev/sdb1 the size is 3.7Gb and the mount directory is /media/USB20FDI have a PNY 4GB flash drive.

View 6 Replies View Related

Ubuntu Networking :: Mount A Remote (ftp/ssh) Directory Locally

Jan 15, 2010

If you use Nautilus then you can just use the "Connect to server" from the file menu. However if you file manager does not support connecting to servers (like Thunar ) then you can use sshfs.

Code:
sudo apt-get install sshfs
You should create a directory as your mount point, say
Code:
mkdir /media/Server

[Code]....

View 1 Replies View Related

Ubuntu :: EncFS Mount - Regular Directory Disappears

Jun 15, 2011

Whenever I mount a encfs directory to a regular directory, the regular directory disappears. this is the command I use
encfs ~/encrypted ~/plain
When I try to access the folder from my windows computer, I can not see it. What to do?

View 2 Replies View Related

General :: Ubuntu 10.10 - Mount Failure (No Such File Or Directory)

Apr 7, 2011

I can select Ubuntu 10.10 OS from the grub menu, but it no longer loads? It scrolls through some lines, including mount failure and "No such file or directory." before halting below :
(initramfs)
The same happens when recovery is selected.

View 11 Replies View Related

Slackware :: Can't Mount Nfs Directory Without Option

May 22, 2010

I can't mount nfs directory without option "-o nolock".NFS server is slackware 11 and client is Slackware 13 (full installation).I tested with Centos 5.4 and works fine. Using which rpc.lockd print is no rpc.lockd and slackware 11 is /usr/sbin/rpc.lockd.following services starting on client using rc.rpc ( rpc.statd and rpc.portmap)

View 2 Replies View Related

Ubuntu :: Bash Script That Uses Sshfs To Remotely Mount A SSH Directory?

Apr 23, 2010

I have a bash script that uses sshfs to remotely mount an SSH directory.

Where should i place this script so it mounts with route privileges?

One consideration is i use VPN so the directory needs to be mounted after openvpn is started.

View 3 Replies View Related

Ubuntu Installation :: Mount /dev On /root/dev Failed : No Such File Or Directory

Aug 8, 2010

Ubuntu(10.04) was working fine, then some program crashed or something, and I just switched off (power offed) the computer. When I restarted it, this sort of stuff comes:

Code:

mount /dev on /root/dev failed : No such file or directory

and some more lines like that, and then 'Busybox' starts with [intramfs].I booted Ubuntu from a pen drive and ran fsck on the main partition. I just pressed 'y' for a long time (it asks stuff like should it continue repairing or something), and then it was done. I restarted the pc and it booted normally - it looked as if everything was fine.I started google chrome, and it said it couldn't find a personal config file .. ok. Then I tried opening a folder - nothing happens. The system monitor doesn't open, and windows that do open eventually are completely blank. I restarted the pc (this time by doing the normal restart), and it gave me the same 'Busybox' thing.I did the same procedure again, and got the same results. (ubuntu boots, programs dont work, then I restart and the Busybox thing comes again)One More Thing : The Ubuntu installed on the hard disk had all the recent updates (including the latest linux kernel) while the pen drive thing was around 2 months old I think. So maybe that's the cause?

View 1 Replies View Related

Fedora Installation :: Mount Iso File To Directory?

Jan 29, 2011

i had mount iso file to directory.now i want to install this program.how to do that?the file is Fedora-14-x86_64-Live-Design.iso

View 1 Replies View Related

Fedora :: Changing The Default Mount Directory

Feb 24, 2011

When I add an external device it is automatically mounted by Fedora to /media. Does anyone know if it is possible to change the default mount directory to something else (like /mnt) ?

View 14 Replies View Related

Red Hat / Fedora :: Mount Windows Directory On Machine (5)

Jan 22, 2010

How to mount windows directory on Linux machine (Red Hat 5)?

View 2 Replies View Related

General :: Copy A Partition To A Directory, Then Mount It?

Sep 4, 2009

i've been getting into problems trying to move around my partitions, by copying them to a directory on a partitions with alot of extra space, then mounting then with --bind. i think it's todo with the permissions, like i can run gdm for the gui but i can't login.startx doesn't work though, gives me some errors but i don't know alot about x windows. but like the partitions are mounted, but just the system doesn't work properly with them this way?this is my method

Code:
rsync -aHPvx /usr/ /store/usr_proxy
then in fstab
Code:
/store/usr_proxy /usr ext3 bind,defaults 0 0

View 2 Replies View Related

Server :: Directory To Mount Not In Host - Dir Format

Jun 27, 2011

I have a SAN drive space connected to a SLES 10 (OES2) server. The server sees the drive at /dev/sdb1, and I was able to use fdisk to create a partition on it. I created a new directory /mnt/testvol, where I would like to mount the SAN drive to.
Fdisk shows the volume to be at /dev/sdb1 and lists it as Linux filesystem.

I used this command to try to mount it:
mount /dev/sdb1 /mnt/testvol -t nfs
and I get this error:
mount: directory to mount not in host:dir format

View 2 Replies View Related

Server :: Failed When Trying To Mount A Local Directory Via NFS

Jun 21, 2011

I tried to set up an NFS server on my Ubuntu on VirtualBox. But I failed when trying to mount a local directory via NFS. I used Ubuntu 11.04 First I ran the following two commands

[Code]....

View 5 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

Feb 21, 2011

since running update manager on my daughters net running 10.04 netbook on boot up I get the following on the screen

mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory
mount: mounting /proc on /root/proc failed: No such file or directory
Target filesystem doesn�t have /sbin/init.

[code]....

View 2 Replies View Related

Ubuntu Installation :: Mount: Mounting /dev On /root/dev Failed: No Such File Or Directory

May 14, 2011

Doesn't seem to matter which version, every time I try to install Software raid on an Ubuntu server system, it blows up with this error. Seems I've had trouble for several versions.

Code:

mount: mounting /dev/disk/by-uuid/f35415ee-4c14-4eb1-995f-f19fbcd760c7 on /root
failed: Invalid argument
mount: mounting /dev on /root/dev failed: No such file or directory
mount: mounting /sys on /root/sys failed: No such file or directory

[code]...

I've done it on Centos Fine, and followed the many different instructions I've seen for Ubuntu. The only luck I've had was with bios raid, but I would much rather let Mdadm handle things.

My build:

ubuntu-10.04.2-server-amd64 CD install
AMD 1055T 6Core
4GB ram
Asus M4A88TD-MUSB3

[code]...

I install both as letting Ubuntu decide partitions for one drive, do the same for the other, and create a raid, and do them from scratch. No dice, same problem. I've tried that one as logical and as primary too. No difference. Something just doesn't like booting from a raid 1 Mirror. I've tried installing grub on both HDDs (sda1 + sdb1)I've tried several CDs, burned from several machines. Re-downloaded from Torrent and from the website. The DVD drives work since I purchased new DVD drives for both one workstation and the server. Things install fine under CentOS, software raid comes up.

View 1 Replies View Related

OpenSUSE Network :: Set NFS Server On 11.3 / Cannot Mount A Directory Of Machine On Another?

Apr 5, 2011

i have a suse 11.3 machine and i cannot set it to be a NFS server that is i cannot mount a directory of this machine on another one running as well a 11.3 while i can mount without problem a directory from 10.0.i do not know where to start as the NFS server option seems to have vanished from YAST.

View 5 Replies View Related

General :: How To Mount Remote Filesystem For / Home Directory

Oct 17, 2010

have a Debian server which I use to hold my home directory for my user account. I used to use Windows 7 and connect to my /home/username directory via Samba which worked great. I could access all of my files as if they were sitting on my local PC, but they were actually sitting on my Debian server.

Now I have decided to give Ubuntu 10.10 a try (looks promising so far!).One thing I'm not sure how to do is to mount my home directory from my server! I am able to open an sftp connection to my server, but not able to access them natively as they were /home/username on my local machine.I'm assuming I need to mount my home directory somewhere in my fstab before it starts up, but which protocol should I use? I'm used to using windows networking, but am trying to get more into linux.Should I use NFS?

View 2 Replies View Related

Networking :: Mount Windows Directory As Non Route User?

Sep 19, 2010

I've a redhat server and a windows 2003 server. The windows box has a shared directory on it that I want to mount on the linux box. This I can do no problem using the following command:

mount -t cifs -o username=windowsuid,password=mypass //winservername/directory /mnt/directory

This all works perfectly however I need to mount this as a non root user. This is where I'm having difficult. I constantly run into "only root can do that". I've edited the fstab and added the entry in there for the mount with the flag user or users and neither makes a difference. I've also tried editing the sudoers file and still the same.

View 4 Replies View Related

Fedora Networking :: Unable To Mount Specific Directory Via CIFS?

Aug 19, 2011

I have a bootable utility toolset that I put together with Fedora 14, one of its primary functions is to map a user designated share via script and access information from it. The command that I used, that functioned perfectly, in Fedora 14 was:

Code:
sudo mount -t cifs -o user=provided.account.name //file-server.mydomain.com/share/images /mnt/source

[code]...

View 3 Replies View Related







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