07-08-2010
metaset - renaming /editing the set name - possible ?
Hi all
I need to change my current metaset setname from lh-rms02ds to lh-lgwrms01ds. Is it possible ?? I know within veritas I do a vxedit, is there a way in SVM ?
I notice theres a metarename, but this is for the metadevice level.
Any tips ? help ?? Or do I need to delete / re-create using the new naming convention ?
Thanks
SBK
10 More Discussions You Might Find Interesting
1. Solaris
Dear all,
I have created a shared metaset(500gb) having 3 hosts in which 2 hosts are in cluster and 1 is non cluster. I have taken the ownership in cluster node from non cluster node but the problem is i am unable to mount the file system it is giving error "/dev/md/eccdb-ds/d100 or /eccdb-ds... (1 Reply)
Discussion started by: spandhan
1 Replies
2. Solaris
One of my team colleague mistakenly added non DID device to a metaset in a cluster node and inturn it is again added to concat .
In that metaset all devices are DID devices except only one . is it possible to convert this non DID device in metaset to DID device without recreating the whole... (0 Replies)
Discussion started by: sekarsamy
0 Replies
3. Solaris
Hi Guys
i have two servers which are n cluster prd1 and prd2.. I already have a metaset configured in it..My job was to create a 1.8 tb LUN in my storage which is having Hardware raid5 pre-configured..i Created 1.8 tb with raid 5 in my storage and it got detected in both t servers prd1... (4 Replies)
Discussion started by: madanmeer
4 Replies
4. Emergency UNIX and Linux Support
Hi Guys
i have two servers which are n cluster prd1 and prd2.. I already have a metaset configured in it..My job was to create a 1.8 tb LUN in my storage which is having Hardware raid5 pre-configured..i Created 1.8 tb with raid 5 in my storage and it got detected in both t servers... (5 Replies)
Discussion started by: madanmeer
5 Replies
5. Solaris
hi all,
i am using solaris 5.10 on sun blade 150 and i am trying to configure diskset in sun volume manager. When i fire the following command, it says some rpc related error.
bash-3.00# metaset -s kingston -a -h u15_9
metaset: u15_9: metad client create: RPC: Program not registered
how to... (4 Replies)
Discussion started by: kingston
4 Replies
6. Solaris
Hi Friends,
I need your assistance, could someone assist....
Scenario:- Solaris 10, with zones and mounted file systems, using SAN.
SVM with metasets on it configured soft partitions on the meta device.
These soft partitions are mounted and file systems are being accessed.
We are now trying... (6 Replies)
Discussion started by: unahb1
6 Replies
7. Solaris
Dear all,
This metaset stuff drive me crazy.
The story begin with the Solaris 8 upgrade....
We have a pair of Solaris 8 with Sun Cluster 3.1, to prevent a long downtime, the Live Upgrade was chosen. As metadb cannot use LU to upgrade directly, we remove the diskset before upgrade, and put it... (0 Replies)
Discussion started by: donaldfoo
0 Replies
8. Shell Programming and Scripting
Hi All,
I am trying to rename the extension of a set of file from .txt to .xtx. When I run the following script,
#!/bin/sh
l=`ls /f`
for f in $l
do "mv $f ${f%.txt}.xtx" ;
done
a file such as 1.txt is renamed to 1? where ? is a strange character. Could you please help me fix the code... (3 Replies)
Discussion started by: sara123
3 Replies
9. Shell Programming and Scripting
Dear Guru's
I'm using Putty and want to edit a file. I know we generally use vi editor to do it. As I'm not good in using vi editor, I want to convert the vi into something like text pad. Is there any option in Putty to do the same ? Thanks for your response.
Srini (6 Replies)
Discussion started by: thummi9090
6 Replies
10. UNIX for Advanced & Expert Users
Hello:
I've been reading about ways to edit files from the command line, and I've found two websites which state that the following is the safest way to edit a file:
command original > new
mv new originalThat is, renaming the newer file to the previous one. This is what the websites I mentioned... (8 Replies)
Discussion started by: Cacializ
8 Replies
LEARN ABOUT OPENSOLARIS
metaoffline
metaoffline(1M) System Administration Commands metaoffline(1M)
NAME
metaoffline, metaonline - place submirrors offline and online
SYNOPSIS
/usr/sbin/metaoffline -h
/usr/sbin/metaoffline [-s setname] [-f] mirror submirror
/usr/sbin/metaonline -h
/usr/sbin/metaonline [-s setname] mirror submirror
DESCRIPTION
The metaoffline command prevents Solaris Volume Manager from reading and writing to the submirror that has been taken offline. While the
submirror is offline, all writes to the mirror will be kept track of (by region) and will be written when the submirror is brought back
online. The metaoffline command can also be used to perform online backups: one submirror is taken offline and backed up while the mirror
remains accessible. (However, if this is a two-way mirror, data redundancy is lost while one submirror is offline.) The metaoffline command
differs from the metadetach command because it does not sever the logical association between the submirror and the mirror. To completely
remove a submirror from a mirror, use the metadetach command.
A submirror that has been taken offline will only remain offline until the metaonline command is invoked or the system is rebooted.
When the metaonline command is used, reading from and writing to the submirror resumes. A resync is automatically invoked to resync the
regions written while the submirror was offline. Writes are directed to the submirror during resync. Reads, however, will come from a dif-
ferent submirror. Once the resync operation completes, reads and writes are performed on that submirror. The metaonline command is only
effective on a submirror of a mirror that has been taken offline.
The metaoffline and metaonline commands can not be used on RAID 1 volumes in application-based recovery (ABR) mode.
A submirror that has been taken offline with the metaoffline command can only be mounted as read-only.
OPTIONS
Root privileges are required for all of the following options except -h.
-f Forces offlining of submirrors that have slices requiring maintenance.
-h Displays usage message.
-s setname Specifies the name of the diskset on which metaoffline and metaonline will work. Using the -s option will cause the command
to perform its administrative function within the specified diskset. Without this option, the command will perform its func-
tion on local metadevices.
mirror Specifies the metadevice name of the mirror from which the submirror will be either taken offline or put online.
submirror Specifies the metadevice name of the submirror to be either taken offline or put online.
EXAMPLES
Example 1 Taking a Submirror Offline
This example takes one submirror, mymirror_sub1, offline from mirror mymirror.
# metaoffline mymirror mymirror_sub1
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 |
+-----------------------------+-----------------------------+
|Interface Stability |Stable |
+-----------------------------+-----------------------------+
SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaparam(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)
NOTES
The metaonline and metaoffline commands are not applicable to mirrors in application-based recovery (ABR) mode.
SunOS 5.11 26 Mar 2006 metaoffline(1M)