- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: "/" extending
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
Discussions
Discussions
Forums
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
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-11-2007 05:58 PM
тАО01-11-2007 05:58 PM
How to extend filesystem mounted at / without having OnlineJFS installed?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:05 PM
тАО01-11-2007 06:05 PM
Re: "/" extending
Root (/) filesystem does not have to be very large, are you sure you can not move data from root filesystem?
Root file system (and /stand and swap) have to be contiguous, use an ignite tape to backup your configuration and restore(with the option resize filesystems) your system.
Ignite software.
http://h20293.www2.hp.com/portal/swdepot/displayProductInfo.do?productNumber=IGNITEUXB
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:16 PM
тАО01-11-2007 06:16 PM
Re: "/" extending
But it is UNSUPPORTED.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 06:24 PM
тАО01-11-2007 06:24 PM
Re: "/" extending
Recently, I restored host from IUX server, and set new size of / while restoring process.
But after restore has completed, I see that changes have not applied, / size is still the same as before backup.
The next lvol after / is lvol4 -mounted at /home
How to extend / then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 07:52 PM
тАО01-11-2007 07:52 PM
Re: "/" extending
Ignite --> "Perform Installation from this console" --> "Install HPUX" --> "User Interface and Media Options"
Select "Advanced Installation"
In "Advance Options" select "File System" tag --> select "/" FS and "modify".
My "/" FS:
bdf /
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 204800 61280 142752 30% /
rgs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 07:59 PM
тАО01-11-2007 07:59 PM
Re: "/" extending
I have the same size of / on my serever.
I need to encrease its size because I need to install Open View Operations and it requires the size of / larger than 204 mb
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 08:03 PM
тАО01-11-2007 08:03 PM
Solution1. bdf - note the lvol that / is mounted on (normally /dev/vg00/lvol3)
note the next mount point that is mounted on the next lvol (ex. /tmp - lvol4)
2. vgdisplay -v vg00 - note the number of lvol's and the physical volumes of vg00.
ex. 8 lvol's
--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
PV Status available
Total PE 2169
Free PE 447
Autoswitch On
PV Name /dev/dsk/c0t8d0
PV Status available
Total PE 2169
Free PE 447
Autoswitch On
3. Remove the mirrors off the second physical volume.
for i in 1 2 3 4 5 6 7 8
do
lvreduce -m 0 /dev/vg00/lvol$i /dev/dsk/c0t8d0
done
4. Move the next contiguous lvol from primary OS disk to "mirror" disk
pvmove -n /dev/vg00/lvol4 /dev/dsk/c0t5d0 /dev/dsk/c0t8d0
5. Ensure that you have freed up the logical extents after the / lvol. (ex. lvol3 )
pvdisplay -v /dev/dsk/c0t5d0 | more
01563 current /dev/vg00/lvol3 00020
01564 current /dev/vg00/lvol3 00021
01565 current /dev/vg00/lvol3 00022
01566 current /dev/vg00/lvol3 00023
01567 current /dev/vg00/lvol3 00024
01568 free 00000
01569 free 00000
01570 free 00000
01571 free 00000
01572 free 00000
01573 free 00000
01574 free 00000
01575 free 00000
6. Ensure that the / lvol is strict and contiguous.
lvdisplay /dev/vg00/lvol3
--- Logical volumes ---
LV Name /dev/vg00/lvol3
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 200
Current LE 50
Allocated PE 110
Stripes 0
Stripe Size (Kbytes) 0
Bad block off
Allocation strict/contiguous
IO Timeout (Seconds) default
7. lvextend the / filesystem to the desired size as needed as long as there are enough free extents available.
lvextend -l 55 /dev/vg00/lvol3
fsadm -F vxfs -b 220M /
8. Move the previously moved lvol back from the mirrored disk to the primary disk.
pvmove -n /dev/vg00/lvol4 /dev/dsk/c0t8d0 /dev/dsk/c0t5d0
9. vgdisplay -v vg00 - ensure that everything is mounted on the primary OS disk and that the mirror disk is empty
--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
PV Status available
Total PE 2169
Free PE 447
Autoswitch On
PV Name /dev/dsk/c0t8d0
PV Status available
Total PE 2169
Free PE 2169
Autoswitch On
10. Mirror all the lvol's back to the mirrored disk.
for i in 1 2 3 4 5 6 7 8
do
lvextend -m 1 /dev/dsk/lvol$i /dev/dsk/c0t8d0
done
11. vgdisplay -v vg00 - ensure that all lvol s are mirrored.
--- Physical volumes ---
PV Name /dev/dsk/c0t5d0
PV Status available
Total PE 2169
Free PE 447
Autoswitch On
PV Name /dev/dsk/c0t8d0
PV Status available
Total PE 2169
Free PE 447
Autoswitch On
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 08:05 PM
тАО01-11-2007 08:05 PM
Re: "/" extending
My OV/OVO FS structure:
/dev/vg00/lvvarOV 409600 362831 43879 89% /var/opt/OV
/dev/vg00/lvoptOV 770048 661921 101396 87% /opt/OV
/dev/vg00/lvetcOV 57344 9417 45747 17% /etc/opt/OV
/dev/vg_opt_operacion/lvvarOVshare
4096000 2877453 1142491 72% /var/opt/OV/share
/dev/vg_opt_operacion/lvetcOVshare
102400 25860 71774 26% /etc/opt/OV/share
/dev/vg_opt_operacion/lvBD_openview
2048000 1407119 600886 70% /BD_openview
I not use "/"
rgs,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-11-2007 08:49 PM
тАО01-11-2007 08:49 PM