raidctl and resync when reboot


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers raidctl and resync when reboot
# 1  
Old 08-26-2007
raidctl and resync when reboot

I am using raidctl on a v440 disk and noticed it resyncs after every boot, which takes about 30 minutes because of the size of the partition. I am concerned with what happens during the resync if "writes" happen to the disk before it is complete?

Any info would be helpful.

Thanks
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Trying to make a resync script

Good Morning, I'm trying to automate the resync process after a mirror replacement on Solaris. To avoid resyncing all the drives at once, I'm trying to use metastat for each drive to determine if the drive is still resyncing or if it is done (Okay). The following test lines seem to always show... (4 Replies)
Discussion started by: Stellaman1977
4 Replies

2. Solaris

Reboot causes disks in Resync State

Dear Team, This time i am facing some new problems which is beyond my thinking. I need some expert advice. We are having 4 Servers ( 2 nos Sun SPARC Enterprise T5220 & 2 nos of SF e2900 Servers ). Both the T5220 Servers are Termed as Node A and Node B . The same things are followed with... (1 Reply)
Discussion started by: sudhansu
1 Replies

3. UNIX for Dummies Questions & Answers

Can I reboot during a metadevice resync?

In my infinite lack of wisdom, I brought a Solaris 10(Sparc, 64 bit ) system down to init 1, detached a metadrive so that I could run format->analyze->refresh on it, and then reinit'd and reattached it . It started syncing the drive as it's a submirror of a mirrored drive, which happens... (8 Replies)
Discussion started by: the.gooch
8 Replies

4. AIX

Resync data on File system

Hi All, I have two mount points have the same data with little changes between them /appabc1 /appabc2 Both of them have the same data, there is some little changes on the data between them I want /appabc2 to has the same data of /appabc1 exactly including to those little changes... (6 Replies)
Discussion started by: Mr.AIX
6 Replies

5. UNIX for Dummies Questions & Answers

Information About raidctl

Hello people i have a question, when i put raidctl -l on sun fire show this Volume Size Stripe Status Cache RAID Sub Size Level Disk ... (0 Replies)
Discussion started by: enkei17
0 Replies

6. UNIX for Advanced & Expert Users

Solaris 10 Raidctl

Hello World: Recently I ran into an issue where a collegue had installed a Sun T5140 with twin 136GB disks in them. However, he forgot to execute the raidctl command first to mirror c1t0d0 to c1t1d0 boo hoo:) So along I come and try to mirror the disks by booting to sigle user... (1 Reply)
Discussion started by: rambo15
1 Replies

7. Shell Programming and Scripting

trailing slash - resync command

Hi All, i am aware that there is a difference between: 1. rsync -n -av /tmp . 2. rsync -n -av /tmp/ . I would like to do the first option. But if i use a variable (rsync -av $log .), the command behaves like a second option (with the trailing slash) Is there any way to use a... (2 Replies)
Discussion started by: c00kie88
2 Replies

8. Solaris

raidctl

At my own eys I can see 4 disks inside of server. Previous admin told me that hardware mirror is done. What I see with "format" is 2 disks - I suspect that these are 2 MIRRORS. I just cant be sure because raidctl show this: # raidctl -l c0t0d0 Volume Size Stripe ... (0 Replies)
Discussion started by: czezz
0 Replies

9. Linux

HELP PLEASE about Resync and sync interval in linux

Can anyone could tell me what is the meaning of this problem: Last successful check resync is greater than min sync interval (1195785433 > 7200) And what can do to solve this problem. Thank you..Please HElp me! (4 Replies)
Discussion started by: o_m_g
4 Replies

10. UNIX for Dummies Questions & Answers

disksuite and raidctl used together

I have a live Sunfire v440 server with 4 drives and I want to mirror drive 0 & 1 to 2 & 3. The on-board raid controller only allows for 1 live mirror. I was thinking of disksuite, but unfortunately the second disk is just one large partition with no free slices. I was thinking of using... (0 Replies)
Discussion started by: csgonan
0 Replies
Login or Register to Ask a Question
metasync(1M)						  System Administration Commands					      metasync(1M)

NAME
metasync - handle metadevice resync during reboot SYNOPSIS
/usr/sbin/metasync -h /usr/sbin/metasync [-s setname] [buffer_size] metadevice /usr/sbin/metasync [-s setname] -r [buffer_size] /usr/sbin/metasync -p metadevice DESCRIPTION
The metasync command starts a resync operation on the specified metadevice. All components that need to be resynced are resynced. If the system crashes during a RAID5 initialization, or during a RAID5 resync, either an initialization or resync restarts when the system reboots. Applications are free to access a metadevice at the same time that it is being resynced by metasync. Also, metasync performs the copy oper- ations from inside the kernel, which makes the utility more efficient. Use the -r option in boot scripts to resync all possible submirrors. OPTIONS
The following options are supported: -h Displays usage message. -p metadevice Regenerates parity information for RAID5 metadevices. -s setname Specifies the name of the diskset on which metasync 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 function on local metadevices. -r Specifies that the metasync command handle special resync requirements during a system reboot. metasync -r should only be invoked from the svc:/system/mdmonitor service. The metasync command only resyncs those metadevices that need to be resynced. metasync schedules all the mirror resyncs according to their pass numbers. To override the default buffer_size value used by the svc:/system/mdmonitor service, you can edit /etc/system to specify: set md_mirror:md_resync_bufsz = 2048 so that resyncs occur as quickly as possible. OPERANDS
buffer_size Specifies the size (number of 512-byte disk blocks) of the internal copy buffer for the mirror resync. The size defaults to 128 512-byte disk blocks (64 Kbytes). It can be no more than 2048 blocks. For best performance (quick- est completion of the resync), 2048 blocks is the recommended size. 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 | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metaparam(1M), metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide NOTES
The metasync service is managed by the service management facility, smf(5), under the service identifier: svc:/system/mdmonitor Administrative actions on this service, such as enabling, disabling, or requesting restart, can be performed using svcadm(1M). The ser- vice's status can be queried using the svcs(1) command. SunOS 5.10 24 Nov 2004 metasync(1M)