- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change /home size.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 12:07 PM
01-25-2006 12:07 PM
/root is located on /home so I can’t umount /home and increase its size. No, I don’t have online JFS installed on my server. Yes, I am in the process of purchasing it right now.
Here is my question: Should I wait to get online JFS installed on my server before trying to increase the size of /home or should I move /root off /home so I can umount /home so I can increase its size?
Another online JFS question: Is there going to be a problem with me installing online JFS on my server?
If I should proceed with increasing /home can you give me the steps to do that?
Thanks for the help
Jeff
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 12:27 PM
01-25-2006 12:27 PM
SolutionPut it in /root - so yes - move that one first.
Next, there will be no problem installing OnlineJFS. If you can wait - then wait.
Otherwise, move root, then you will be able to umount /home and extend.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-25-2006 12:32 PM
01-25-2006 12:32 PM
Re: Change /home size.
Installation of Online JFS will require a reboot as kernel filesets are added.
If there's no urgency, you could wait until after you install OnlineJFS. Otherwise:
You could move '/home/root' from '/home' if there aren't any processes using it. In fact, I would *not* have root's login directory here. My preference is to keep is available at all times by making '/root' a simple subdirectory of '/'. In this way its readily available in single user mode.
If you want to enlarge '/home' before you install Online JFS:
# umount /home
# lvextend -L newsize_in_MB /dev/vg00/lvolX
(or):
# lvextned -l newsize_in_extents /dev/vg00/lvolX
# extendfs -F vxfs /dev/vg00/rlvolX #...note raw device here
# mount /dev/vg00/lvolX /home
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 06:07 AM
01-26-2006 06:07 AM
Re: Change /home size.
OK, now my question is how should I go about moving /root from /home to /? The server is not in production right now so I can reboot it when ever I need to.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 06:24 AM
01-26-2006 06:24 AM
Re: Change /home size.
First off, HP does not put /root under /home. A default installation will have root's home directory being /, which is not very good. Secondly, putting /root under /home will make it unavailable in single user mode when nothing but / is mounted. So - the standard recommendation is to have a /root directory rather than a /home/root directory.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 06:26 AM
01-26-2006 06:26 AM
Re: Change /home size.
Linux puts it in /root - where a lot of people think is a good place.
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 06:43 AM
01-26-2006 06:43 AM
Re: Change /home size.
Best idea is to create a directory for root in "/".
Copy your profiles from /home/root to /root.
Change you passwd file to /root.
logout and login ..!! DON'T do it without a session, better use telnet 0, so that you can get a session upon the existing one or use a new session.
If your login works fine, unmount /home
and carry on what JRF says..!!!
Cheers..
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:07 AM
01-26-2006 07:07 AM
Re: Change /home size.
cd /
mkdir root
chmod 777 root
cp -R /home/root/* /root/
cp -R /home/root/.* /root/
cp /etc/passwd /etc/passwd.old
vi /etc/passwd
changed this line
from: root:8YavI6wC13CKE:0:3::/home/root:/sbin/sh
to: root:8YavI6wC13CKE:0:3::/root:/sbin/sh
Then I started a new session with reflections and after I logged in I see that I am pointed at /root instead of /home/root.
Is this all that I needed to do? Then I guess that I need to close the other two reflections windows and I would be able to umount /home. Are there any other steps that I am missing?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:11 AM
01-26-2006 07:11 AM
Re: Change /home size.
You got it right.
Once you complete it DON'T change your /root back to /home
Follow JRF's method to extend your file systems.
Also I foung you given 777 permissions to /root change it to 744.
Also if possible give marks to all who provided inputs..:-) including ME
Chan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:29 AM
01-26-2006 07:29 AM
Re: Change /home size.
BDF shows: /dev/vg00/lvol5 32768 12104 20520 37% /home
umount /home
lvextend -L 400 /dev/vg00/lvol5
I get this error:
lvextend: "LogicalExtentsNumber" is not bigger than current setting.
I thought that 400MB was bigger than 32768kb. What am I doing wrong?
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:38 AM
01-26-2006 07:38 AM
Re: Change /home size.
If that is the case, then you just need to extend the file system via fsadm or extendfs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:38 AM
01-26-2006 07:38 AM
Re: Change /home size.
One other note. I purchased this server from HP last year (October) and it came with HP-UX 11.23 already installed. When they did the OS install they (HP) put /root in /home.
I want to thank everyone for their help. I need to assign points now!
Later.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-26-2006 07:45 AM
01-26-2006 07:45 AM
Re: Change /home size.
Thanks again for all the help.