06-07-2015
Zpool import/export error
A backup/clone script of ours was recently ran. It normally only clones the rpool and renames in rpoolA. Something must've changed as it found another one of our pools that it shouldn't have. It exported that pool unbeknownst to us. Later on when a coworker realized the other pool was missing he attempted to recover it but by creating a new pool with the same name and using the same lun instead of doing an import first.
It seems that since the new pool was created using the same name and same lun as the exported pool we cannot recover the original pool. We've tried destroying the newly created pool and running zpool import -D to see whats available and its only the newly created pool.
Does anyone know of any further recovery procedures? This was a newly installed system and this was our initial attempt at backing up that system so we are stuck without any data recovery.
Thanks.
Last edited by beantownmp; 06-07-2015 at 01:31 PM..
10 More Discussions You Might Find Interesting
1. Filesystems, Disks and Memory
Hi,
Can I do the following:
On SunOS 5.8
/etc/vfstab:
remote-host:/Volumes/webdata - /export/home/webdata nfs - yes rw,vers=3,soft,intr,bg,timeo=600
In /etc/auto_direct:
/home/science $HOST:/export/home/webdata/science
/home/science-edu ... (2 Replies)
Discussion started by: bloyall
2 Replies
2. Solaris
I've been wondering about this one, is there any way to do the following with ZFS ACL's (i.e. "copy" the ACL over to another file)?
getfacl /bla/dir1 | setfacl -f - /bla/dir2
I know about inheritence on dirs, it doesn't work in this scenario I'm working on. Just looking to copy the ACL's.
... (3 Replies)
Discussion started by: vimes
3 Replies
3. Shell Programming and Scripting
Hey guys.. I am not sure if this is the right place to post this - but here goes. I need to manipulate an openldap export to match a different schema so that I can import into that system. Basically - its just text manipulation. I have gotten alot of it done just by using simple sed, but I am sorta... (0 Replies)
Discussion started by: i2ambler
0 Replies
4. Solaris
Hello, I have a problem on my backup server. I lost my system hdd and my separate ZIL device while the system crashs and now I'm in trouble. The old system was running under the least version of osol/dev (snv_134) with zfs v22.
After the server crashs I was very optimistic of solving the problems... (2 Replies)
Discussion started by: ron2105
2 Replies
5. Shell Programming and Scripting
I have a calling script which consists of calls to other scripts via the sh command.
ie vi callscript.sh
sh smallscript1.sh
extra unix commands
sh smallscript2.sh
exit
In smallscript1, I prompt for a filename, which I handle via :-
read f1
export f1
I then need... (5 Replies)
Discussion started by: malts18
5 Replies
6. UNIX for Dummies Questions & Answers
Hi,
I need to export an existing PGP key and import it into GnuPG on a different machine.
This is how I did the export:
pgp -kx myuser _myuser_public
pgp -kx myuser _myuser_private secring.skr
(this is from the pgp installation directory that contains secring.skr).
This produced two... (0 Replies)
Discussion started by: imchi
0 Replies
7. Solaris
I have a role.
lets call it "Oracle Backup"
that role has the following profiles:
oraback@devl0:~$ profiles
formaters
zoneadm
Oracle Backup
ZFS File System Management
ZFS Storage Management
Basic Solaris User
All
but when I try to export a zpool:
oraback@devl0:~$ zpool export... (3 Replies)
Discussion started by: os2mac
3 Replies
8. Homework & Coursework Questions
Hi Guys,
I Just wanted your opinion/ suggestion/ Help on my unix script about db2 export data with deli file and import into oracle.
db2 connect to Tablename user id using psswrd
db2 "EXPORT TO '/cardpro/brac/v5/dev/dat/AAAAA.DEL' OF DEL select * FROM AAAAA"
db2 "EXPORT TO... (3 Replies)
Discussion started by: Sonny_103024
3 Replies
9. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
is this enough to make the data perfect export into delimited file? there are some posted that i read, they... (9 Replies)
Discussion started by: Sonny_103024
9 Replies
10. Solaris
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
LEARN ABOUT OSX
class::mop::method
Class::MOP::Method(3) User Contributed Perl Documentation Class::MOP::Method(3)
NAME
Class::MOP::Method - Method Meta Object
VERSION
version 2.0604
DESCRIPTION
The Method Protocol is very small, since methods in Perl 5 are just subroutines in a specific package. We provide a very basic
introspection interface.
METHODS
Class::MOP::Method->wrap($code, %options)
This is the constructor. It accepts a method body in the form of either a code reference or a Class::MOP::Method instance, followed by
a hash of options.
The options are:
o name
The method name (without a package name). This is required if $code is a coderef.
o package_name
The package name for the method. This is required if $code is a coderef.
o associated_metaclass
An optional Class::MOP::Class object. This is the metaclass for the method's class.
$metamethod->clone(%params)
This makes a shallow clone of the method object. In particular, subroutine reference itself is shared between all clones of a given
method.
When a method is cloned, the original method object will be available by calling "original_method" on the clone.
$metamethod->body
This returns a reference to the method's subroutine.
$metamethod->name
This returns the method's name
$metamethod->package_name
This returns the method's package name.
$metamethod->fully_qualified_name
This returns the method's fully qualified name (package name and method name).
$metamethod->associated_metaclass
This returns the Class::MOP::Class object for the method, if one exists.
$metamethod->original_method
If this method object was created as a clone of some other method object, this returns the object that was cloned.
$metamethod->original_name
This returns the method's original name, wherever it was first defined.
If this method is a clone of a clone (of a clone, etc.), this method returns the name from the first method in the chain of clones.
$metamethod->original_package_name
This returns the method's original package name, wherever it was first defined.
If this method is a clone of a clone (of a clone, etc.), this method returns the package name from the first method in the chain of
clones.
$metamethod->original_fully_qualified_name
This returns the method's original fully qualified name, wherever it was first defined.
If this method is a clone of a clone (of a clone, etc.), this method returns the fully qualified name from the first method in the
chain of clones.
$metamethod->is_stub
Returns true if the method is just a stub:
sub foo;
$metamethod->attach_to_class($metaclass)
Given a Class::MOP::Class object, this method sets the associated metaclass for the method. This will overwrite any existing associated
metaclass.
$metamethod->detach_from_class
Removes any associated metaclass object for the method.
$metamethod->execute(...)
This executes the method. Any arguments provided will be passed on to the method itself.
Class::MOP::Method->meta
This will return a Class::MOP::Class instance for this class.
It should also be noted that Class::MOP will actually bootstrap this module by installing a number of attribute meta-objects into its
metaclass.
AUTHOR
Moose is maintained by the Moose Cabal, along with the help of many contributors. See "CABAL" in Moose and "CONTRIBUTORS" in Moose for
details.
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Infinity Interactive, Inc..
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
perl v5.16.2 2012-09-19 Class::MOP::Method(3)