02-17-2009
It does not look like there is much space. How do I see what disks are available to add to this vg?
HTML Code:
# lsvg vg01
VOLUME GROUP: vg01 VG IDENTIFIER: 000a8dac00004c00000000fc5ae7fa77
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 1092 (139776 megabytes)
MAX LVs: 256 FREE PPs: 7 (896 megabytes)
LVs: 26 USED PPs: 1085 (138880 megabytes)
OPEN LVs: 18 QUORUM: 2
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I need step-by-step on how to add more space to /apps in solaris. Currently df -hk:
/dev/md/dsk/d40 15G 13G 1.6G 90% /app
How much can I expand and how?
Thanks in advance. (2 Replies)
Discussion started by: simt
2 Replies
2. UNIX for Advanced & Expert Users
Now, i know a ufs file system can be increased using mkfs but hwo do I take space from a file system and add it to another file system? at my job here, that seems to be possible because I see request on it almost every day.
what is the exact command to do this and does the system need to be... (1 Reply)
Discussion started by: TRUEST
1 Replies
3. Solaris
is there a command that will display amount of free space...associated by filesystem name?
# df /home
/home (/dev/dsk/c1t0d0s3 ): 8069326 blocks 487280 files
HP has bdf:
bdf /home
Filesystem kbytes used ... (2 Replies)
Discussion started by: mr_manny
2 Replies
4. Filesystems, Disks and Memory
Hi,
Just wanted to confirm that what Im doing is correct to calculate the space allocated to filesystem:
>df -k .
Filesystem 1024-blocks Free %Used Iused %Iused Mounted on
/test 48720000 9337904 81% 14846 1% /home
The space allocated = 48720000/1024 =... (1 Reply)
Discussion started by: deepakgang
1 Replies
5. UNIX for Advanced & Expert Users
Hi All!
I need to create a new filesystem /u01 , using the existing space and giving 100GB space to /u01.
I can allocate 100Gb from / which is currently 145GB.
Following is the screen shot of my df command.
# df
Filesystem 1K-blocks Used Available Use% Mounted on... (4 Replies)
Discussion started by: nua7
4 Replies
6. HP-UX
Hello, I am trying to add space to my existing system and I need a little assistance determining if I have any disk space available to allocate. Here is what I have:
DISKS:
Class I H/W Path Driver S/W State H/W Type Description... (1 Reply)
Discussion started by: dkranes
1 Replies
7. Shell Programming and Scripting
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
Discussion started by: bigben1220
4 Replies
8. Solaris
Is there a way to mount a filesystem from the global zone to the local zone without rebooting the local zone?
I'm using a lofs filesystem..
any help is appreciated! thanks.. (4 Replies)
Discussion started by: BG_JrAdmin
4 Replies
9. UNIX for Dummies Questions & Answers
I am running HP-UX 11.31 ia64. The /usr filesystem shows 7 GB as the size, but the logical volume that is mounted there shows 13 GB. Is there a way to get the entire 13 GB to show up and why did this happen in the first place? (11 Replies)
Discussion started by: trojan28
11 Replies
LEARN ABOUT NETBSD
lvextend
LVEXTEND(8) System Manager's Manual LVEXTEND(8)
NAME
lvextend - extend the size of a logical volume
SYNOPSIS
lvextend [--alloc AllocationPolicy] [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [-i|--stripes Stripes [-I|--stripesize StripeSize]]
{-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE}] | -L|--size [+]LogicalVolumeSize[kKmMgGtT]} [-t|--test] [-v|--verbose] LogicalVol-
umePath [PhysicalVolumePath...]
DESCRIPTION
lvextend allows you to extend the size of a logical volume. Extension of snapshot logical volumes (see lvcreate(8) for information to cre-
ate snapshots) is supported as well. But to change the number of copies in a mirrored logical volume use lvconvert(8).
OPTIONS
See lvm for common options.
-l, --extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE}]
Extend or set the logical volume size in units of logical extents. With the + sign the value is added to the actual size of the
logical volume and without it, the value is taken as an absolute one. The number can also be expressed as a percentage of the total
space in the Volume Group with the suffix %VG, relative to the existing size of the Logical Volume with the suffix %LV, of the
remaining free space for the specified PhysicalVolume(s) with the suffix %PVS, or as a percentage of the remaining free space in the
Volume Group with the suffix %FREE.
-L, --size [+]LogicalVolumeSize[kKmMgGtTpPeE]
Extend or set the logical volume size in units of megabytes. A size suffix of M for megabytes, G for gigabytes, T for terabytes, P
for petabytes or E for exabytes is optional. With the + sign the value is added to the actual size of the logical volume and with-
out it, the value is taken as an absolute one.
-i, --stripes Stripes
Gives the number of stripes for the extension. Not applicable to LVs using the original metadata LVM format, which must use a sin-
gle value throughout.
-I, --stripesize StripeSize
Gives the number of kilobytes for the granularity of the stripes. Not applicable to LVs using the original metadata LVM format,
which must use a single value throughout.
StripeSize must be 2^n (n = 2 to 9)
Examples
"lvextend -L +54 /dev/vg01/lvol10 /dev/sdk3" tries to extend the size of that logical volume by 54MB on physical volume /dev/sdk3. This is
only possible if /dev/sdk3 is a member of volume group vg01 and there are enough free physical extents in it.
"lvextend /dev/vg01/lvol01 /dev/sdk3" tries to extend the size of that logical volume by the amount of free space on physical volume
/dev/sdk3. This is equivalent to specifying "-l +100%PVS" on the command line.
SEE ALSO
lvm(8), lvcreate(8), lvconvert(8), lvreduce(8), lvresize(8), lvchange(8)
Sistina Software UK LVM TOOLS 2.02.44-cvs (02-17-09) LVEXTEND(8)