coolcommands.com - the search engine for unix sysadmins :: unix commands and scripts
Thursday September 9, 2010


 Home
 Search
 Advanced Search
 Category Search
 Affiliates
 Acknowledgements
 Cool Links

Username

Password

Remember me
Forgot your password?
Create an account

Who's Online
We have 27 guests online and 1 member online

Newest Member

santoshd

Hit Counter
4775896 Visitors

cool Statistics
coolcommands:1313
Categories:82
Total queries:524277
Members:4288





Search coolcommands.com
Search Keyword:


coolcommand

restvg - how to retsore a user volume group in IBM AIX
Description

To restore a user volume group and all its containers and files contained within the backup image created by the savevg command in IBM AIX:

# restvg [ -b Blocks ] [ -d FileName ][ -f Device ] [ -l ] [ -q ] [ -r ] [ -s ] [ -n ] [ -P PPsize ] [ DiskName ... ]

where:

-b Blocks : specifies the number of 512-byte blocks to read in a single input operation.

DiskName : sSpecifies the names of disk devices to be used instead of the disk devices listed in the vgname.data file.

-d FileName : this file will be used as the vgname.data file instead of the one contained within the backup image being restored.

-f Device : specifies the device name of the backup media.

-l : displays useful information about a volume group backup.

-n : specifies that the existing MAP files are ignored.

-P PPsize : specifies the number of megabytes in each physical partition.

-q : specifies that the usual prompt not be displayed before the restoration of the volume group image.

-r : recreates a volume groups structure only.

-s : specifies that the logical volumes be created at the minimum size possible to accommodate the file systems.


Example

restvg -q -f /mydata/myvg

Return to search results

Random coolcommands

coolcommand: how to remount the root filesystem to make it writable in Sun Solaris
Example: mount -F ufs -o rw,remount /
[show me the details]
coolcommand: lsparent - how to display possible parent devices that accept a specified connection type or device in IBM AIX
Example: lsparent -C -l rmt0
[show me the details]
coolcommand: tty - how to get the name of your terminal device
Example: tty
[show me the details]
coolcommand: how to extract a tar file from an FTP session on the fly
Example: get filename.tar |"tar xf -"; get README |more; put "| tar cf - ." filename.tar
[show me the details]

coolcommands.com - the search engine for UNIX sysadmins :: unix commands and scripts



FREE
myPMS

Password
Management
System

by

LVOware.com




Top 5 Submitters

lvo1138
audet37
kah00na32
Mariom24
lebjf00013

Top 5 Searches

Category Solaris42738
Category AIX38092
Category General UNIX34293
solaris20874
aix19395

Terms of Use
Privacy
Contact


 
coolcommands.com © 2010. All Right Reserved.
Programming by PRATTICO Consulting . Hosting by Apricusum