We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Make AIX 5.3 /lhome to mount as /home

sshujaat
sshujaat asked
on
Medium Priority
470 Views
Last Modified: 2013-11-17
I am trying to make AIX /lhome to mount as /home, since our Security pushes users home folder as /home.  I tried chfs, and manual change in /etc/filesystems, /home gets mounted, but then after a while it gets unmounted on its own.  Any suggestion, how to make it work
Comment
Watch Question

CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013

Commented:
Hi,

I'm not quite sure that I understood your problem.
In AIX, /home is a filesystem of its own which resides in /dev/hd1 (rootvg) and gets mounted automatically at boot time via /etc/filesystems.

Now, what is '/lhome'?
Did you create a new filesystem and now try to mount it over /home?
Or is it a remote FS and you try to mount it over /home?

Normally, an AIX filesystem never gets unmounted on its own.
If /lhome was remote, it could be that you loose the connection to your server (NFS, cifs, whatever).

What does your /etc/filesystems look like after you made your changes?
What did you try to achieve with chfs (which parameters did you use)?

As you see, I need some clarification and some more detail.

wmp





Author

Commented:
In AIX 5.3 /lhome comes as Operating System Build, since our sec. is pushing user's home directory passwd files, their home folders are coming as /home/<username>.  I used following command:
chfs -m /lhome /home

As per AIX dont make changes directly into filesystems file.
CERTIFIED EXPERT
Most Valuable Expert 2013
Top Expert 2013
Commented:
Well,
I am not aware of any AIX build shipping /lhome.

Anyway, format of chfs is

chfs -m [/new/mount/point] [filesystem]

so your command should have looked like

chfs -m /home /lhome

But attention! Don't you have an existing /home filesystem, or doesn't your 'build' contain one?

If you have, you should first issue

chfs -m [/any/mount/point/of/your/choice] /home

to free the /home mountpoint.

Remember filesystems must be unmounted/mounted  after chfs -m for the changes to take effect.

wmp








Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
I used last recommended solution
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.