- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Extending /opt without OnlineJFS (FOE Edition ...
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-23-2008 06:38 AM
01-23-2008 06:38 AM
Extending /opt without OnlineJFS (FOE Edition of 11.23)
I have customer who have one one server almost full /opt. He was install database in /opt, on vg00. I need to extend /opt by additional 30GB.
Customer don't have installed OnlineJFS (FOE edition of 11.23)
Current LVM info is:
LVM Volumegroup and Filesystem Quick Overview
================================================================
Volumegroup Informations for vg00 (VGID 6d110c6245123470)
PESize=32 MaxPE=4384 MaxPV=16 CurPV=2 MaxDiskSize=140288 MB
----------------------------------------------------------------
Total capacity in Volumegroup vg00 : 279936 MB
Allocated capacity in Volumegroup vg00 : 180288 MB
Unallocated capac. in Volumegroup vg00 : 99648 MB
Filesystemcapacity in Volumegroup vg00 total : 81939 MB
Filesystemcapacity in Volumegroup vg00 used : 42495 MB
Filesystemcapacity in Volumegroup vg00 available : 39412 MB
================================================================
LVM Overview
Primary AlternateLog.Volume Size/PE Free/PE MinorNr Filesys LVSize Mirrors Mount Point Controller/Product/HW Path
c0t6d0 vg00/lvol1 4374 1557 000001 hfs 320 1 /stand SCSI/SCSI (ST3146707LC)-0/0/0/3/0.6.0
vg00/lvol2 000002 raw 4096 1 ***swap***
vg00/lvol3 000003 vxfs5 576 1 /
vg00/lvol4 000004 vxfs5 1024 1 /tmp
vg00/lvol5 000005 vxfs5 32 1 /home
vg00/lvol6 000006 vxfs5 40000 1 /opt
vg00/lvol7 000007 vxfs5 20000 1 /usr
vg00/lvol8 000008 vxfs5 20000 1 /var
vg00/lvolswap2 000009 raw 4096 1 ***swap***
c0t5d0 vg00/lvol1 4374 1557 000001 hfs 320 1 /stand SCSI/SCSI (ST3146707LC)-0/0/0/3/0.5.0
vg00/lvol2 000002 raw 4096 1 ***swap***
vg00/lvol3 000003 vxfs5 576 1 /
vg00/lvol4 000004 vxfs5 1024 1 /tmp
vg00/lvol5 000005 vxfs5 32 1 /home
vg00/lvol6 000006 vxfs5 40000 1 /opt
vg00/lvol7 000007 vxfs5 20000 1 /usr
vg00/lvol8 000008 vxfs5 20000 1 /var
vg00/lvolswap2 000009 raw 4096 1 ***swap***
What is procedure to get this done..? I need to go to runlevel 1 to to that or ?? Valid backup is mandatory, but can I use 2nd disk who is in mirroring with first as some sort of backup (remove him and that boot system with only one disk, if anything happed, I will shutdown, insert 2nd disk, and boot from him, and than he will "synchronize" 1st hdd with himself) ??
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 06:42 AM
01-23-2008 06:42 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
The Examples section of the lvextend man page gives you the basics.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 06:46 AM
01-23-2008 06:46 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
or
create another filesystem somewhere else, move the directory out of /opt and replace with link to new directory / filesystem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 06:54 AM
01-23-2008 06:54 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
And what is whit backup, can I do it with upper procedure (remove 2nd disk who is in mirror, and if everything is ok, put it back, or if it not, put it back 2nd disk, and boot from him)???
I have proposed that customer buy additional disks (there is with this server, rp7420, additional hdd shelf 2120, who can be used to put new hdd's to him, and to make new volume group vg01, and to copy from /opt database files to this new location, then to mount this new vg01 to some mount point in /opt). They will see what to do ...
ok. I need to go to runlevel 1, then it is only standard procedure to extend /opt .. ???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 07:59 AM
01-23-2008 07:59 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
Like I said before it depends on your server and what is running on it.
"man lvextend" has an very clear example at the bottom of the man page (last 4 commands).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 08:17 AM
01-23-2008 08:17 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
lvextend -L NEW_SIZE /dev/vg00/lvol6
extendfs /dev/vg00/rlvol6
reboot or init 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 08:37 AM
01-23-2008 08:37 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
Why is your /usr 20GB? You should leave /usr for system use, do you have a lot installed in /usr/local?
Also /opt is 40GB, this means that you install all your add-on software under /opt. You can use vg01 as you proposed or you can create a separate volume and install your add-on softwre under it. Do not put any system related software on a separate mount point, try to keep it under /opt.
Your /var seems to be oversized as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2008 08:46 AM
01-23-2008 08:46 AM
Re: Extending /opt without OnlineJFS (FOE Edition of 11.23)
Pete
Pete