Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Volume Group Question

Status
Not open for further replies.

mok123

Technical User
Dec 13, 2001
34
0
0
SG
Hi,

Need some enlightenment on volume group question.

Going into sam -> Disks and File Systems -> Volume Group -> Choose and view more information on vg13. Output results as follows:

View General Information for Volume Group: vg13
Volume Group Name: vg13
Activation Mode: Read/Write
Maximum Capacity (mbytes): 138944
Current Capacity (mbytes): 17360
Megabytes Used: 17280
Megabytes Free: 80
Max. No. of Logical Volumes: 255
Cur. No. of Logical Volumes: 2
Disk Capacity Limit (mbytes): 8684
Maximum Number of Disks: 16
Current Number of Disks: 2
Hot Spares Configured: 0


The questions:

1) Based on Max capacity (138944) and mbytes free (80), can I increase the capacity?
2) If can, by how much and how to do it?
3) If cannot, beside adding new harddisk, what else can I do?


Appreciate any replies on these.

Thanks

Mok
 
The way the volume group is configured now, you can add a new logical volume that is 80 MB, or you can add 80 MB to an existing logical volume in this volume group.

You can increase the capacity of the volume group by adding a new physical disk to the volume group. You currently have 2 disks in the volume group. You can add 14 more disks.

Maximum capacity tells you the largest the volume group can be. Current capacity tells you how much is currently allocated to the volume group.
 
Hi,

If you want to increase the existing logical volume to 80MB thr do this:

lvextend -L 80 /dev.vg13/"logical volume name"


If you want to create new logical volume on this volume:

lvcreate -L <size> -n <Lvname> /dev/<vgname>

If you are planning to add another disk to this volume group then do this after adding the disk:

lvextend -L <Size of logical volume> /dev/vg13/&quot;logical volume name&quot; /dev/dsh/<device file name

Hope this will help

Thanks

Venkatesh Joshi


 
1. you can reduce some LVs size and create large LV which you want. However you need to backup those LVs and restore the same.
2. Extend VG by adding disks to it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top