01-21-2013
9 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
I have a solaris 9 machine which I would like to mirror it system disk using disk suite but my sun solaris machine has one internal disk which has the OS installed on. I have spare external disk of the same size, is it possible to mirror and internal disk with external disk using disk suite?
... (3 Replies)
Discussion started by: hassan2
3 Replies
2. UNIX for Dummies Questions & Answers
Hi I'm new Solaris.
I'm trying to understand how a root device is being mirrored. When do df -k I get this:
Filesystem kbytes used avail capacity Mounted on
/dev/md/dsk/d0 49915840 43168158 6248524 88% /
/proc 0 0 0 0% /proc... (1 Reply)
Discussion started by: ND6
1 Replies
3. AIX
Hi,
I have an ssa filesystem to move to san. We don't want any downtime. I heard that you can do a mirroring of existing file system on the san. The file system is a type of either raid 0, raid 1, or raid 5.
Anyone know how to do this?
Thanks in advance,
itik (4 Replies)
Discussion started by: itik
4 Replies
4. Solaris
I've looked a little but haven't found a solid answer, assuming there is one.
What's better, hardware mirroring or ZFS mirroring? Common practice for us was to use the raid controllers on the Sun x86 servers. Now we've been using ZFS mirroring since U6. Any performance difference? Any other... (3 Replies)
Discussion started by: Lespaul20
3 Replies
5. Solaris
Hi All,
I have detached a mirror and primary disk from my Solaris box.
On trying to boot from Primary disk, It boots up good.
But from my mirror disk, it is not booting and giving me the login prompt
Instead it goes to maintenance state by issuing a coredump.
Can you explain why... (9 Replies)
Discussion started by: jegaraman
9 Replies
6. Solaris
Solaris 10 5/08 on Ultra 40 M2
It boots fine off primary disk but having issues booting off the mirror disk.
I get this error when booting off mirror disk:
Booting 'Solaris 10 ... Mirror disk'
root (hd1,0,a)
Error 22: No such partition
Press any key to continue...
Any... (7 Replies)
Discussion started by: etc
7 Replies
7. Solaris
Hi ,
I am new to SVM .when i try to learn RAID 1 , first they are creating two RAID 0 strips through
metainit d51 1 1 c0t0d0s2
metainit d52 1 1 c1t0d0s2
In the next step
metainit d50 -m d51
d50: Mirror is setup
next step is
metaattach d50 d52
d50 : submirror d52 is... (7 Replies)
Discussion started by: vr_mari
7 Replies
8. Solaris
HI Friends....
kindly explain os mirror patching?in SVM and Vxvm.
:wall: (1 Reply)
Discussion started by: Rajesh_Apple
1 Replies
9. HP-UX
what is the difference between DRD and Root Mirror Disk using LVM mirror ? (3 Replies)
Discussion started by: maxim42
3 Replies
LEARN ABOUT DEBIAN
aspect::advice::around
Aspect::Advice::Around(3pm) User Contributed Perl Documentation Aspect::Advice::Around(3pm)
NAME
Aspect::Advice::Around - Execute code both before and after a function
SYNOPSIS
use Aspect;
around {
# Trace all calls to your module
print STDERR "Called my function " . $_->sub_name . "
";
# Lexically alter a global for this function
local $MyModule::MAXSIZE = 1000;
# Continue and execute the function
$_->run_original;
# Suppress exceptions for the call
$_->return_value(1) if $_->exception;
} call qr/^ MyModule::w+ $/;
DESCRIPTION
The "around" advice type is used to execute code on either side of a function, allowing deep and precise control of how the function will
be called when none of the other advice types are good enough.
Using "around" advice is also critical if you want to lexically alter the environment in which the call will be made (as in the example
above where a global variable is temporarily changed).
This advice type is also the most computationally expensive to run, so if your problem can be solved with the use of a different advice
type, particularly "before", you should use that instead.
Please note that unlike the other advice types, your code in "around" is required to trigger the execution of the target function yourself
with the "proceed" method. If you do not "proceed" and also do not set either a "return_value" or "exception", the function call will
return "undef" in scalar context or the null list "()" in list context.
AUTHORS
Adam Kennedy <adamk@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2010 Adam Kennedy.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
perl v5.14.2 2012-02-01 Aspect::Advice::Around(3pm)