- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: The best way to extend
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
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
тАО07-11-2003 04:07 AM
тАО07-11-2003 04:07 AM
on HP Unix 10.20.
What is the best way to extend /dev/vg02/lvol3
which is 70% full taking the space from
/dev/vg02/lvol4 which is only 31% and not needed.
/dev/vg02/lvol3 255253 16085368874 70% /var/opt/app/sonae
/dev/vg02/lvol4 3542433 1003169 2185020 31% /p02
/dev/vg02/lvol1 6291456 2484399 3569119 41% /d02
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2003 04:12 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2003 04:12 AM
тАО07-11-2003 04:12 AM
Re: The best way to extend
best way is reported in this thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x429c3f9a15add711abdc0090277a778c,00.html
either solution with fsadm, in you have onlinejfs, or without.
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2003 04:13 AM
тАО07-11-2003 04:13 AM
Re: The best way to extend
umount them both
lvremove the one thats too big.
lvremove /dev/vg02/lvol4
lvcreate -C n -n name (if you want a name) /dev/vg02
lvexend -L #### /dev/vg02/lvol4 /dev/dsk/c#t#d#
(replace the # signs first set is in Megabytes)
newfs -F vxfs /dev/vg02/rlvol4
lvextend -L
extendfs -F vxfs /dev/vg02/rlvol4
mount the two filesystems
Restore the one you deleted.
lvreduce might save time, but I don't use it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-11-2003 04:17 AM
тАО07-11-2003 04:17 AM
Re: The best way to extend
I have been in the same situation a day ago.
I paste here the solution I have found with the very useful help in this forum:
the solution for /home and /var directories was:
- shutdown 0 (Single user mode)
- mount /var and /home
- backup them
- umount both
- lvremove /dev/vg_name/lv_nme (twice)
- lvcreate -L new_size_in_megas -n lv_name /dev/vg_name (twice)
- newfs -F vxfs /dev/vg_name/rlv_name (twice)
- mount again /var /home
- restore backup.
check the thread:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x429c3f9a15add711abdc0090277a778c,00.html
HTH
Frank.