- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Extending Mount Points
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
10-01-2002 10:16 AM
10-01-2002 10:16 AM
Extending Mount Points
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:19 AM
10-01-2002 10:19 AM
Re: Extending Mount Points
Sandip
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:21 AM
10-01-2002 10:21 AM
Re: Extending Mount Points
it will report both the volume group and logical volume stats for the volume group
it will end by reporting the physical volume details (disk space used and available, etc)
do you want to extend existing mointed file systems (like /home) or create new ones?
To extend the file systems already mounted will depend on your configuration... do you have OnLineJFS installed?
to create them from scratch, use the lvcreate command... check the man pages for details as there are several options. If you give us some specs on what you want I am sure the forum has someone with the answer
Ted
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:23 AM
10-01-2002 10:23 AM
Re: Extending Mount Points
You can use SAM to extend the existing logical volumes or add new ones. A complete re-arrangement would probably require a re-install, as previously noted.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:26 AM
10-01-2002 10:26 AM
Re: Extending Mount Points
# lvcreate -L 2000 -n lvol8 /dev/vg00
==> Creating "lvol8" (2GB) in vg00
# mkdir /opt/apps
# newfs -F vxfs /dev/vg00/rlvol8
# mount /dev/vg00/lvol8 /opt/apps
# vi /etc/fstab
==> Edit appropriately to make the mount point permanent.
Keep in mind (if you can afford it) "vg00" should only have "non-data" LVs. Doing that can simplify the recovery process.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:33 AM
10-01-2002 10:33 AM
Re: Extending Mount Points
filesystem (aka Logical Volume) at a time.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:36 AM
10-01-2002 10:36 AM
Re: Extending Mount Points
Usually you would not be able to umount vg00 filesystem in multi-user mode. Bring the system down in single-user-mode (ISL> hpux -is) then do this .. (example increasing /opt - lvol5 to 4GB)..
# /etc/umount /opt
==> Only if it's mounted. It should not in single-user-mode.
# lvextend -L 4000 /dev/vg00/lvol5
==> 4GB is the new size
# /usr/sbin/extendfs /dev/vg00/rlvol5
# /etc/mount -a
==> Check the new size.
Reboot the system. Keep in mind extending contigous LVs (/,/stand and swap) is not going to be straight forward and the above won't work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-01-2002 10:43 AM
10-01-2002 10:43 AM
Re: Extending Mount Points
making a new filesystem goes basicaly like this:
- decide how big it will be, and where it come in the tree.
- lvcreate -L size_in Mb /dev/vg00
- this results in a new lv, say lvol9
- newfs -F vxfs /dev/vg00/rlvol9
- mkdir /where_it_will_be
- mount /dev/vg00/lvol9 /where_it_will_be
extending a filesystem is possible through onlinejfs (which must be bought seperately) , and without:
in both ways you do
- lvextend -L new_size_in_Mb /dev/vg00/lvol9
in onlinejfs you do:
- fsadm -F vxfs|hfs /mountpoint
without onlineJFS you do:
- umount /mountpoint
- extendfs -F vxfs|hfs /dev/vg00/rlvol9
- mount /mountpoint
The trouble with the not-onlineJFS-way is that some mountpoints (like /tmp, /var, / ...) can not be unmounted. Therefore you have to reboot in single user mode. There fore you sit behind the console:
- let users log out
- shutdown -ry 0
- interrupt boot proces when it asks you
- load hpux -is
- do the trick and reboot again
Good luck
Donald
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 07:11 AM
10-02-2002 07:11 AM
Re: Extending Mount Points
If you do not need it, keep it in reserve. If you allocate all of the disk space and then later have a need for more, either for an existing logical volume or a new one, it's much more difficult to reclaim it.
HP used to ship their new systems with all of the boot disk assigned. They would create the usual file systems at default sizes and then allocate the remainder to swap. 500MB of swap on a system with 32MB of memory did not make sense. They now leave it unassigned so the customer can use it as they please.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-02-2002 08:19 AM
10-02-2002 08:19 AM
Re: Extending Mount Points
I'm with Dave, why do you want to extend the OS?
Have you installed Swap?
It should be twice of your RAM.
You can do this with the SAM.
And don't worry - one time (HP-UX 20.1?) also 10 gig will be too less. ;))
Volkmar