10-16-2008
expanding the size of vg
Hi,
I have created the lun of 15gb and assigned to aix,but now I want to expand the size of lun 15gb to 30gb,
I am having following queries.
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
2)wheather i have use any other command along with extendvg
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
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
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
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
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
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
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
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
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
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
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
LEARN ABOUT OPENSOLARIS
sbdadm
sbdadm(1M) System Administration Commands sbdadm(1M)
NAME
sbdadm - SCSI Block Disk command line interface
SYNOPSIS
sbdadm create-lu [-s, --size size] filename
sbdadm delete-lu lu_name
sbdadm import-lu lu_name
sbdadm list-lu lu_name
sbdadm modify-lu [-s, --size size] lu_name | filename
DESCRIPTION
The sbdadm command creates and manages SCSI-block-device-based logical units that are registered with the SCSI Target Mode Framework
(STMF).
SUB-COMMANDS
The sbdadm command supports the subcommands listed below. Note that if you enter a question mark as an argument to the command (sbdadm ?),
sbdadm responds with a help display.
create-lu [-s, --size size] filename
Create a logical unit that can be registered with the STMF. For the -s option, size is an integer followed by one of the following let-
ters, to indicate a unit of size:
k kilobyte
m megabyte
g gigabyte
t terabyte
p petabyte
e exabyte
If you do not specify size, the size defaults to the size of filename.
The size specified can exceed the size of the file or device.
delete-lu lu_name
Deletes an existing logical unit that was created using sbdadm create-lu. This effectively unloads the logical unit from the STMF
framework. Any existing data on the logical unit remains intact.
import-lu lu_name
Imports and loads a logical unit into the STMF that was previously created using sbdadm create-lu and was since deleted from the STMF
using sbdadm delete-lu. On success, the logical unit is again made available to the STMF. filename is the filename used in the sbdadm
create-lu command for this logical unit.
list-lu
List all logical units that were created using the sbdadm create-lu command.
modify-lu [-s, --size size] lu_name | filename
Modifies attributes of an logical unit created using the sbdadm create-lu command. For the -s option, size is an integer value followed
by a unit specifier. The unit specifiers are as described above under create-lu. When this option is specified, the existing size of
the logical unit is changed to the new size.
The size specified can exceed the size of the file or device represented by lu_name.
OPERANDS
sbdadm use the following operands:
filename
Name of an existing file or a fully qualified path to a raw block device.
lu_name
The 32-byte hexadecimal representation of the logical unit.
EXAMPLES
Example 1 Creating a Logical Unit
The following series of commands creates a 10-gigabyte logical unit.
# touch /export/lun/0
# sbdadm create-lu -s 10g /export/lun/0
# sbdadm create-lu /dev/rdsk/c1t1d0s0
Example 2 Listing Logical Units
The following command lists all logical units.
# sbdadm list-lu
Found 2 LU(s)
GUID DATA SIZE SOURCE
-------------------------------- ----------- ------
6000ae4000144f21d92c47b0dd650002 10737352704 /export/lun/0
6000ae4000144f21d92c47b0de300032 134283264 /dev/rdsk/c1t1d0s0
EXIT STATUS
0
Successful completion.
non-zero
An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWstmfu |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
SEE ALSO
stmfadm(1M), attributes(5)
SunOS 5.11 12 Jun 2008 sbdadm(1M)