04-21-2009
is there a file called "/etc/lvm/lock" on your system? if not, create it... do other "meta..." commands work? like "metastat" and if yes, what ist the output? also of "metadb".
10 More Discussions You Might Find Interesting
1. Programming
Hi,
I am trying to write stuff to a shared memory using a writer, and reading the corresponding stuff using a reader. I am facing problems while releasing the lock, as a result of which I am having segmentation faults. The code is as follows...
/********** writer.c ***********/
... (1 Reply)
Discussion started by: jacques83
1 Replies
2. Red Hat
hi friends
i have a small problem,in my redhat enterprise linux system screen lock is not working
if i click screen lock no action takes place...
so is there any solution to fix this problem or any alternate method available please let me know....
waiting for replys.......
thanks... (2 Replies)
Discussion started by: madhusudankh
2 Replies
3. Red Hat
Hello all,
If anyone has time, I have a few questions:
How do I do the following in Linux. We are using Red Hat and Oracle Enterprise Linux, which is based on Red Hat too.
1. How to lock the account after a few (like 3) invalid password attempts?
2. How do you lock a screen after 30... (1 Reply)
Discussion started by: nstarz
1 Replies
4. UNIX and Linux Applications
hi friends I have a problem ..
actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies
5. UNIX for Advanced & Expert Users
hi friends I have a problem ..
actually I m working on LVM in linux through WinHex ..I have made one volume group and it has two logical volumes logvol00 and logvol01 and both are respectively mount on /rahul and /rock..I have found both folder(rahul & rock) in root directory which use ext file... (1 Reply)
Discussion started by: Rahul chauhan
1 Replies
6. UNIX for Advanced & Expert Users
Hi all,
I have to test some user priviliges. The goal is to be sure that an unauthorized user can't restart some modules (ssh, mysql etc...).
I'm trying to automate it with a shell script but in same cases I got the syslog broadcast message.
Is there any way to simply get a return code... (3 Replies)
Discussion started by: Dedalus
3 Replies
7. UNIX for Dummies Questions & Answers
hi all
this s quite a foolish problem. I seem to hav pressed some keys s.t in unix, my letters are comin in caps and with caps lock on, i am getting lowercase letters. :o
Pls help.
Also is there any reference or manual where i can check in case such problems arrise?
thanx in advance
curiosity (4 Replies)
Discussion started by: curiosity
4 Replies
8. Red Hat
Since I couldn't find a Fedora section, I post my thread here...
Hi all,
I installed Fedora 17 with Windows 7. For some reason I had to use LVM, since every time when I want to add more than one partition i.e. swap and /root it told me that the space was not sufficient, but still I had 300GB... (1 Reply)
Discussion started by: Learn4Life
1 Replies
9. Red Hat
I'm having a weird problem with a RHEL6 workstation. When the screen lock is activated manually the system will lock and the screens will go blank. Once I try to unlock the system, the monitor will just flicker and won't respond. I tried the combination CTRL, ALT, Backspace and it did not work,... (4 Replies)
Discussion started by: goose25
4 Replies
10. UNIX for Advanced & Expert Users
Hi Team,
I have a requirement to access a shared resource from the user and interrupt context. What type of locking mechanism I have to use for this. Can any body give advice on this.
Thanks in advance.
-Shiva (4 Replies)
Discussion started by: shivakoteswarra
4 Replies
LEARN ABOUT LINUX
metaparam
metaparam(1M) System Administration Commands metaparam(1M)
NAME
metaparam - modify parameters of metadevices
SYNOPSIS
/usr/sbin/metaparam -h
/usr/sbin/metaparam [-s setname] [ concat/stripe or RAID5 options] concat/stripe RAID
/usr/sbin/metaparam [-s setname] [ mirror options] mirror
DESCRIPTION
The metaparam command is used to display or modify current parameters of metadevices.
If just the metadevice is specified as an argument to the metaparam command, the current settings are displayed.
The metaparam command enables most metadevice (volume) parameters to be changed. Only the interlace value cannot be changed by metaparam,
because it is established when the metadevice is created and cannot be changed thereafter.
OPTIONS
Root privileges are required for all of the options.
The following options are supported:
-h Displays usage message.
-s setname Specify the name of the diskset on which metaparam works. Using the -s option causes the command to perform its administra-
tive function within the specified diskset. Without this option, the command performs its function on local metadevices.
CONCAT
/STRIPE OR RAID5 OPTIONS
-h hot_spare_pool | none Specifies the hot spare pool to be used by a metadevice. If none is specified, the metadevice is disassoci-
ated with the hot spare pool assigned to it. If the metadevice is currently using a hot spare, then meta-
param cannot replace the hot spare pool.
concat/stripe | RAID Specifies the metadevice name of the concatenation, stripe, or concatenation of stripes, or of the RAID5
metadevice.
MIRROR OPTIONS
-r roundrobin | geometric | first Modifies the read option for a mirror. The -r option must be followed by either roundrobin, geomet-
ric, or first. roundrobin, which is the default action under the metainit command, specifies read-
ing the disks in a round-robin (load balancing) method. geometric allows for faster performance on
sequential reads. first specifies reading only from the first submirror.
-w parallel | serial Modifies the write option for a mirror. The -w option must be followed by either parallel or
serial. parallel, the default action under the metainit command, specifies that all writes are par-
allel. serial specifies that all writes are serial.
-p pass_number A number from 0-to-9 that specifies the order in which a mirror is resynced during reboot. The
default is 1. Smaller pass numbers are resynced first. Equal pass numbers are run concurrently. If
0 is used, the mirror resync is skipped. 0 should only be used for mirrors mounted as read-only, or
as swap.
mirror Specifies the metadevice name of the mirror.
EXAMPLES
Example 1: Associating Hot Spare Pool with RAID5 Metadevice
This example associates a hot spare pool, hsp005, with a RAID5 metadevice, d80.
# metaparam -h hsp005 d80
Example 2: Changing Read Option to Geometric
This example changes the read option on a mirror d50 from the default of roundrobin to geometric.
# metaparam -r geometric d50
EXIT STATUS
The following exit values are returned:
0 Successful completion.
>0 An error occurred.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Availability |SUNWmdu |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metarecover(1M),
metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4),
mddb.cf(4), md.tab(4), attributes(5), md(7D)
Solaris Volume Manager Administration Guide
SunOS 5.10 2 Jun 1004 metaparam(1M)