09-08-2010
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I am using the shell script file to send mail by "mailx". I do this by cron job, there is no error found. But it is fail, any suggest to me?
How can I resend it automatically? Is there any resend logic by using the mailx? (3 Replies)
Discussion started by: adela
3 Replies
2. Shell Programming and Scripting
I am running HPUX and using WLM (workload manager). I want to write a script to fork CPUs to basically take CPUs from other servers to show that the communication is working and CPU licensing is working. Basically, I want to build a script that will use up CPU on a server. Any ideas? (2 Replies)
Discussion started by: cpolikowsky
2 Replies
3. Shell Programming and Scripting
I've a lot of file with an hyphen on filename, so I use rename for remove him ad substitute with an underscore but it fails
$ rename 's/\-/\_/' *
Unknown option: _
Unknown option: i
Unknown option: r
Unknown option: e
Unknown option: e
Unknown option: _
Unknown option: g
Unknown... (12 Replies)
Discussion started by: cv313x
12 Replies
4. HP-UX
Hi
I had extended one of the FS yesterday as rsync was failing and the temp solution was to extend it to 4GB while we worked on cron script.
spthrv01:/root# bdf /p05
Filesystem kbytes used avail %used Mounted on
/dev/vg232/lvol1 130940928 82208608 48385792 63% /p05
... (5 Replies)
Discussion started by: hedkandi
5 Replies
5. HP-UX
i'm trying to vgimport the map file from vgexport -p -v -s -m to fail over node (adoptive node in service guard).
root@noe04:/etc/cmcluster/icasprd$ vgimport -s -m gicasprd.110810.map /dev/vgicasprd
vgimport: Volume group "/dev/vgicasprd" already exists in the "/etc/lvmtab" file.
the... (2 Replies)
Discussion started by: lamoul
2 Replies
6. HP-UX
I'm sharing this in case anybody needs it. Modified from the original solaris pwage script. This modified hpux script will check /etc/password file on hpux trusted systems search /tcb and grep the required u_succhg field. Calculate days to expiry and notify users via email.
original solaris... (2 Replies)
Discussion started by: sparcguy
2 Replies
7. AIX
This is a LPAR that i created earlier.
I want to set an IP address to en0 but it failed.
Command: failed stdout: yes stderr: no
Before command completion, additional instructions may appear below.
en0
devdbm01
inet0 changed
Method error (/usr/lib/methods/chgif):
... (8 Replies)
Discussion started by: wingcross
8 Replies
8. HP-UX
HPUX running in D-Class (L1000), pretty old HPUX version - hpux 11.00
Attempt 1 -- To boot from normal (primary)
Unable to boot - system complains failure
SYSTEM ALERT System Name : uninitialized DATE : 10/22/2011 Time : 03/41:12 Alert Level 15 = Fatal hardware or configuration... (12 Replies)
Discussion started by: ckwan
12 Replies
9. Linux
Hi,
I try to telnet to server:
# telnet xx.xxx.1.72 1521
Trying xx.xxx.1.72...
telnet: connect to address xx.xxx.1.72: Connection refused
telnet: Unable to connect to remote host: Connection refused
iptables is off:
# service iptables status
Firewall is stopped.
#
And I have edit... (4 Replies)
Discussion started by: mehrdad68
4 Replies
10. Shell Programming and Scripting
Hi Team,
I have a file named as follows: aaa.tar.gz
Now I need to verify if the untar fails, then the script has to send a mail. In order to check this condition, I need a tar.gz file which is unable to untar it. Can anyone help me to create a file which I will be able to unzip successfully... (2 Replies)
Discussion started by: kmanivan82
2 Replies
LEARN ABOUT SUNOS
vgextend
VGEXTEND(8) System Manager's Manual VGEXTEND(8)
NAME
vgextend - add physical volumes to a volume group
SYNOPSIS
vgextend [-A|--autobackup y|n] [-d|--debug] [-h|-?|--help] [--restoremissing] [-f|--force] [-t|--test] [-v|--verbose] [ PHYSICAL DEVICE
OPTIONS ] VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...]
DESCRIPTION
vgextend allows you to add one or more initialized physical volumes ( see pvcreate(8) ) to an existing volume group to extend it in size.
Moreover, it allows you to re-add a physical volume that has gone missing previously, due to a transient device failure, without re-ini-
tialising it. Use vgextend --restoremissing to that effect.
If PhysicalDevicePath was not previously configured for LVM with pvcreate (8), the device will be initialized with the same default values
used with pvcreate. If non-default pvcreate values are are desired, they may be given on the commandline with the same options as pvcre-
ate. See PHYSICAL DEVICE OPTIONS for available options. Note that the restore-related options such as --restorefile, --uuid, and --physi-
calvolumesize are not available. If a restore operation is needed, use pvcreate (8) and vgcfgrestore (8).
OPTIONS
See lvm for common options.
PHYSICAL DEVICE OPTIONS
The following options are available for initializing physical devices in the volume group. These options are further described in the
pvcreate man page.
-f, --force
-y, --yes
-Z, --zero y|n
--labelsector sector
--metadatasize size
[--metadataignorey|n]
--pvmetadatacopies copies
--dataalignment alignment
--dataalignmentoffset alignment_offset
Examples
"vgextend vg00 /dev/sda4 /dev/sdn1" tries to extend the existing volume group "vg00" by the new physical volumes (see pvcreate(8) )
"/dev/sdn1" and /dev/sda4".
SEE ALSO
lvm(8), vgcreate(8), vgreduce(8), pvcreate(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) VGEXTEND(8)