Sponsored Content
Top Forums UNIX for Advanced & Expert Users Solaris 8 disk/mirroring issue Post 88788 by ghuber on Tuesday 8th of November 2005 05:29:11 PM
Old 11-08-2005
Quote:
Originally Posted by RTM
Re-seating the 'bad' drives can be done without powering down - they are hot-swappable so it would be like removing the old and putting in the new (just that it's the same drive). So try that first with c1t3 - if it spins up the system may see it. If not, you haven't lost anything.

You can determine the slice by looking at /etc/vfstab and finding the md device for / partiton. Then look at your metastat output for that device.

And the only way to tell if the drive is bad is to hit it - ls -Rla from top of the partition should create some errors at some point - or go into format and run an analyze (read, refresh, or test - the ones that do not harm data).

Double check that syslogd is running and configured to pop warning messages into your /var/adm/messages file (or what ever you put it in).
I tried removing and reseating the drive, but no go. The box still isn't seeing it... I ran an iostat -En and found c1t1 has a ton of hard errors and c1t3 is not listed... So I've requested two replacement drives from Sun.

Once I get them, I can hot swap them for a the new drives, right? Is there a command a need to run before yanking out the drive and putting in the new one? C1t1 seems to be a mirror of the slices of the system disk. If so I can then just run these command to setup slices automatically, right?

# prtvtoc /dev/rdsk/c1t0d0s2 > /tmp/format.out
# fmthard -s /tmp/format.out /dev/rdsk/c1t1d0s2

# prtvtoc /dev/rdsk/c1t2d0s2 > /tmp/format.out
# fmthard -s /tmp/format.out /dev/rdsk/c1t3d0s2

Then once that's done, I enable the metabases on the new disks as metastat indicates:

# /usr/opt/SUNWmd/metareplace -e d60 c1t3d0s6
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s0
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s1
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s3
# /usr/opt/SUNWmd/metareplace -e d60 c1t1d0s6

The mirrors will start resyncing once metareplace is invoked, right?

Thanks!
 

10 More Discussions You Might Find Interesting

1. Solaris

Solaris mirroring / non-root disk

Hi Guys, Need to add 2 disks into a JBOD array (3310). Does anyone see anything wrong with my Procedure / Doco below? 1> Logon to system, check system logs for abnormal entries. 2> Make backups of related system files: A>cp -p /etc/system /etc/system.backup.081505 B>cp -p /etc/vfstab... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

2. Solaris

[HELP] mirroring disk at solaris 8 sparc v890

hi expert, sorry i'm new in solaris system, need more advice and help :) i'm confusing with mirroring disk at my sparc v890 solaris 8, i have 6 harddisk which the structure shown below : format : AVAILABLE DISK SELECTIONS: 0. c1t0d0 <SUN146G cyl 14087 alt 2 hd 24 sec 848> ... (4 Replies)
Discussion started by: bucci
4 Replies

3. Solaris

Help !! disk Mirroring

Hi I have a Sunfire X4100 box with a 4 disk Chassis (although I only have 2 disks in it). I have been asked to add two more disks into the chassis so that I can mirror the original two using SVM .....Ive read through a couple of SVM docs but am finding it a little confusing, and if any of you... (1 Reply)
Discussion started by: hcclnoodles
1 Replies

4. Solaris

Disk Mirroring for Solaris 10 x86

I am having an issue with setting up disk mirroring for Solaris 10 on an x86 server. My main problem is that the volumes and slices have already been setup and our proprietary software has already been installed and configured. The entire drive has been allocated in this configuration and the... (2 Replies)
Discussion started by: chuck43
2 Replies

5. Solaris

Solaris 10 Disk Mirroring

Has anyone managed to set up disk mirroring in Solaris 10 yet? If so can you point me in the direction of some useful documentation please. Cheers (25 Replies)
Discussion started by: korfnz
25 Replies

6. Solaris

Disk Mirroring on solaris 5.8

Hi Friends, I am having Sun Solaris 5.8 OS installed having 2 different size hard disk, sizes are c0t0d0s0(160 GB) and c0t2d0s0 (40GB). I have installed Sun Solaris 5.8 OS in c0t0d0s0 (160GB) harddisk. I have configured all the parameters required for disk mirroring. But when executing... (4 Replies)
Discussion started by: Vijayakumarpc
4 Replies

7. Solaris

root disk mirroring in solaris volume manager for solaris 10

Need a procedure document to do "root disk mirroring in solaris volume manager for solaris 10". I hope some one will help me asap. I need to do it production environment. Let me know if you need any deatils on this. Thanks, Rama (1 Reply)
Discussion started by: ramareddi16
1 Replies

8. Solaris

Solaris Mirroring/Hotspare Issue

Hi Guys, I have an issue with my Hotspares/Metastat on an x4270m2. I have no hotspares available, when i printed out my metastat i got d21: Concat/Stripe Size: 33559785 blocks (16 GB) Stripe 0: Device Start Block Dbase Reloc ... (0 Replies)
Discussion started by: A-Train
0 Replies

9. Solaris

Root disk mirroring in Solaris 10

I would like to perform root disk mirroring task. Can someone please help me out on this. Thanks !! Regards, Rama (2 Replies)
Discussion started by: ramagore85
2 Replies

10. Solaris

Solaris 11 disk issue

I have 2 disks in my system.I recently added a zpool to the disk, but today I changed my mind and deleted the zpool , zpool destroy -f extra The zpool is now deleted and I want to partition the disk, so I delete the only partition on the disk. Now when I run format again, format... (13 Replies)
Discussion started by: cbtshare
13 Replies
SIMBA(8)						User Contributed Perl Documentation						  SIMBA(8)

NAME
simba VERSION
0.8.4 SYNOPSIS
simba [-c|--config <configuration file] [--callbacks|-p] [--help|-h] [mirror_name] PREREQUISITES
simba requires RoPkg::Simba DESCRIPTION
There are many institutions that offer mirroring services to the community. Most of them use shell scripts to synchronize content with the master servers. This approach has some major limitations: Difficult maintenance No useful reports No data presented to the final user and more Simba was created to be the mirroring tool and to get more control over the mirrored content and (most important) more control over the reports you can generate using the mirrored content data. Using Simba, you can: Create web pages with mirrors status Create web pages with mirror details Generate RSS feeds Generate Google sitemaps Generate rsync configuration files and more Simba is extensible and has a dynamic plugin system. If you have some knowledge of perl, you can write your own plugins and extend Simba as you wish. RUNNING
simba has a few command line parameters. -c|--config Expects the path to the configuration file -p|--callbacks Start the user defined callbacks -h|--help Shows this man page The main documentation is available on the website (http://simba.packages.ro). There you will find detailed documentation, templates and a HOWTO. SEE ALSO
RoPkg::Simba::Mirror RoPkg::Simba::Command RoPkg::Simba::Exclude RoPkg::Simba::Mirrors RoPkg::Simba::Commands RoPkg::Simba::Excludes AUTHOR
Subredu Manuel <diablo@iasi.roedu.net> LICENSE
Copyright (C) 2005 Subredu Manuel. All Rights Reserved. This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The LICENSE file contains the full text of the license. perl v5.14.2 2006-09-26 SIMBA(8)
All times are GMT -4. The time now is 05:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy