Sponsored Content
Operating Systems Solaris how to get back a SVM volume to solaris control Post 302185359 by sparcguy on Monday 14th of April 2008 10:33:18 PM
Old 04-14-2008
Is quite easy. But before undoing anything. You need to compare metadevices to filesystem.

If your metadevices are concatted or striped across more than 1 disk, that filesystem cannot undo, if you undo you will lose data. To fix this I guess you have to backup the data to tape or create a new non-sds single disk slice filesystem large enough to hold that data, it can be time consuming depending on the size of your data.

But if once you established 1 metadevice --> 1 disk slice then next thing is to rewrite your vfstab file to mount block devices change the /dev/md/dsk to /dev/dsk, it helps if you had the original before the OS was under SDS otherwise you have to write it yourself.

Lastly you need to edit out or delete the following in /etc/system.

* Begin MDD root info (do not edit)
forceload: misc/md_trans
forceload: misc/md_raid
forceload: misc/md_hotspares
forceload: misc/md_sp
forceload: misc/md_stripe
forceload: misc/md_mirror
forceload: drv/pcisch
forceload: drv/qlc
forceload: drv/fp
forceload: drv/ssd
rootdev:/pseudo/md@0:0,0,blk
* End MDD root info (do not edit)

If you fail to do this and reboot the system, the system may start to go into a looping panic.

Once you are sure re-configured everything properly do the reboot. BUT DO NOT DO METACLEAR on any metadevice until you have rebooted the system at least once and the system able to come up properly.

Make sure you backup those files like I told you to. In case the whole thing screw up you can at least have a fall back.
 

9 More Discussions You Might Find Interesting

1. Solaris

How to resize mirror volume in veritas volume manager 3.5 on Solaris 9 OE

Hi all, I have a problem with vxvm volume which is mirror with two disks. when i am try to increase file system, it is throwing an ERROR: can not allocate 5083938 blocks, ERROR: can not able to run vxassist on this volume. Please find a sutable solutions. Thanks and Regards B. Nageswar... (0 Replies)
Discussion started by: nageswarb
0 Replies

2. Solaris

How can i grow Raid 5 volume in SVM..?

Hello experts.. How can i grow Raid 5 volume in SVM? Thanks in advance.. (2 Replies)
Discussion started by: younus_syed
2 Replies

3. Solaris

ZFS and SVM - volume management

pupp, thanks for the information. but is its integrated volume management better than SVM that we use (with ufs i believe)? (2 Replies)
Discussion started by: StarSol
2 Replies

4. Solaris

SVM metaset on 2 node Solaris cluster storage replicated to non-clustered Solaris node

Hi, Is it possible to have a Solaris cluster of 2 nodes at SITE-A using SVM and creating metaset using say 2 LUNs (on SAN). Then replicating these 2 LUNs to remote site SITE-B via storage based replication and then using these LUNs by importing them as a metaset on a server at SITE-B which is... (0 Replies)
Discussion started by: dn2011
0 Replies

5. Solaris

How to check SVM version Solaris 9 and 10?

How to check Solaris Volume Manager Version in 9 & 10? Which are the packages that are installed in the SVM? (1 Reply)
Discussion started by: ajhal04
1 Replies

6. Shell Programming and Scripting

Ampersand not giving back the control (Korn shell)

OS version : AIX 6.1 Shell : Korn When you 'postfix' a command with ampersand (&) , it is supposed to run in the background and give you back the control. I tested this with ping command (by default it pings every 1 second ) After I ran the below ping command with ampersand, I pressed... (3 Replies)
Discussion started by: polavan
3 Replies

7. Solaris

How to extend an existing file system using SVM in solaris 10

Hi All I want to extend this file system to 120Gb: df -h /xyz Filesystem size used avail capacity Mounted on /dev/md/dsk/d80 98G 35G 62G 37% /xyzand the NetApp admin is going to give me an LUN with 22Gb. This file system is mounted on: metastat d80... (1 Reply)
Discussion started by: fretagi
1 Replies

8. Solaris

Help with installing SVM on solaris 10

Hello Gurus, I am setting up a V240 with solaris 10 for learning purpose. I have 4 x 36Gb disk installed and I now want to install SVM just tp learn this disk management utility. What I want to know is where do I look for the SVM pkg ? is this the right command pkgchk -L SUNWsvm . Can anyone... (3 Replies)
Discussion started by: Moh
3 Replies

9. Shell Programming and Scripting

Passing control back to the shell script

Hi All, I have a shell script(test_abc.sh) with the following shell commands, which are invoking the same shell script with different parameters. test_abc.sh . ./test.sh abc >> test.log . ./test.sh xyz >> test.log . ./test.sh pys >> test.log . ./test.sh abc >> test.log . . ... (4 Replies)
Discussion started by: dev.devil.1983
4 Replies
pvremove(1M)															      pvremove(1M)

NAME
pvremove - remove LVM data structure from a physical volume SYNOPSIS
DESCRIPTION
The command clears the LVM data structure on a disk, so that it is no longer an LVM physical volume. The device may then be used by the file system or by other volume managers. The operation is denied if pv_path is assigned to a volume group. The command only clears the LVM data structure on a disk if the disk does not belong to a volume group. This avoids accidentally removing a valid physical volume under a volume group. If the physical volume to be removed belongs to a volume group, use the command to first remove the volume group associated with the physical volume. Arguments recognizes the following arguments: pv_path The character (raw) device path name of a physical volume. EXTERNAL INFLUENCES
Environment Variables determines the language in which messages are displayed. If is not specified or is null, it defaults to "C" (see lang(5)). If any internationalization variable contains an invalid setting, all internationalization variables default to "C" (see environ(5)). EXAMPLES
Remove LVM data structure on the physical volume SEE ALSO
lvremove(1M), vgremove(1M), intro(7), lvm(7). pvremove(1M)
All times are GMT -4. The time now is 04:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy