09-22-2009
can't vary on vg - no good copies of the descriptor area
Hi everyone,
I just restored an AIX 6.1 LPAR from one JS12 blade to another. I've done this several times before without issues. But this time, the restore completed successfully, all file systems are mounted, I can even start WebSphere and all the apps. However, when I try to do lsvg <volumegroup> it says:
"Volume group must be varied on; use varyonvg command."
Then I try varyonvg <volumegroup> and it says:
0516-013 varyonvg: The volume group cannot be varied on because
there are no good copies of the descriptor area.
So apparently the descriptor area is missing. I don't know what this means. When I did the restore, the only thing different was the size of the LUNs in the SAN. So, there is more disk on the partition I restored to. Other than that, everything's the same.
Does anyone have any ideas??
8 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I'm trying to print multiple copies of a file on sun solaris 8 with the lp -n command to no
avail. No matter what numeric value I supply -n, I still only get 1 copy
of the file printed.
The command I'm using is 'lp -d SNY_IT5000-2 -n2 file'
The printer is an HP Laserjet 4000 with a... (2 Replies)
Discussion started by: hassan2
2 Replies
2. UNIX for Dummies Questions & Answers
Has anyone come accross and solved an issue where only 1 copy of a doc prints after you use the -n flag and specify more then 1. My exact syntax is
lp -dprintername -n3 documentname
enq command does same thing.
Both commands show the 3 copies in the queue but only 1 ever prints
I am using AIX... (0 Replies)
Discussion started by: capeme
0 Replies
3. UNIX for Dummies Questions & Answers
Dear all,
Today I spend almost all my day with something I hope any of you can help me with...
I'm trying to write a small script (!/bin/sh) to be able to make 900 copies of one file. Can anyone help me with this? I couldn't figure this out (maybe I need to create some sort of loop) and couldn't... (8 Replies)
Discussion started by: marjocello
8 Replies
4. Homework & Coursework Questions
1. The problem statement, all variables and given/known data:
Write a script that asks for 4 arguments, and the 1st and 3rd need to be -i and -o, and the 2nd/4th need to be file names.
Technically, it's supposed to be run as:
./Lab_14.sh -i input.txt -o output.txt
Depending on how many... (0 Replies)
Discussion started by: SoVi3t
0 Replies
5. Shell Programming and Scripting
Hi,
I have a very big (with around 1 million entries) txt file with IPv4 addresses in the standard format, i.e. a.b.c.d
The file looks like
10.1.1.1
10.1.1.1
10.1.1.1
10.1.2.4
10.1.2.4
12.1.5.6
.
.
.
.
and so on....
There are duplicate/multiple entries for some IP... (1 Reply)
Discussion started by: sajal.bhatia
1 Replies
6. Shell Programming and Scripting
At work I have to create multiple copies of a file all the time.
Example: I have a file called Sec30p01.txt
I need thirty of these, then I edit one line in each to make 30 different control files.
So I end up with Sec30p02.txt, Sec30p03.txt and so on up to 30
Currently I copy the first file... (8 Replies)
Discussion started by: faaslave
8 Replies
7. Shell Programming and Scripting
I am trying to archive directories based on their last modified date. When I tar and compress the directory it makes copies of whats inside, I don't know how to fix this.
Here is my code.
#!/bin/bash
#AUTODRUNDISABLE
VERSION="0.2"
cd /desired/directory/to/archive
find . -type d -newermt... (3 Replies)
Discussion started by: jrymer
3 Replies
8. UNIX for Dummies Questions & Answers
theres a situation i'm dealing with where i feel like folks are stealing some of my files. they copy it (because they have complete sudo root access like i do) from my home directory and they copy it wherever and then change the name of the file so i wont know that they have it.
is there a way... (1 Reply)
Discussion started by: SkySmart
1 Replies
LEARN ABOUT OSF1
btextract
btextract(8) System Manager's Manual btextract(8)
NAME
btextract - Extracts the file systems from tape in single-user mode in memory
SYNOPSIS
/usr/sys/bin/btextract
DESCRIPTION
The btextract utility is a shell script that restores file systems from tapes that contain the bootable Standalone System (SAS) kernel.
The SAS kernel is created using the btcreate utility. You can perform a DEFAULT restore or an ADVANCED restore operation.
A DEFAULT restore is used by system administrators who want to duplicate the customized system on more than one machine of the same hard-
ware platform type. When you perform a DEFAULT restore, you cannot specify which disk partitions to use for the restore operation.
Instead, the btextract utility restores file systems using the disk partition information gathered during the btcreate session; all exist-
ing information is overwritten.
Note
To perform a DEFAULT restore, the disk configuration of the system you backed up must be the same as the system you are restoring.
During an ADVANCED restore, you are prompted to enter the name of the disk partition where the file systems are to be restored.
Note
During an ADVANCED restore, the btextract utility assigns the b partition of the root disk as the swap partition.
A file system which is more than 100% full cannot be restored in a partition of the same size as the original partition. During the restore
of the UFS file system, the /sbin/restore command adds a new file named restoresymtable. The presence of this restoresymtable file can make
the restored file system larger than the source partition size listed in the /sbin/disklabel output.
For example, on the source system, the disklabel shows the target h partition to be:
h: 86758 1212416 4.2BSD
And the ufs file system is as follows:
Filesystem 512-blocks Used Available Capacity Mounted on /dev/dsk8h 83812 83786 0 112% /bootable
The file system is 112% full. This file system cannot be restored on the target file system of 86758 (512-blocks), as the following file is
created by the /sbin/restore command.
-rw-r--r-- 1 root system 27368 Jul 2 09:33 restoresymtable
The command /sbin/restore creates a restoresymtable file that exceeds the 112% range. The solution is to use a partition of about 86996
(512-blocks), about 3.8% larger than the actual file size.
USING btextract
To use the btextract utility, place the system in a halt state, initialize the system, then boot from the tape as follows: >>> init >>>
show dev >>> boot -fl "nc" MKA500
In the previous example, the show dev command provides the device name under BOOTDEV and MKA500 is the BOOTDEV.
Once the initial boot is complete, the shell invokes the btextract utility. If you created a /usr/lib/sabt/sbin/custom_install.sh script
during the btcreate session, the btextract utility invokes the custom_install.sh script before exiting. See the btcreate reference page for
more information.
You also have the option to label disks using your own disklabel script. If a customized disklabel script is not present, the btextract
command will label the disks in the usual manner. A customized disklabel script has the following restrictions: It must be located in the
/usr/lib/sabt/etc directory. It must be named custom_disklabel_file.
After the btextract utility completes, you must shut down the system, then reboot the system from the restored disk as follows: # shutdown
-h now >>> boot DKA100
In the previous example, DKA100 is the BOOTDEV.
RETURN VALUES
Success. An error occurred.
FILES
Log of the btextract process in memory Copy of the btextract process on the restored root file system Script used to customize the restored
image A custom disklabel file read by btextract
SEE ALSO
Commands: addvol(8), btcreate(8), df(1), disklabel(8), lmf(8), mkfdmn(8), mkfset(8), newfs(8), restore(8), sh(1), vrestore(8)
btextract(8)