Dear Members,
I am using SCO-Unix 5.0.5. I have created 2 logical drives but some of the blocks are overlapped and are now giving warning during startup. I have used fsck to settle the problems but to no avail. Kindly help me to sort out the problem.
Thanks (3 Replies)
hi
i have the following scenario
#!/bin/sh
a=21.0
b=33.0
c=16.0
cmd=20
cmd1=30
if && ]
then
echo "problem....."
exit 1
else
echo "ok"
exit 0
fi
the issue here is the above condition is never TRUE coz a>cmd && b >cmd1 (7 Replies)
frnds..
can i perform an OR operation in sed syntax ?
if yes.. how?
I need to search for some 2-3 mail addresses in multiple files and delete all those... and instead of them.. I need to insert a new mail id...( these are also other emails in that list .. which sud not be affected )
is... (8 Replies)
Hi can someone please help me on this.
I need to perform this code:
Grep any lines that meets the following criteria
(A AND B) OR (A AND C)
I tried this code, but it didn't work
Grep-I "A &&B" | "A&&C" *.* $
thanks in advance (12 Replies)
Hi Fdz,
I have to verify the length of two uids are equals to 11 or not. The conditions is both lengths should be 11.I tried with this logic expr. am unable to get correct results.(Shell script in Unix i need)
if
do
echo"Results"
done
Thanx (2 Replies)
Hi,
I have a script testor.s which takes a string as command line argument,
Contents of the script:
#!/bin/ksh -x
if ]
then
echo "error"
else
echo "correct"
fi
Here, though i provide the command line argument as "WO_STMT_05292009", it displays error
Is there... (3 Replies)
I have this script to uvscan-update. Seems like that i am getting logical error at the end of the script. It is updating the script and also giving the error message to update it manually. I have deleted the DAT files to see if it will create new and it does. Below is the error and the script: ... (1 Reply)
So, I'm into about 650 lines of some code I'm working on. So I'll try to explain instead of flooding this post. Say I have some code like this:
int main() {
int i, j;
char data;
printf("Gimme something: ");
fgets(data, INPUT_BUFF, stdin);
for (j = 0; j < data; j++){... (6 Replies)
Discussion started by: Azrael
6 Replies
LEARN ABOUT FREEBSD
lvscan
LVSCAN(8) System Manager's Manual LVSCAN(8)NAME
lvscan - scan (all disks) for Logical Volumes
SYNOPSIS
lvscan [-a|--all] [-b|--blockdevice] [-d|--debug] [-h|--help] [--ignorelockingfailure] [-P|--partial] [-v|--verbose]
DESCRIPTION
lvscan scans all known volume groups or all supported LVM block devices in the system for defined Logical Volumes. The output consists of
one line for each Logical Volume indicating whether or not it is active, a snapshot or origin, the size of the device and its allocation
policy. Use lvs(8) or lvdisplay(8) to obtain more-comprehensive information about the Logical Volumes.
OPTIONS
See lvm for common options.
--all Include information in the output about internal Logical Volumes that are components of normally-accessible Logical Volumes, such as
mirrors, but which are not independently accessible (e.g. not mountable). For example, after creating a mirror using 'lvcreate -m1
--mirrorlog disk', this option will reveal three internal Logical Volumes, with suffixes mimage_0, mimage_1, and mlog.
-b, --blockdevice
This option is now ignored. Instead, use lvs(8) or lvdisplay(8) to obtain the device number.
SEE ALSO lvm(8), lvcreate(8), lvdisplay(8)lvs(8)Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVSCAN(8)