Sponsored Content
Operating Systems Solaris Submirrors swapped after metattach Post 302566835 by solaris_1977 on Friday 21st of October 2011 08:47:24 AM
Old 10-21-2011
You detached c0t4d0s0 and attached also same device. So as far as it is pointing to same device, things should be alright. No need to worry
This User Gave Thanks to solaris_1977 For This Post:
 

9 More Discussions You Might Find Interesting

1. Solaris

Determining processes that have been swapped out

Is there a way to do this in Solaris? For instance, suppose I run the following: $ swap -l swapfile dev swaplo blocks free /dev/md/dsk/d501 85,501 16 16780208 16780208 $ swap -s total: 3377368k bytes allocated + 519416k reserved = 3896784k used, 11011992k available... (1 Reply)
Discussion started by: lyonsd
1 Replies

2. Solaris

how to reduce swapped column in "vmstat"

Dear all, I found a big problem with my solaris9 server when user said their application run too slow then I try to check cpu, memory but both of them are normally. One thing that I see form value of vmstat like this kthr memory page disk faults ... (2 Replies)
Discussion started by: unitipon
2 Replies

3. UNIX for Dummies Questions & Answers

memory pages swapped out

My unix box always experience high memory pages swapped out. This box has 8GB physical memory and the utilisation is only around 40%. What should be done to lower the memory pages swapped out problem ? Thanks.:) (3 Replies)
Discussion started by: olive
3 Replies

4. Solaris

Can't metattach root partition

I'm mirroring up a T2000. Able to metainit and metattach all partitions with the exception of root. Getting the following error: metattach: <hostname>; c1t1d0s0; is mounted on / I'm stumped. By the way, target 1 is the boot disk. (7 Replies)
Discussion started by: Probos
7 Replies

5. Shell Programming and Scripting

bc, negative values and "total" (whit swapped -)

Hi All, I need to sum numbers, in bash, input is this: 10.00 12.33 14.99 134.00 1211.09 130.01- <--- it is negative, but "-" is at the end.. 901.99 10.34- <--- another negative number... bc -l is giving me error so only solution to my problem would be to swap - to the... (3 Replies)
Discussion started by: columb
3 Replies

6. Solaris

metadevice submirrors 0 and 1 not consistent

At a new job, I've inherited a handful of Solaris 10 SunFire V240 servers. I noticed that the metadevices are not consistent, in a way that I've not seen before.... internal mirrored disks: metadevice d60 has c1t0d0s6 as submirror 0 (d61) and c1t1d0s6 as submirror 1 (d62) metadevice... (1 Reply)
Discussion started by: Max Power
1 Replies

7. Solaris

Verify Hard Drive was swapped

I recently had a vendor hot-swap a faulty hard drive on my system. The fault was determined before there were any noticeable errors with regular operation on the user end. The vendor claims to have replaced the faulty hard drive. Is there a way to verify that the hard drive has been replaced? I... (3 Replies)
Discussion started by: MaindotC
3 Replies

8. Solaris

Can't perform metattach with new disk, need advise.

Hi Guys, I m not ble to perform metattaach with new disk. Getting below Error:- -bash-3.00$ sudo /usr/sbin/metattach d0 d10 metattach: server03: /dev/md/rdsk/d10: No such device or address This is wht my metastat -p shows:- -bash-3.00$ sudo /usr/sbin/metastat -p Password: d4 -m... (4 Replies)
Discussion started by: manalisharmabe
4 Replies

9. Shell Programming and Scripting

Git diff exclude swapped lines

Hi, I am doing aws security group auditing every day to find the difference. I am using git to find the difference. But some times some security group rules order is changing up and down(swapping lines). So 'git diff' command gives this as a difference which i dont want(i need only new lines... (2 Replies)
Discussion started by: jobycxa
2 Replies
DEVCTL(4)						   BSD Kernel Interfaces Manual 						 DEVCTL(4)

NAME
devctl -- device event reporting and device control interface DESCRIPTION
The devctl device is used to report device events from the kernel. Future versions will allow for some device control as well. IMPLEMENTATION NOTES
This design allows only one reader for /dev/devctl. This is not desirable in the long run, but will get a lot of hair out of this implemen- tation. Maybe we should make this device a clonable device. Also note: we specifically do not attach a device to the device_t tree to avoid potential chicken and egg problems. One could argue that all of this belongs to the root node. One could also further argue that the sysctl(3) interface that we have now might more properly be an ioctl(2) interface. SIGIO support is included in the driver. However, the author is not sure that the SIGIO support is done correctly. It was copied from a driver that had SIGIO support that likely has not been tested since FreeBSD 3.4 or FreeBSD 2.2.8! The read channel for this device is used to report changes to userland in realtime. We return one record at a time. If you try to read this device a character at a time, you will lose the rest of the data. Listening programs are expected to cope. The sysctl and boot parameter hw.bus.devctl_disable is used to disable devctl when no devd(8) is running. PROTOCOL
The devctl device uses an ASCII protocol. The driver returns one record at a time to its readers. Each record is terminated with a newline. The first character of the record is the event type. Type Description ! A notify event, such as a link state change. + Device node in tree attached. - Device node in tree detached. ? Unknown device detected. Message Formats Except for the first character in the record, attach and detach messages have the same format. Tdev at parent on location Part Description T + or - dev The device name that was attached/detached. parent The device name of the parent bus that attached the device. location Bus specific location information. The nomatch messages can be used to load devices driver. If you load a device driver, then one of two things can happen. If the device driver attaches to something, you will get a device attached message. If it does not, then nothing will happen. The attach and detach messages arrive after the event. This means one cannot use the attach message to load an alternate driver. The attach message driver has already claimed this device. One cannot use the detach messages to flush data to the device. The device is already gone. SEE ALSO
devd(8) BSD
February 11, 2003 BSD
All times are GMT -4. The time now is 09:44 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy