- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: how extende file system
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
тАО05-26-2004 05:50 AM
тАО05-26-2004 05:50 AM
how extende file system
how to extend file system logical volum and physical volume?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 05:52 AM
тАО05-26-2004 05:52 AM
Re: how extende file system
Use vgextend to increase the size of VG and lvextend / extendfs / fsadm to extend the size of an existing lv.
http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/54-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/54-toc.html&searchterms=lvextend&queryid=20040526-115146
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:52 AM
тАО05-26-2004 07:52 AM
Re: how extende file system
let's assume you are trying to increase /dev/vg01/lvol5 mounted at /oracle from 1.5 GB to 2.0 GB as an example.
if you have the additional 500MB of free space in your vg01 volume group
lvextend -L 2000 /dev/vg01/lvol5
after this, if you have online JFS licensed and installed
fsadm -F vxfs -b 2000M /oracle
if you do not have online JFS on this server
umount /oracle
extendfs -F vxfs /dev/vg01/lvol5
mount /oracle
if you do not have any free space on vg01 but a new disk which is not being used by any volume group, lets assume its device files are :
/dev/dsk/c1t4d0
/dev/rdsk/c1t4d0
then you need to create the physical volume out of this disk first:
pvcreate /dev/rdsk/c1t4d0
then add this disk to your vg01
vgextend vg01 /dev/dsk/c1t4d0
then perform the steps from the top of this instructions.
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 12:34 PM
тАО05-26-2004 12:34 PM
Re: how extende file system
first and foremost, which logical volume are u extending and do u have online filesystem?
there are different approaches depending on which logical volume u are extending.
please reply.
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 06:10 PM
тАО05-26-2004 06:10 PM
Re: how extende file system
If u don't have the enough space in voloume group then u can follow below instruction.
To extend the physical volume use the following procedure
1)add the disk
2) ioscan -fnC disk
note:identify the new disk path
3)Create the physical volume
pvcreate -f /dev/rdsk/cXtXdX
4)extend the vg
vgextend /dev/vgXX /dev/dsk/cXtXdX
To extend the logical volume
1)umount the mount point
#umount /<
2)extend the logical volume
#lvextend -L <
#extendfs /dev/vgXX/rlvolX
3)mount the file system
#mount <
Thanx & Regards,
Suresh Patoria
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 06:38 PM
тАО05-26-2004 06:38 PM
Re: how extende file system
SAM will do it ;-)
But you must know what you want to do.
JP.