- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need to extend /dev/vg00/lvol3 "/" mount poi...
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-23-2006 04:41 AM
тАО01-23-2006 04:41 AM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
I have exteneded root when the next lvol was home - by creating a new /home, lvremoving the old home lvol, then extending /
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 04:44 AM
тАО01-23-2006 04:44 AM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
My next lvol is mount point /tmp. I could dismount it and move it, however I have the following processes active. Can I shut these down and restart them after I move /tmp?
# fuser -uc /tmp
/tmp: 1112o(root) 1121o(root) 1129o(root) 1145o(root) 1765o(root)
(stlpora4:/)
# ps -ef|grep 1112
root 1112 1 0 Jan 21 ? 0:00 /usr/sbin/hp_unixagt
root 10526 8494 0 11:43:05 pts/0 0:00 grep 1112
(stlpora4:/)
# ps -ef |grep 1121
root 1121 1 0 Jan 21 ? 0:03 /usr/sbin/ipv6agt
root 13395 8494 0 11:43:19 pts/0 0:00 grep 1121
(stlpora4:/)
# ps -ef|grep 1129
root 1129 1 0 Jan 21 ? 0:04 /usr/sbin/mib2agt
root 13406 8494 0 11:43:28 pts/0 0:00 grep 1129
(stlpora4:/)
# ps -ef|grep 1145
root 1145 1 0 Jan 21 ? 0:00 /usr/sbin/trapdestagt
root 13410 8494 0 11:43:37 pts/0 0:00 grep 1145
(stlpora4:/)
# ps -ef|grep 1765
root 1765 1 0 Jan 21 ? 0:12 /opt/VRTSob/bin/vxsvc -r /opt/VRTSob/config/Registry
root 13412 8494 0 11:43:43 pts/0 0:00 grep 1765
Thanks!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 04:56 AM
тАО01-23-2006 04:56 AM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
If the log '/etc/Navisphere/log/navimon.log' is large and giving you space constraints, consider making it a symbolic link to a file that resides (for instance) in '/var'.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 05:00 AM
тАО01-23-2006 05:00 AM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
follow this step. create another lvm for the lvol4 and lvol5. Then tar the data unto the newlvols after mounting. If those file systems lvol4 and lvol5 are not being used, then juggle the names around and i.e filesystems names, umount lvol3 and lvol4. then delete to free space and extend your lvol3.
This will only work if you are sure the next space to lvol3 is actually being used by lvol4 and lvol5.
You cannot move files since you have only 2 drives that are mirrored. This lvol4 and lvol5 are presently on those drives.
The other way which is not advisable is to remove the mirrors on lvol3 and lvol4.
Then the trickish part and this must be carefully done.
remove lvol4 and lvol4 mirror. lvol3 reside in drive A and lvol4 reside in drive B
Since you have removed lvol4 from drive A, the nest sectors would be free for lvol3 up to the space for lvol4 size. this is very clumsey because you would not be able to mirror the lvol3 which is important to file system again.
So the best advise is to use the former.
create new FS for lvol4 and lvol5.
tar content of lvol4 and lvol5 to the new FS
umount lvol4 and lvol5 and confirm newlvols are working well.
remove lvol4 and lvol5
extend lvol3 upto the size of lvol4 and lvol5.
You must not delete lvol4 before creating newlvol5, else the newlvol5 would occupy the space you just created.
However, you may extend lvol3 after deleting lvol4.
hope you are not confused.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 01:36 PM
тАО01-23-2006 01:36 PM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
If you use HP-UX 11.23 you can extend it online
The best way to extend it is ignite:
1, Ignite all lvm in vg00
2, restore it. At beginning step you can extend / file system
HTH
tienna
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-23-2006 03:39 PM
тАО01-23-2006 03:39 PM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
It is possible. You can use the un-official procedure for extending root/swap in your case .. I'm attaching a document for the same. It's having official (through Ignite-Ux) & Un-Official ( Through Manual Copy of vg00).
Hope this will help you..
Shameer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-05-2013 11:50 PM
тАО11-05-2013 11:50 PM
Re: Need to extend /dev/vg00/lvol3 "/" mount point
this is what i did.
assumption:
primary disk - /dev/dsk/c2t1d0
secondary disk - /dev/dsk/c2t0d0
lvol1 - lvol6
unmirror lvol4-lvol6 from primary disk (to provide contiguous free space for lvol3)
#lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c2t1d0
#lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t1d0
#lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c2t1d0
unmirror lvol3 from secondary disk (if not done lvol3 extension will fail because contiguous space is not freed yet on secondary disk)
#lvreduce -m 0 /dev/vg00/lvol3 /dev/dsk/c2t0d0
verify lvol4-lvol5 in /dev/dsk/c2t0d0
#lvdisplay -v /dev/vg00/lvol4
#lvdisplay -v /dev/vg00/lvol5
#lvdisplay -v /dev/vg00/lvol6
verify lvol3 in /dev/dsk/c2t1d0
#lvdisplay -v /dev/vg00/lvol3
increase lvol3
#lvextend -L 1024 /dev/vg00/lvol3
#fsadm -F vxfs -b 1024m /
mirror back the lvol4-lvol6 on primary disk
#lvextend тАУm 1 /dev/vg00/lvol4 /dev/dsk/c2t1d0
#lvextend тАУm 1 /dev/vg00/lvol5 /dev/dsk/c2t1d0
#lvextend тАУm 1 /dev/vg00/lvol6 /dev/dsk/c2t1d0
unmirror lvol4-lvol6 from secondary disk (to provide contiguous free space for lvol3)
#lvreduce -m 0 /dev/vg00/lvol4 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t0d0
#lvreduce -m 0 /dev/vg00/lvol6 /dev/dsk/c2t0d0
FIRST, mirror vol3 to secondary disk then followed by others
#lvextend -m 1 /dev/vg00/lvol3 /dev/dsk/c2t0d0
#lvextend -m 1 /dev/vg00/lvol4 /dev/dsk/c2t0d0
#lvextend -m 1 /dev/vg00/lvol5 /dev/dsk/c2t0d0
#lvextend -m 1 /dev/vg00/lvol6 /dev/dsk/c2t0d0
- « Previous
-
- 1
- 2
- Next »