Visit Our UNIX and Linux User Community


Remove os mirrored disk Solaris 10


 
Thread Tools Search this Thread
Operating Systems Solaris Remove os mirrored disk Solaris 10
# 1  
Old 01-02-2008
Remove os mirrored disk Solaris 10

Hello once again seeking your help,

I have a mirrored disk and need to unmirror it to mount it as a new file system (/export) but could not find the correct steps to do it with out affecting the original disk.

can anybody point me out on how to get this done.


Thanks!!
# 2  
Old 01-03-2008
First you will need to tell us how it is mirrored.
# 3  
Old 01-03-2008
In the example below d2 is the submirror of d1.

#metastat d1

The above will list the devices used by the mirror d1 so as you can remount the device later.

detach submirror

# metadetach d1 d2
# umount /dev/md/dsk/d1

If the mirror is a root,swap or /usr slice then there is a little more to it and the above is not suitable.

You may also want to clear the metadevices d1 and d2

# metaclear -r d1
# metaclear d2
# 4  
Old 01-10-2008
Thanks for the info,

what you are telling me is correct for the root, and swap i found the following web and even though its for Solaris 9 it worked ok in Solaris 10d and it is a step by step instruction and easy to follow:

Removing Volumes - (Using Solaris 9 Volume Manager Commands)

Previous Thread | Next Thread
Test Your Knowledge in Computers #855
Difficulty: Medium
JSX (JavaScript XML) is an extension to the JavaScript language syntax.
True or False?

9 More Discussions You Might Find Interesting

1. Red Hat

Booting 2nd mirrored boot disk

Hi guys, thanks for helping out. If you have two boot disk mirrored and your primary boot disk fails, how will you boot the system from the second disk? Thank you very much for your assistance on this matter. Arrey (5 Replies)
Discussion started by: cjashu
5 Replies

2. Solaris

Need help replacing a mirrored boot disk

I have a v480 with a mirrored boot disk c1t0 and c1t1. The drives themselves don't show a failure but the mirror's need maintenance. This is my plan for replacing the drive. I would love feedback to point out what I"m missing or where my steps are incorrect. Two things I believe I'm... (3 Replies)
Discussion started by: pcoffey
3 Replies

3. Solaris

Remove file system from Solaris disk

hi, i have created a file system using newfs command in solaris 10, later i got error messages from the database which i am using. May be database using the disk also. My question is how to remove file system from the disk. Thanks (7 Replies)
Discussion started by: zeeshan047
7 Replies

4. Solaris

Boot from Mirrored disk

So I have mirrored disk already set up from c1t0d0 to c1t1d0. Is there some special procedures that I need to do before I do and then try to boot from the mirrored disk? I am using a V490 if that helps... (7 Replies)
Discussion started by: drew_1980
7 Replies

5. UNIX for Advanced & Expert Users

how to create multiple-boot system with disks mirrored(RAID1+0) and disk alone

I have a HP proliant ML 570 G3 with two 146GB disk drives mirrored(RAID1+0) windows server 2003 was installed on that disk. I will add a disk.(scsi 300GB) I will install Linux on that additional disk. I want to create multiple-boot system. Is it possible? I wanna know how to create... (0 Replies)
Discussion started by: lifegeek
0 Replies

6. UNIX for Dummies Questions & Answers

Solaris 10 not booting with mirrored disk

Hi all, I have a V490 running with Solaris 10. The OS disk was mirrored. I wanted to break the mirror, boot with the secondary mirror, and re-mirror the OS with a new disk. This is what I did, detached the metadevices of the secondary mirror disk (disk 1) metaclear-ed the metadevices,... (1 Reply)
Discussion started by: nitinp82
1 Replies

7. UNIX for Dummies Questions & Answers

Creating create mirrored disk files systems using mkfs command

What is the correct mkfs syntax to create mirrored disk files systems? I need to make the file system 20gb. For example: machine# mkfs -F ufs /dev/md/dsk/d40 size not specified ufs usage: mkfs special size(sectors) \ -m : dump fs cmd line used to make this partition -V : print this... (4 Replies)
Discussion started by: GLJ@USC
4 Replies

8. AIX

Mirrored disk.....

How do I know, which all disks are mirrored? any command? Bala (7 Replies)
Discussion started by: balaji_prk
7 Replies

9. HP-UX

Number of Disk Mirrored in HP-UX

In HP-UX 11.00 How can i check if there are disks mirrored (2 Replies)
Discussion started by: cgege
2 Replies

Featured Tech Videos