- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: extend logical volume
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-26-2004 11:22 PM
07-26-2004 11:22 PM
extend logical volume
I am new to hp unix. I need to extend /opt file system to 1600 MB now in 800 MB. let me know i can extend lv through SAM without single user mode.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:25 PM
07-26-2004 11:25 PM
Re: extend logical volume
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:31 PM
07-26-2004 11:31 PM
Re: extend logical volume
Have a look at the link below. That will guide you properly.
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=51908
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:33 PM
07-26-2004 11:33 PM
Re: extend logical volume
then my option is boot through single user mode then lvextend, umount the file system and extendvs. is it correct?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2004 11:36 PM
07-26-2004 11:36 PM
Re: extend logical volume
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 12:15 AM
07-27-2004 12:15 AM
Re: extend logical volume
Post your swlist,bdf, vgdisplay -v
TT
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 12:18 AM
07-27-2004 12:18 AM
Re: extend logical volume
http://www.docs.hp.com/hpux/onlinedocs/B2355-90672/00/00/48-con.html (see lvextend, fsadm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 01:04 AM
07-27-2004 01:04 AM
Re: extend logical volume
swlist -l product |grep Online
If you got Online JFS
extend the LV using lvextend and extend filesystem using fsadm.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 06:10 PM
07-27-2004 06:10 PM
Re: extend logical volume
Please see attached file which I hope will help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 01:34 AM
07-28-2004 01:34 AM
Re: extend logical volume
#bdf /opt
-> %/dev/vg01/lvol3 /opt
2.kill users using this volume group
#fuser -ku /dev/vg01/lvol3
4. Increase the size of a file system existing on a logical volume.
First, increase the size of the logical volume.
#lvextend -L 1600 /dev/vg01/lvol3
Unmount the file system.
#umount /dev/vg01/lvol3
Extend the file system to occupy the entire (larger) logical volume.
#extendfs /dev/vg01/rlvol3
Remount the file system.
#mount /dev/vg01/lvol3 /opt
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2004 02:16 AM
07-28-2004 02:16 AM
Re: extend logical volume
$ swlist |grep HPUX11i
will tell you that.
Second, you have to have enough PE in the volume group. To find out, type
$ vgdisplay -v vg00 |more
Find Free PE. Default size for a PE is 4MB. If there is no enough free PE, then you need to add more disk or LUN into vg00.
If you have both (Online JFS and free PE), you can expand /opt online by
# lvextend -L 1600 /dev/vg00/lvolxxx
# fsadm -F vxfs -b 1600000 /opt
where -b is in block of KB (not MB).
Good luck
- Jerry