LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 07-02-2007, 09:55 AM   #1
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Rep: Reputation: 31
SVM RAID1 issue on Solris 10


I have solaris 10 X86 with c0d0s3 and c0d0s5 RAID1 configured. Because my pc just have one disk, I just can use two disk slices to test SVM RAID1 configure.

bash-3.00# metastat -p
d5 -m d20 d30 1
d20 1 1 c0d0s3
d30 1 1 c0d0s5

/dev/md/dsk/d5 /dev/md/rdsk/d5 /export/home ufs 2 yes -


I tried to delete /dev/dsk/c0d0s3 and /dev/rdsk/c0d0s3. System can mount /export/home automatically during boot. Then, I tried to delete
/dev/dsk/c0d0s5 and /dev/rdsk/c0d0s5, I thought it will destroy d5 mirror and cause system can not mount /export/home during boot. But system monut the /export/home without any errors. I use metastat to see d20 and d30s status. All disk slices are OK.

Q1. How to destroy disk slices under SVM?

I just want to test my svm configure, then I tried to do the test steps above.
 
Old 07-04-2007, 01:32 AM   #2
scoban
Member
 
Registered: Nov 2004
Location: Turkey
Distribution: Slackware
Posts: 145

Rep: Reputation: 16
Code:
metaclear -f -r d5
should do it. If it gives any errors try
Code:
man metaclear
 
Old 07-04-2007, 08:38 AM   #3
UltraSoul
Member
 
Registered: Dec 2004
Location: Japan
Distribution: REDHAT9.0, Mandrake10.1
Posts: 404

Original Poster
Rep: Reputation: 31
Yes, metaclear really can delete the d5 mirror SVM volume.

What I want to do is:

- Delete the underlying physical disk slice of /dev/dsk/c0d0s3. And reboot system to see whether d5 is OK even though one submirror has been removed.

- Delete both underlying physical disk slice of /dev/dsk/c0d0s3 and c0d0s5, and reboot system to see whether system will crash to mount filesystem on d5 because both submirros has been removed.


I just want to test the RAID1 SVM operatoin.


Any idea? Thanks.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install dual boot debian on raid1 issue linuxstarved Linux - Enterprise 1 01-12-2007 02:37 AM
testing SVM mirror before going live hcclnoodles Solaris / OpenSolaris 2 11-24-2006 05:51 PM
Removing an SVM mirror sKiBa Solaris / OpenSolaris 1 08-11-2006 12:45 PM
How To Access Windows Pc From Solris rajaniyer123 Solaris / OpenSolaris 3 07-25-2006 07:21 AM
Anyone have the Solris 9 Cd Labels? enine Solaris / OpenSolaris 2 02-17-2005 09:53 PM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration