|
| Who's Online |
| We have 27 guests online and 1 member online | |
| cool Statistics |
| | coolcommands: | 1313 | | Categories: | 82 | | Total queries: | 524277 | | Members: | 4288 | |
|
|
|
 |
|
|
Search coolcommands.com
 |
Submitted by:
lvo   |
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
|  |  |  |  |
|
|
|
|
 |
|
|
|
Top 5 Submitters
|
|---|
| lvo | 1138 |
| audet | 37 |
| kah00na | 32 |
| Mariom | 24 |
| lebjf000 | 13 |
Top 5 Searches
|
| Category Solaris | 42738 |
| Category AIX | 38092 |
| Category General UNIX | 34293 |
| solaris | 20874 |
| aix | 19395 |
|
|
|
|