Sponsored Content
Full Discussion: expanding the size of vg
Operating Systems AIX expanding the size of vg Post 302247683 by bakunin on Thursday 16th of October 2008 08:04:50 AM
Old 10-16-2008
Quote:
Originally Posted by manoj.solaris
I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb,
You can do so with certain SAN subsystems, but not all. IIRC DS8xxx models can do that but (older?) DS4xxx models can't.


Quote:
1)wheather i have to umount that partition on aix side before increasing the size of lun on storage side or directly I can increase directly size of lun storage side
No LUN is "mounted", because a LUN is neither a FS nor does it resemble one. A LUN is analogous to a (physical) disk. Physical disks (PVs) are merged into volume groups (VGs) on which logical volumes (LVs) are created on which in turn filesystems (FSs) could be created. Only these filesystems are mounted, not the other logical entities.

(Sorry for maybe being overly exact, i have seen people not being able to grasp the differences mentioned above and for that reason not being able to use LVM correctly.)

If you mean to "varyoff" the VG during the change: no, this is not necessary. Either the SAN subsystem can do dynamic changes of LUNs, then you can do it during uptimes or the SAN subsystem can't do that, then you will have to create a new (bigger) LUN, add it to the VG (extendvg) , move the LVs to the new LUN (migratepv), get the old LUN out of the VG (reducevg) and delete it. It might be sensible to do that during downtime because of performance degradation (depends on your system and what it does), but it is not necessary.

Quote:
2)wheather i have use any other command along with extendvg
See above, that depends on what your subsystem supports and how a possible degradation of disk performance may interfere with the goals of your installation. Only you can take this decision, because you know your system best.

I hope this helps.

bakunin
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

tar expanding trouble

Hello, I have just download a .tar.gz when I run: $tar x *.tar.gz or even $tar z *.tar.gz this is the error I get tar: can't open /dev/sa0 : Device not configured How do I reconfigure the device so that it expands the file in it's current location? Thanks so much for your help! (4 Replies)
Discussion started by: TAT2ME74
4 Replies

2. Shell Programming and Scripting

expanding standard terminal size

what is the Ksh syntax to expand/change the geometry of the running terminal window? thanks (6 Replies)
Discussion started by: prkfriryce
6 Replies

3. Shell Programming and Scripting

Expanding shell variable

I have a question about expanding shell variables. Given the following piece of script: a="Some text" b="Other text" for i in a b do string1=$i echo $string1 --> returns 'a' string2=EXPRESSION_WITH_$i echo $string2 --> returns 'Some text' done ... (2 Replies)
Discussion started by: lonar
2 Replies

4. Shell Programming and Scripting

expanding alias from a variable

Hi ! I am making my first steps to make a script. Therefore i try to make a scp command more easier. Given is the following alias: 14='admin@x-abcd-def.xyz Now i want to let the script read three var's from the console to use them in the script and then build the scp string. echo... (7 Replies)
Discussion started by: locutus01
7 Replies

5. Linux

Expanding slice

Hi all I am testing backupPC as a backup solution for machines, as far as i knew, backuppc cannot combine more than storage from different slices so it have to be in one slice my question is, what is the easy way to offer a virtual logical drive expanded/expandable to backuppc, i mean i want to... (1 Reply)
Discussion started by: XP_2600
1 Replies

6. Shell Programming and Scripting

Expanding regex in quote

Hi Experts, I'm trying to match and perform the substitution (below) but failed. <File1> Attributes = "SampleAttributes" Attributes1 = "SampleAttributes1" Command: grep Attributes File1 | sed 's|Attributes\s=\s\"\"|Attributes = \"ReplaceAttributes\"|' Any ideas? :( (2 Replies)
Discussion started by: antderu
2 Replies

7. Solaris

expanding RAM

our sparc server has only 1Gb RAM. Since RAM is not very expensive anymore, it seems like a good idea to upgrade it. will it make server (and database on it) faster? I hope it would less 'abuse' hard drive.. (6 Replies)
Discussion started by: orange47
6 Replies

8. Shell Programming and Scripting

Expanding a globed variable name

Heyas I'm trying to give some information on used variables. While the first two work fine, the ones starting with a glob (is that the proper term?) fail. echo ${!TUI_*} ${!RET_*} ${!*_CLI} ${!*\_GUI} bash: ${!*_CLI}: bad substitution Same with @ or have them escaped. I found no... (2 Replies)
Discussion started by: sea
2 Replies

9. Shell Programming and Scripting

Longlist files without expanding

Hi, I want to long list files within a file.tar.Z/file.tar.gz file. I tried these: I'm working on HP UX 11iV3 OS tar -tvzf file.tar.gz -->not working as 'z' is not supported gunzip -c file.tar.gz | tar tvf - -->does this unizip the tar file? i don't want it to be unzipped. ... (1 Reply)
Discussion started by: sam_bd
1 Replies

10. UNIX for Beginners Questions & Answers

Sed variable not expanding

I have also some difficulty calling sed to change a word in a file. sed -i 's/docTitl/Outline ${docTitl}/g' $ofln Moved to new thread, since it is a different question (3 Replies)
Discussion started by: Danette
3 Replies
ql-dynamic-tgt-disc(8)					       System Administration					    ql-dynamic-tgt-disc(8)

NAME
ql-dynamic-tgt-lun-disc - Scans for newly added LUNs. SYNOPSIS
ql-dynamic-tgt-lun-disc [OPTIONS] DESCRIPTION
Dynamic TGT-LUN Discovery Utility This utility scans for newly added LUNs. After adding new LUNs, you do not need to unload, then load the QLogic FC driver or reboot the system To begin scanning the LUNs issue following command: # /usr/sbin/ql-dynamic-tgt-lun-disc -al, --allow-lip LIP is not issued by default, even if it is required for scanning new LUNs Setting this option, allows the utility to issue LIP. -cl, --current-luns Displays LUNS currently present -e, --extended-scan Use this option as "-e | --extended-scan". to rescan LUNs. This will identify any change in attributes of existing LUNs. This option can be used in combination of scan/refresh or max luns -h, --help, ? Prints this help message -i, --interactive Use this option to use the menu driven program -is, --iscsi Use this option to operate on ISCSI HBAs, this option can be used in combination of any other supported option. -m, --max-lun To set the maximum LUNs to be scanned -p, --proc Use PROC file system for LUN scanning -r, --refresh To refresh, that is remove LUNs that are lost use the options "-r|--refresh". This will remove the LUNs which no more exist. -s, --scan [ -r|--refresh ] The QLogic LUN scan utility re-scans all the devices connected to the QLogic HBA SEE ALSO
ql-lun-state-online(8), ql-hba-snapshot(8), ql-set-cmd-timeout(8) Matthias Schmitz <;matthias@sigxcpu.org> July 2009 ql-dynamic-tgt-disc(8)
All times are GMT -4. The time now is 12:23 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy