09-07-2014
You seem to want to extend /pdscustom… There are chances you may not that easily because too full : In order to be able to extend JFS need space to reorganize itself… if too full it can fail… I never wait for an JSF to be at 99%…
to extend you use fsadm command but Im in my bed with my laptop and no doc nearby…
The way I do it would be to unfragment/reorg the FS before then use fsadm
It can be done via SAM
My concern is the number of disks in vg01, since you have not given a full layout of the VG, we have not information of how the VG is organized and so we can't be more precise with the options/arguments to use for we know nothing more ( volume belongs to a PVG? is it striped? etc…)
10 More Discussions You Might Find Interesting
1. Programming
Hi everybody,
I have to write a module for matching in netfilter , extending the netfilter but I'm facing some problems can somebody guide me in that. I know that I need to write matching module working in kernel space and a program in userspace. I went through the HOWTO on netfilter-hacking but... (0 Replies)
Discussion started by: Trusted Penguin
0 Replies
2. Programming
Hello friends i'm trying to extend iptables to include a target by which we can change the packet type field of a packet.
For this i created a kernel module and a userspace extension.
Now i face the problem that when i try to invoke iptable with the target i created i get an error message saying... (1 Reply)
Discussion started by: Rakesh Ranjan
1 Replies
3. UNIX for Dummies Questions & Answers
Hi friends,
In my case, there are serveral PCs running Linux in a LAN.
I would like to to mount the directory /A_river of machine-A to the file system of another machine machine-B so that I can access files in that directory.
I do not know how to do this. The situation is complicated by... (2 Replies)
Discussion started by: cy163
2 Replies
4. Solaris
Hi all,
i need to extend /var file system on my solaris 10 box
/var is part of rootdg
current size 2GB
Required size 6GB
layout mirror
veritas 4.1
solaris 5.10
pls let me know the steps and the procedure to follow.
regards
Ajay S (2 Replies)
Discussion started by: ajays
2 Replies
5. AIX
Hi to all
i want to increase the /usr size.
but, it is mirrored on hdisk0 and hdisk1.
i know that chfs will work, but i am not confident about mirroring.
can anyone tell me the procedure.
thanks (2 Replies)
Discussion started by: honeym210
2 Replies
6. Red Hat
Hi All,
I have one VG on single PV /dev/sda3 with two LV
Physically after /dev/sda3 i have 40G unallocated
I want to extend /dev/sda3 + 40G and extend its VG, then extend last LV in VG to take new free space
What is correct procedure?
// I cannot create second PV after /dev/sda3 because of... (5 Replies)
Discussion started by: kactech
5 Replies
7. Solaris
Hi,
I currently have a Solaris 10 server with the / root file system using SVM. Here is the information of the current setup.
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d0 3.0G 635M 2.3G 22% /
bash-3.2# metastat d0
d0: Mirror
... (3 Replies)
Discussion started by: MR.bean
3 Replies
8. Red Hat
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (1 Reply)
Discussion started by: Mukul Sharma
1 Replies
9. Red Hat
I've to install Oracle binaries (I'm oracle DBA) and for that I've extend swap space in my home computer. My situation is like this.
# parted -s /dev/sda print free
Model: ATA VBOX HARDDISK (scsi)
Disk /dev/sda: 38.7GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
... (8 Replies)
Discussion started by: Mukul Sharma
8 Replies
10. Red Hat
Hello all,
I tried to extend my lvm today, found the following error,
lvextend -L +10G /dev/vg/a
Extending logical volume a to 60.21 GB
device-mapper: reload ioctl failed: Invalid argument
Failed to suspend a
Any help (7 Replies)
Discussion started by: gull05
7 Replies
LEARN ABOUT OPENSOLARIS
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] [--noudevsync] [-i|--stripes Stripes [-I|--stripesize
StripeSize]] {-l|--extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}] | -L|--size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]}
[-f|--force] [-n|--nofsck] [-r|--resizefs] [-t|--test] [-v|--verbose] LogicalVolumePath [PhysicalVolumePath[:PE[-PE]]...]
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.
--noudevsync
Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible
udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
ates.
-l, --extents [+]LogicalExtentsNumber[%{VG|LV|PVS|FREE|ORIGIN}]
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, as a percentage of the remaining free space in the
Volume Group with the suffix %FREE, or (for a snapshot) as a percentage of the total space in the Origin Logical Volume with the
suffix %ORIGIN. The resulting value is rounded upward.
-L, --size [+]LogicalVolumeSize[bBsSkKmMgGtTpPeE]
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)
-f, --force
Proceed with size extension without prompting.
-n, --nofsck
Do not perform fsck before extending filesystem when filesystem requires it. You may need to use --force to proceed with this
option.
-r, --resizefs
Resize underlying filesystem together with the logical volume using fsadm(8).
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.
"lvextend -L+16M vg01/lvol01 /dev/sda:8-9 /dev/sdb:8-9"
tries to extend a logical volume "vg01/lvol01" by 16MB using physical extents /dev/sda:8-9 and /dev/sdb:8-9 for allocation of extents.
SEE ALSO
fsadm(8), lvm(8), lvcreate(8), lvconvert(8), lvreduce(8), lvresize(8), lvchange(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVEXTEND(8)