1837090 Members
2247 Online
110112 Solutions
New Discussion

Re: Move /home

 

Move /home

Maybe, silly question but is it okay to move /home from VG00 to another disk?
5 REPLIES 5
A. Clay Stephenson
Acclaimed Contributor

Re: Move /home

Hi Lise,

No problem. However, if root's home directory is within /home, move it to a directory with the "/" filesystem. This way you will avoid problems in single user mode.

Regards, Clay
If it ain't broke, I can fix that.

Re: Move /home

Thanks for reminding me for the root's home directory under /home!
Jim Moffitt_1
Valued Contributor

Re: Move /home

Lisa, I wouldn't move it if you can help it. But if you must there isn't a problem. I still think you can put the /home in your make_recovery tapes(the man pages should explain it). But you shouldn't have any problems putting it into vg01.
Bill Hassell
Honored Contributor

Re: Move /home

/home is unnecessary to boot and run HP-UX, even if root's home has been moved to /home/root or something similar. It's the least important from the system's point of view as only users need it. (techie note: if root's home is non-existant, the shell will default to /, or you can create an empty directory (after un-mounting /home) called /home/root which would only be needed in single user mode or if /home gets un-mounted)

If /home is growing (it always does if you allow users on the system), then moving it to a different volume group is highly recommended. It doesn't matter if Ignite/UX doesn't backup /home's volume group--that's what you have regular backups for. Ignite/UX is only to restore vg00 which gets HP-UX started.


Bill Hassell, sysadmin
Vincenzo Restuccia
Honored Contributor

Re: Move /home

mv /home/* /mount_point_new,modify /etc/fstab.