11-12-2002
lvsplit and lvmerge missing
I have an automated backup script that runs nightly. I already know from other posts that using the CPIO is not a good idea.
Anyway, I was running HP-UX 10.20, and had to upgrade to 11.00. I didn't have enough disk space for a clean upgrade, so I had to do a cold install.
My problem is, my lvsplit and lvmerge commands are missing, and my backup splits the volumes, backs-up the "b" side and re-merges them.
Any ideas on how to get the 2 commands back?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have the following portion of a script
Check()
{
echo "\n\nChecking that all constraints are Enabled"
echo "..."
sleep 2
CHECK_COUNT='sqlplus -s $1 <<-EOSQL4
set feed off pause off pages 0 head off;
set linesize 150 echo off;
select count(*) from user_constraints where... (4 Replies)
Discussion started by: Zelp
4 Replies
2. UNIX for Dummies Questions & Answers
Hi All,
I have a server running SunOS 5.9, on this I need to install Oracle 10g; however the installer returns
ERROR: Unable to convert from "UTF-8" to "646" for NLS!
Did some digging around and found that I need the SUNWuiu8 package.
However I'm not sure where I can download the... (1 Reply)
Discussion started by: Zak
1 Replies
3. Solaris
I wanted to enable IP filtering on a Solaris10 U4 machine. For some reason I dont find /usr/sbin/pfild. This machine was running a minimal version of S10U4 and I got to know that for pfild I need to have SUNWipfr and SUNWipfu. I installed both those packages but no sign of pfild yet.
Anyone has... (0 Replies)
Discussion started by: Naanu
0 Replies
4. HP-UX
Hi Everyone
I am having hard drive problems with a C3000 Visualize workstation. The machine has two 9.1Gb disks. One dedicated to the OS 11i and the other containing one lvol /space. When I boot up the second disk can be seen in sam but nowhere else, ie cd /space freezes.
I fear that on boot... (3 Replies)
Discussion started by: C3000
3 Replies
5. Shell Programming and Scripting
$HOLIDAY=""
if
then
echo "1"
else
echo "2"
fi
Getting an error --test: ] missing...could some one help on this (2 Replies)
Discussion started by: infernalhell
2 Replies
6. UNIX for Dummies Questions & Answers
Hi
I get this error message. Error: failed /usr/openv/java/jre/lib/i386/client/libjvm.so, because libstdc++-libc6.1-1.so.2: cannot open shared object file: No such file or directory
I tried doing the yum install libstdc but it didn't find any thing.
Any of you know how to install this on... (2 Replies)
Discussion started by: samnyc
2 Replies
7. Linux
Hi,
I am trying migrate webmin application from solaris to linux. But that is not working in Linux. because the library librpcsoc.so has missed in Linux box..
Could you please advice me that how to resolve this issue and also that how to install that library as well. (1 Reply)
Discussion started by: Mani_apr08
1 Replies
8. Shell Programming and Scripting
Hi,
I am getting this error while running the following code.
i=`awk '{print $2}' test1.txt`
j=`awk '{print $4}' test1.txt`
k=`awk '{print $6}' test1.txt`
if ; then
echo "Up."
else
echo "down"
fi
rm -f test.txt test1.txt
error is this:
line 12: '
Please suggest. (2 Replies)
Discussion started by: arijitsaha
2 Replies
9. SuSE
Hello,
This is a programming question as well as a suse question, so let me know if you think I should post this in programming.
I have an application that I compiled under opensuse 12.2 using g77-3.3/g++3.3. The program compiles and runs just fine. I gave the application to a colleague who... (2 Replies)
Discussion started by: LMHmedchem
2 Replies
10. Red Hat
I am trying to install VirtualBox on RHEL 5 but I need the 32 bit version for 32 bit Windows. When I run yum I get the following:
sudo yum localinstall /auto/spvtg-it/spvss-migration/Software/VirtualBox-4.3-4.3.2_90405_el6-1.i686.rpm
Loaded plugins: fastestmirror
Setting up Local Package... (13 Replies)
Discussion started by: gw1500se
13 Replies
LEARN ABOUT OSF1
rpm2cpio
rpm2cpio(1) User Commands rpm2cpio(1)
NAME
rpm2cpio - convert Red Hat Package (RPM) to cpio archive
SYNOPSIS
rpm2cpio [file.rpm]
DESCRIPTION
The rpm2cpio utility converts the .rpm file specified as its sole argument to a cpio archive on standard output. (See NOTES.) If no argu-
ment is given, an rpm stream is read from standard input. In both cases, rpm2cpio will fail and print a usage message if the standard out-
put is a terminal. Therefore, the output is usually redirected to a file or piped through the cpio(1) utility.
EXAMPLES
Example 1: Converting an rpm file
example% rpm2cpio Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
Example 2: Converting from standard input
example% rpm2cpio < Device3Dfx-1.1-2.src.rpm | cpio -itv
CPIO archive found!
-rw-r--r-- 1 root root 2635 Sep 13 16:39 1998, 3dfx.gif
-rw-r--r-- 1 root root 11339 Sep 27 16:03 1998, Dev3Dfx.tar.gz
-rw-r--r-- 1 root root 1387 Sep 27 16:04 1998, Device3Dfx-1.1-2.spec
31 blocks
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWrpm |
+-----------------------------+-----------------------------+
SEE ALSO
cpio(1), attributes(5)
NOTES
rpm2cpio handles versions 3 and 4 RPMs.
SunOS 5.10 20 Aug 2001 rpm2cpio(1)