CentOS 5 Networking :: Mounting Home Directory On NFS Partition
Aug 27, 2009
I have attached a 2 TB LUN to the HP Blade Server running CentOS 5.3 via a Qlogic HBA. To provide the cluster users with sufficient storage areaa, I want to move only the home directory from the default partitioning schema to the attached storage and leave the remaining partitions on the main harddrive of the server. So, having copied user directories & files to the new location, i.e.,
/cluster/home2 on the new storage partition, what modification(s) should I make on the server?
/export/home is the default location for the users.
/cluster/home2 is NFS shared directory serving as the new home location for the users.
View 1 Replies
ADVERTISEMENT
Jan 7, 2010
I have an interesting problem I have had some troubleinding answers to with researching. The answer is probably so obvious that I should be able to see it. Here is my prob.I am trying to mount a root directory onto the same system (just for testing purposes)I am using nfs and have nfs-kernal-server nfs-common and portmap installed.if I have this in my /etc/exports
Code:
/ 192.168.1.0/24(rw,no_root_squash,async)
then do
[code]...
View 1 Replies
View Related
Jun 4, 2010
i am getting weird results after mounting the /home directory from the server. seems like the client sees the ldapuser and it's directory from the server side.. /home/ldapuser. but it's pulling the "blank" user as it's permission. blank is the actual user on the client side. any ideas why?
server side:
[root@localhost ~]# showmount -e
Export list for localhost.localdomain:
[code]...
View 2 Replies
View Related
Mar 9, 2011
I have one of my user's home directory on a seperate partition, and I was wondering if there was a way to only mount it when/if the user is logged in and unmount it if they log out.
View 1 Replies
View Related
Aug 3, 2011
i am having troble with the permisions of a partition(/dev/sda3) that i have mounted as /home/stewi and wish to use it as my home dir, the only probolem is that it only lets the root user do anathing with the partition wen it is mounted as /home/stewi. i have tried running
Code:
chown stewi:stewi stewi
and
Code:
chmod 777 stewi
while root, but i just get an eror mesage:
[Code].....
View 9 Replies
View Related
Dec 26, 2009
i decided to try archlinux in my pc a while ago so i installed it... after three months i started to miss slackware so i decided to reinstall it but i wanted to save my /home partition so when i installed slackware i left my /home partition from arch hoping that i could just mount it on slackware...but now when i try to mount that /home partition this is what i get:
bash-3.1# mount /dev/sda4
mount: wrong fs type, bad option, bad superblock on /dev/sda4,missing codepage or helper program,or other error In some cases useful info is found in syslog - try dmesg | tail or so
code....
So i dont really know what is going on here but i hope somebody could help me because i really NEED to get the data from that partition.
oh and by the way i installed slackware on ext4 partitions and the /home partition from arch is ext3 so i dont know if that's maybe the problem o_O?
View 4 Replies
View Related
Nov 9, 2010
I've installed debian squeezy recently and for some reason I have problems with mounting /home partition during startup.
There's an error:Mounting local filesystems...mount: special device /dev/mapper/isw_bbfedcffgi_Volume0p6 does not exist. failed
I've tried using fsck - no result the file system is healthy, I've tried formatting it once again (fresh copy, no user data) and it's not working. What is more mounting the partition manually goes well - I can read the data and write to it. All other partitions are ok.
I have no idea what's going on and why mounting /home fails. I've written this post on Polish debian users forum, but no response - only to give more info, so I'll put it here also:
ls -al /dev/mapper
crw------- 1 root root 10, 59 Nov 9 19:34 control
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume0 -> ../dm-0
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume01 -> ../dm-2
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume05 -> ../dm-3
lrwxrwxrwx 1 root root 7 Nov 9 19:34 isw_bbfedcffgi_Volume06 -> ../dm-4
code....
View 2 Replies
View Related
Nov 28, 2009
I can not use nfs from F10 client to F12 server. nfs mount on F10 to F12 times out anf nfs4 mount gives "mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory" I have tried to close firewall and set selinux to permissive mode on both client and server with same result. Samba works fine. On server [root@flokipal ~]# mount -t nfs4 localhost:/home /media/tonlist mount.nfs4: mounting localhost:/home failed, reason given by server: No such file or directory
but
[root@flokipal ~]# mount -t nfs localhost:/home /media/tonlist
[root@flokipal ~]#
works
View 3 Replies
View Related
Jun 11, 2009
I am quite new to linux so pleas be understanding :) Here's my problem:
I have a server: A with some directory dirA/ I want to have an access to that directory on server B.
I was reading about "mount" but its very ambiguous for me.
View 4 Replies
View Related
May 25, 2010
I created a partition in my hard disk for my data (documents, multimedia, etc.).How can I:Move the /home/ directory to the new partitionMake the OS (Ubuntu Linux) treat that directory as the default /home/.
View 1 Replies
View Related
Jul 16, 2010
I am trying to move my home directory from my install partition to a new partition. I cloned my installation from a previous ~78 gb HD using g4l to a new 250 GB drive. Now that I am using the new drive i created a new partition to used for files called "files". New partition is sda3 and the boot partition is sd1. I am trying to follow this guide [URL] but I am having no success.
The output of:
Code:
find . -depth -print0 | cpio --null --sparse -pvd /media/sda3
is
Code:
pio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1381.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1336.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory
cpio: /dev/sda3//./.jungledisk/cache/jd2-a114b643324c576f1c36e3f17a9043f4-us/Files/cf-1387.tmp: Cannot open: Not a directory
cpio: `/dev/sda3' exists but is not a directory .....
View 6 Replies
View Related
Jun 22, 2011
How do you do this without breaking all the links and preferences in /home? Does the system take care of everything? Has anyone done it or is it actually system crippling?
View 2 Replies
View Related
Jul 22, 2009
I've to make a Windows 2000 share on my Server Linux CentOS 5.1 with all the updates installed with yum. I've a directory on a Windows 2000 that contains some images for a catalogue. I have my internet site on CentOS 5.1 with a Apache - Mysql - PHP web server. I have to mount my directory on a share in /mnt/catalogueimages and made a symbolic link from my /var/www/html/mysite/catimages to this samba share.
This is what I do following your guide a this link: [URL]
I have placed in my /etc/fstab this line:
//SERVER/C/Catalogue /mnt/catalogueimages cifs user,username=Administrator,password=,uid=apache,gid=apache 0 0
My Windows 2000 server have no password.
After that I made the symbolic link:
ln -s /mnt/catalogueimages /var/www/html/mysite/catimages
All it's OK.
The problem is that I can't see the images via browser. I have tried also to put some images in the directory /mnt/catalogueimages, deleting the mount point, in order to see if the problem was in apache: the images are visible via browser. Why I don't reach to see the images mounted with samba?
View 9 Replies
View Related
Jul 17, 2010
I just installed suse 11.3 on formatted partitions (5GB swap, 30GB / and 500GB /home). Just after the installation, My computer showed 25.2GB of /home to be used. When I do:
Code:
dyn-0a2a1f40:/ # df -h .....
That seem to be roughly correct because since yesterday I've been running a program that constantly writes logs and other data files and plots, which might have accumulated a few GB's. It is also collaborated by the output of
Code:
dyn-0a2a1f40:/ # du -sk /home
10548452 /home
I'm not hard-up on space right now but storage has been dear until the recent past. Also out of curiosity, the size of the /home partition is shown as 493 instead of the 500GB allocated while the swap also lists only 4GB instead of 5GB. Below is the output for fdisk -l in case anyone needs it:
Code:
dyn-0a2a1f40:/ # fdisk -l
Disk /dev/sda: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x219b052d .....
I have Linux 2.6.34-12-desktop x86_64 and KDE 4.4.5 (which I had previously used in 11.2 without any problems) and 4.0GB RAM.
View 9 Replies
View Related
Jul 9, 2010
I would like to have both os's to use the same directory for documents, musics, downloads, etc on my home partition.I have a dual boot of moonos and xp.home folder patitionwindows sys partitionmoonos sys partitionbackup data partitionI would like to point both os's to either the home partition or data partition.
View 2 Replies
View Related
May 15, 2010
What are the necessary packages for mounting NTFS partition on CentOS? i tried installing fuse-ntfs-3g but got a result saying its not available.
View 1 Replies
View Related
Apr 20, 2010
I have an interdependent collection of scripts in my ~/bin directory as well as a developed ~/.vim directory and some other libraries and such in other subdirectories. I've been versioning all of this using git, and have realized that it would be potentially very easy and useful to do development and testing of new and existing scripts, vim plugins, etc. using a cloned repo, and then pull the working code into my actual home directory with a merge.
The easiest way to do this would seem to be to just change & export $HOME, eg
cd ~/testing; git clone ~ home
export HOME=~/testing/home
cd ~
screen -S testing-home
# start vim, write/revise plugins, edit scripts, etc.
# test revisions
However since I've never tried this before I'm concerned that some programs, environment variables, etc., may end up using my actual home directory instead of the exported one. Is this a viable strategy? Are there just a few outliers that I should be careful about?
View 1 Replies
View Related
Jun 3, 2009
I have a home directory which is mounted on the LVM partition,How can i reduce the size of LVM partiotion without loosing the data on home directory...whenever i use lvreduce command it show me a warning mesg that the whole data will be lost...reducing the size of LVM partition without loosing my home directory data.
View 1 Replies
View Related
Jul 21, 2011
I'm running Kubuntu 11.04 .I want to mount my home dir on another machine and log in to the remote machine with the same username and home dir. The problem is that the files on the mounted dir belong to userid 99 (nobody). For example:
on the local machine:
Code:
[erezz@erez-lx:~]$ ls -ln ~/.bashrc
-rw-r--r-- 1 1000 1000 1644 2011-07-20 13:56 /home/erezz/.bashrc
on the remote machine:
Code:
[erezz@remote_machine:~]$ ls -ln ~/.bashrc
-rw-r--r-- 1 99 99 1644 Jul 20 13:56 /home/erezz/.bashrc
Here's what I did (and worked great for me in Kubuntu 10.04):
local machine:
/etc/exports:
Code:
/home/erezz/ *(rw,insecure,sync,all_squash,anonuid=1000,anongid=1000)
(also tried /home/erezz/ *(rw,insecure,sync,root_squash))
local user:
[code].....
View 9 Replies
View Related
Jul 17, 2011
To be clear: I searched and used the button above to find similar topics, but my solution wasn't there.
I was very busy with work the past months, so my quest to become a Linux Crack hasn't borne too many fruits yet So I am still a ...
So here is my problem:
I have 3 users on my CentOS VPS:
root
user1
user2
For security reasons I only log on via public key, root access is denied. Admin is user1. user2 is a regular user.
I want user1 to be able to additionally access user2's home directory, when I log in via SFTP using FileZilla, because occasionally I want to move files from user1's home directory to user2's home directory. But I need user2 to still be able to connect to his home directory via SFTP, too (everything I tried up to now always "breaks" his account).
How do I do that?
user1 is in the wheel group in order to be able to become root if necessary.
user2 is in the user2 group.
I tried adding user1 to the user2 group, but that alone doesn't seem to give him access to user2's home directory.
I know this must be about rights and permissions, maybe group permissions? I sit on it about 8 hours now and don't see no light at the end of the tunnel. When I think I got it I suddenly can't log in with user2 anymore (neither PUTTY nor FileZilla).
View 4 Replies
View Related
Aug 22, 2011
Is it possible to install java in my home directory and that only i can use it ?
Because i dont have root access.
View 7 Replies
View Related
Oct 20, 2009
I would like to move a user's home directory to a different disk. Is there a "clean" way to do this? Specifically, is it safe to just copy all the .* files to the new destination and then change the home in the user config? Or are there maybe environment entries with absolute paths which will cause problems with this strategy?
View 5 Replies
View Related
Dec 1, 2009
I have a problem from time to time. Now is such a time. Nautilus is not able to read/enter my own home directory. It can enter/read ANY other directory, but my own home directory. Killing the Nautilus process, doesn't help. Logging out doesn't help. I need to reboot to get nautilus to read my home directory. Sometimes, it suddenly appears after a couple of minutes, but not always. What is taking so long time or causing the hanging? What should I do?
View 4 Replies
View Related
Jan 18, 2011
I am trying to get a ubuntu machine (client) onto a windows active directory (domain) this i have done and you can login using winbind to the client desktop no problems however i dont want the domain users' home directories on the client machine so i have set up a ubuntu server (samba) to hold the home directories now so far i have been able to set up a share which both windows and linux can read and write to with no passwords needed, and if i have modified the /etc/fstab file on the client to mount the samba share on startup however if i login as a domain user it fails to create a home directory on the share with the following error:
"/mnt/home/admin2" does not exist
now the main question is this in fstab i have used a cred file stored in /usr/share/.smbcred which should be accessible by all users right? i know i can put the creds into the fstab file but i can't find how and it is just failing to mount when i try so if you know how i will try that, also does fstab run before or after the home directory is created as if it runs after then the cred file is working but the home directory is looking at a location which hasnt been mounted yet or if fstab runs before then the location is not mounting right (hoping for second one )
[Client]
Ubuntu 10.04 desktop
[Samba Server]
Ubuntu 8.04 LTS Server
[Windows Active Directory]
Windows server 2003
View 1 Replies
View Related
Dec 22, 2009
CentOS 5.3 has been running fairly good except for a slow ethernet connection so I thought I would upgrade to CentOS 5.4 to see if that improved things. I had previously changed fstab and menu.lst to use UUID instead of LABEL in order to insulate myself from partition label changes I wanted to make. This worked fine in CentOS 5.3. When I attempted to upgrade from 5.3 to 5.4 using the installation disk and telling it to upgrade rather than do a new install, the installation correctly found my root partition as /dev/sdb8. When I proceeded with the upgrade I received the error:
"Error mounting device UUID=cee298a0-9c47-4a3a-ac84-23db4d20edd5 as /. No such file or directory. This most likely means the partition has not been formatted."
But of course it has been formatted and is my / partition running CentOS 5.3 as I type. how to fix this to get CentOS 5.3 upgraded ? Di I have to use LABEL in fstab and menu.lst for my partitions,or perhaps just for my root partition ? Any other ideas why this is failing ?
View 1 Replies
View Related
Jul 15, 2010
I have a computer (C1) to which I can connect through the Internet (ssh, for instance) (it has a static ip and though it is sitting behind a router, the appropriate ports are all forwarded). I have another computer (C2) that doesn't have a fixed ip address and sits behind a router that I cannot fiddle with (so no port forwarding here). I would like to know if there is any way to connect from C2 to C1 such that a directory on C2 would be mounted on C1.
View 5 Replies
View Related
Jan 14, 2010
Trying to clean install 11.2 dual boot with Win xp already installed. How do I create a new home partition, don't want to preserve the existing home partition from a previous attempt. DVD installation and automatic config keeps saving the thing.
View 5 Replies
View Related
Aug 28, 2010
I have an NFS mount that is in my NFS client's fstab file
Code:
192.168.1.102:/mnt/mythtv /mnt/mythtv nfs defaults 0 0
sudo mount -a will mount it after i have booted the system.
[code]....
View 2 Replies
View Related
Apr 6, 2010
I have a number of diskless hosts which are to bootth PXE and mount their root filesystem on an NFS share. Most of the NFS share will be common to to all of the diskless hosts. No problem with that part.I also need part of the NFS shared filesystem to be unique to each individual host. The only difference between the hosts is the ethernet MAC. I use it in the DHCP server to key a specific unique IP to each host. I would like to be able to use either the MAC, or the IP, or any other unique identifier that can be derived very early in the boot process to access a filesystem or directory that is unique to each diskless host.
I need/want to do this because I need/want to isolate all of the system maintenance to one small part of the boot host. Modifying the hardware (these are VME CPUs) in any way is not an option; they must be field swappable, with all maintenance isolated to the boot host(s).I know I could run ifconfig and parse its output to derive an IP &/or MAC, but that seems a bit kludgey and fragile. The DHCP server is presently assigning IPs. I know I can arrange to pass a unique option value via the DHCP server, but don't know if or how this can be retrieved on the diskless nodes. I am presently passing the 'root=' kernel argument from the bootloader, but I don't think there is any way to pass other filesystem information using that mechanism.
I know I can pass some kernel arguments from the bootloader, but there doesn't seem to be any generic message that can be retrieved in userspace as part of the boot process. I've scanned around in the /proc filesystem, looking for the IP or anything else that seems to uniquely identify the host, but don't see anything there, either.The init process has not yet been cast in stone, but is very likely to be a BusyBox built-in
View 5 Replies
View Related
Mar 26, 2010
I've mucked through and figured out how to mount a windows share. I can access the folders I was looking for, but the windows share was not what I thought it would be. I was looking for the specific shared folder. Instead I got a root level parent directory that included the folder I wanted, and a couple others.
smbclient -L <ipaddress> gives me a parent directory on the root
First question: Can I mount a specific folder within a share?
Second question: Could somebody define share? I thought it was the specific shared folder, but that doesn't seem to be the case.
View 1 Replies
View Related