Sponsored Content
Full Discussion: problem mirroring swap
Operating Systems HP-UX problem mirroring swap Post 302136943 by Perderabo on Thursday 20th of September 2007 03:25:31 PM
Old 09-20-2007
Quote:
Originally Posted by csaunders
Im following the directions from


but when i run the command i get this error

lvextend -m l /dev/vg00/lvol2 /dev/dsk/c2t1d0
Usage: lvextend
[-A Autobackup]
{-l LogicalExtentsNumber |
-L LogicalVolumeSize}
LogicalVolumePath [ PhysicalVolumePath... | PhysicalVolumeGroupName... ]
"m": Illegal option.


any ideas


For one thing, you need a "one" not a "lower case l". But if are getting "m illegal option", it sounds like you don't have MirrorDisk/UX installed. The lvextend man page says "The -m option is only meaningful if the optional HP MirrorDisk/UX software has been installed on the system."
 

10 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

problem with swap space

I have sun solaris 8 for intell with 128m physiccal ram and swap of 148. Oracle requires to have 512M swap space. Is there a way I can change the swap space on intell machine without repartioning the box:? what if i create a link to /swap from another place???? pls advise Jigar (1 Reply)
Discussion started by: jigarlakhani
1 Replies

2. UNIX for Advanced & Expert Users

swap problem

Hi all, when I execute a below script, I'm getting the following error, how can I solve it. $ sim_rep1.sh ====================== swap space below 10 percent free Unable to obtain requested swap space ======================== Thanks Krishna (1 Reply)
Discussion started by: krishna
1 Replies

3. UNIX for Dummies Questions & Answers

mirroring problem

My company had purchased a Pro Model hard disk duplicator a couple of years ago and has used it successfully until our disk drive vendor stopped production of the currently used drives and offered us what they considder to be a direct replacement drive. On these new drives everything matches the... (3 Replies)
Discussion started by: crazykelso
3 Replies

4. UNIX for Advanced & Expert Users

Swap Space Problem?

Over the last couple of days my laptop has been stalling terribly on bootup and when starting up applications (even a terminal takes ages to come up) Whilst trying to figure out whats happened I noticed that nothing is being swapped out. Output from top command shows that I have approx 500mb... (2 Replies)
Discussion started by: silvaman
2 Replies

5. AIX

problem with swap

Good morning I have a problem with a partition (P570). A user's process take all the memory, and the swap. So the partition shutdown. How can I limit a process to not take all the swap ? (4 Go of memroy, 1 Go of swap) thank you (2 Replies)
Discussion started by: pascalbout
2 Replies

6. UNIX and Linux Applications

/dev/swap problem

Hi I am sory but my english is very BAD:mad: I have a problem with UnixWare 7.1.1 When I start the pc i have a message "/sbin/swap can¨t determine size /dev/swap" ??? Please help me (0 Replies)
Discussion started by: alminpulic
0 Replies

7. Solaris

problem with mirroring

Hello, i'm pretty new in using solaris (5.10) and i'm kind of stuck with one problem. I'm trying to create a disk mirror cause of data redundancy. I've installed second disk in my system, prepared everything for creating a mirror (by following the instructions) and don't get any responce for... (7 Replies)
Discussion started by: n00b
7 Replies

8. UNIX for Advanced & Expert Users

Swap space problem

Hy! Recently i had a problem with one of mine Tru64 machines. It started to kill processes because of low amount of swap space. It said that it went below 10 %. But when i ran swapon -s it said: In-use space: 12 % So, the system couldn't accept any new ssh connections plus it killed most of... (1 Reply)
Discussion started by: veccinho
1 Replies

9. AIX

Problem of varyon with a dead disk in mirroring

Hello, On a RS6000 server I have two disks (hdisk0 and hdisk1) which are mirrored in a logical volume rootvg. Yesterday one of these disks failed. Diagnosis, physical death. It has therefore been replaced by a brand-new. In terms of parameters, hdisk1 is now N# 1 in bootlist,... (2 Replies)
Discussion started by: titione
2 Replies

10. Solaris

Problem with Swap consumption

Hi Experts, I have M4000 server with 132 GB Physical memory. 4 sparse zones are running under this server, which are running multiple applications. I am not getting any pointer, where swap space is getting consumed. Almost 97% of swap space is being used. I checked all /tmp (of zones as well),... (7 Replies)
Discussion started by: solaris_1977
7 Replies
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)
All times are GMT -4. The time now is 08:47 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy