- Community Home
- >
- Storage
- >
- Entry Storage Systems
- >
- Disk Enclosures
- >
- Re: How to extend vg ?
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-10-2004 09:09 PM
тАО05-10-2004 09:09 PM
How to extend vg ?
I have a small problem with vg.
For a long time I've created a lv bigger than 130Gb (exactly:200Gb):
mknod /dev/vg01/group c 64 0x010000
pvcreate /dev/rdsk/c3t3d0
vgcreate -s 32 /dev/vg01 /dev/dsk/c3t3d0
vgextend /dev/vg01 /dev/dsk/c3t3d0
lvcreate -l 6250 -n lv_raid /dev/vg01
newfs -F vxfs /dev/vg01/rlv_raid
But now, is my raid 100% full, and I need to extend it. And the problem is I have very important files on it. So if someone can give me an advice how to do it safe and without lost of data.
I'm very grateful for any advice !
Bye !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 09:55 PM
тАО05-10-2004 09:55 PM
Re: How to extend vg ?
you could add another LUN or another disk to VG01, then you can enlarge the LVOL without a problem.
good luck,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 10:30 PM
тАО05-10-2004 10:30 PM
Re: How to extend vg ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 10:32 PM
тАО05-10-2004 10:32 PM
Re: How to extend vg ?
If you got online JFS installed could do them without umounting them.
swlist |grep -v jfs
regds
Naveej
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 11:03 PM
тАО05-10-2004 11:03 PM
Re: How to extend vg ?
you can only extend an LVOL in the same VG.
But you could create a new mount point (new LVOL --> new or other VG?) for a subdirectory of the current mount point.
regards,
Thierry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-10-2004 11:34 PM
тАО05-10-2004 11:34 PM
Re: How to extend vg ?
I have one raid system (700Gb) and there is defined one vg on it (vg01->700Gb). There is, until now, only one lv (lv_raid) with 200Gb ( it's extended over default 130Gb! ).
I can not add any other physical disks.
Now I have to extend lv_raid to ~300Gb without to lose any data.
What is yours proposal ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-11-2004 02:43 AM
тАО05-11-2004 02:43 AM
Re: How to extend vg ?
#vgdisplay -v /dev/vg01 | more
Look for Free PE .
Multiply the number of free PE by then PE size (Mbytes ) .
That should give you the total amount of free space in MB in vg01 .
If you have atleast 100 Gb of sapce then you can increase you logcal volume . If not then you need to add another LUN to this VG .
assuming that if you have space then do the following :
#lvextend -L 322122 /dev/g01/lv_raid .
this should increase the size of your logical volume but not the file system .
Now check if you have online JFS :
#swlist | grep -i onlinejfs .
If it retirens something like HP OnlineJFS , then you have it .
Then do the following :
#fsadm -F vxfs -b 322122M /your_mount_point .
Thats it . Now check with bdf that you have the required space . Check also with lvdisplay and vgdisplay .
Now if you don't have online JFS then do the following .
Ensure that no processes is occupying the file system mounted on your lv_raid volume by shutting down all applications adn database .
unmount the filesystem mounted on /dev/vg01/lv_raid .
then do :
#extendfs -F vxfs /dev/vg01/rlv_raid .
On succesfull completion mount the logical volume back on the mount point .
check with bdf,lvdisplay,vgdisplay .
start your apps/database .
Note : This is all assuming you have JFS file system .