Sponsored Content
Operating Systems Solaris zpool create - long time creation Post 302547917 by bieszczaders on Wednesday 17th of August 2011 02:47:03 AM
Old 08-17-2011
zpool create - long time creation

Hello,

I have a 520GB SAN resource connected to the server via FC (4Gbit).
In the next step he wants to create pool storage:
Quote:
zpool create storage c4t600A0B80005BCFDC000005A64E44DB7Ad0
After 15 hours Pool has not yet created...
Is such a long waiting time is normal? Should I have done?

Regards
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

file creation time

i have to delete some files that were created on a particular date. is there any way to do that without affecting the files that were modified on the same date? (1 Reply)
Discussion started by: sskb
1 Replies

2. Programming

File creation time

Hi Everybody, Is their any functions to find out the file creation time in 'C' (2 Replies)
Discussion started by: mr_manii
2 Replies

3. Shell Programming and Scripting

File creation time in seconds

Hi All, Cany any one help me in solving this.. Problem statement: I have a requirement to find the time from which there are no files created in a given directory. For this I am assuming that I need to get the file creation time in seconds, then the current time in seconds using `date +%s`.... (7 Replies)
Discussion started by: chary
7 Replies

4. Solaris

How to create metadb with zpool in Solaris 11

Hi, my root pool is as follows. How can I create a metadb if I want to create SVM volumes? zpool status pool: rpool1 state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM rpool1 ONLINE 0 0 0 c4t1d0s0 ... (10 Replies)
Discussion started by: incredible
10 Replies

5. BSD

Unable to create zfs zpool in FreeBSD 8.2: no such pool or dataset

I am trying to test simple zfs functionality on a FreeBSD 8.2 VM. When I try to run a 'zpool create' I receive the following error: # zpool create zfspool /dev/da0s1a cannot create 'zfspool': no such pool or dataset # zpool create zfspool /dev/da0 cannot create 'zfspool': no such pool or... (3 Replies)
Discussion started by: bstring
3 Replies

6. Red Hat

File creation time

Hi Everybody, I would like to know file creation date and time in linux. I went throgh google and forums got some information but from that i am not sure for my question. Please check the following information. "ls -l" ==> but it is just gives the last modified time and date of the file.... (2 Replies)
Discussion started by: mastansaheb
2 Replies

7. Shell Programming and Scripting

Time take between first and last file creation

Hi , In a folder I have multiple files. I want total time taken to write those files. Can you please suggest what will be the best way to go for it? (2 Replies)
Discussion started by: Anupam_Halder
2 Replies

8. Shell Programming and Scripting

How to create a long list of directories with mkdir?

Hi... Thanks to read this... I want to use mkdir to create many directories listed in a text file, let's say. How do I do this? Sorry for this maybe very basic question :) (13 Replies)
Discussion started by: setub
13 Replies

9. UNIX for Beginners Questions & Answers

Sftp file creation time

Hi Team, Could you please let me know ,how to find the file creation date time in SFTP server. i tred like , ls -ltr command only availble and not available like ls --full-time test.txt please help? Thanks (7 Replies)
Discussion started by: bmk123
7 Replies
DBIx::Class::Storage::DBI::Replicated::Pool(3)		User Contributed Perl Documentation	    DBIx::Class::Storage::DBI::Replicated::Pool(3)

NAME
DBIx::Class::Storage::DBI::Replicated::Pool - Manage a pool of replicants SYNOPSIS
This class is used internally by DBIx::Class::Storage::DBI::Replicated. You shouldn't need to create instances of this class. DESCRIPTION
In a replicated storage type, there is at least one replicant to handle the read-only traffic. The Pool class manages this replicant, or list of replicants, and gives some methods for querying information about their status. ATTRIBUTES
This class defines the following attributes. maximum_lag ($num) This is a number which defines the maximum allowed lag returned by the "lag_behind_master" in DBIx::Class::Storage::DBI method. The default is 0. In general, this should return a larger number when the replicant is lagging behind its master, however the implementation of this is database specific, so don't count on this number having a fixed meaning. For example, MySQL will return a number of seconds that the replicating database is lagging. last_validated This is an integer representing a time since the last time the replicants were validated. It's nothing fancy, just an integer provided via the perl time built-in. replicant_type ($classname) Base class used to instantiate replicants that are in the pool. Unless you need to subclass DBIx::Class::Storage::DBI::Replicated::Replicant you should just leave this alone. replicants A hashref of replicant, with the key being the dsn and the value returning the actual replicant storage. For example, if the $dsn element is something like: "dbi:SQLite:dbname=dbfile" You could access the specific replicant via: $schema->storage->replicants->{'dbname=dbfile'} This attributes also supports the following helper methods: set_replicant($key=>$storage) Pushes a replicant onto the HashRef under $key get_replicant($key) Retrieves the named replicant has_replicants Returns true if the Pool defines replicants. num_replicants The number of replicants in the pool delete_replicant ($key) Removes the replicant under $key from the pool master Reference to the master Storage. METHODS
This class defines the following methods. connect_replicants ($schema, Array[$connect_info]) Given an array of $dsn or connect_info structures suitable for connected to a database, create an DBIx::Class::Storage::DBI::Replicated::Replicant object and store it in the "replicants" attribute. connect_replicant ($schema, $connect_info) Given a schema object and a hashref of $connect_info, connect the replicant and return it. _safely_ensure_connected ($replicant) The standard ensure_connected method with throw an exception should it fail to connect. For the master database this is desirable, but since replicants are allowed to fail, this behavior is not desirable. This method wraps the call to ensure_connected in an eval in order to catch any generated errors. That way a slave can go completely offline (e.g. the box itself can die) without bringing down your entire pool of databases. _safely ($replicant, $name, $code) Execute $code for operation $name catching any exceptions and printing an error message to the "<$replicant-"debugobj>>. Returns 1 on success and undef on failure. connected_replicants Returns true if there are connected replicants. Actually is overloaded to return the number of replicants. So you can do stuff like: if( my $num_connected = $storage->has_connected_replicants ) { print "I have $num_connected connected replicants"; } else { print "Sorry, no replicants."; } This method will actually test that each replicant in the "replicants" hashref is actually connected, try not to hit this 10 times a second. active_replicants This is an array of replicants that are considered to be active in the pool. This does not check to see if they are connected, but if they are not, DBIC should automatically reconnect them for us when we hit them with a query. all_replicants Just a simple array of all the replicant storages. No particular order to the array is given, nor should any meaning be derived. validate_replicants This does a check to see if 1) each replicate is connected (or reconnectable), 2) that is ->is_replicating, and 3) that it is not exceeding the lag amount defined by "maximum_lag". Replicants that fail any of these tests are set to inactive, and thus removed from the replication pool. This tests "all_replicants", since a replicant that has been previous marked as inactive can be reactivated should it start to pass the validation tests again. See DBIx::Class::Storage::DBI for more about checking if a replicating connection is not following a master or is lagging. Calling this method will generate queries on the replicant databases so it is not recommended that you run them very often. This method requires that your underlying storage engine supports some sort of native replication mechanism. Currently only MySQL native replication is supported. Your patches to make other replication types work are welcomed. AUTHOR
John Napiorkowski <john.napiorkowski@takkle.com> LICENSE
You may distribute this code under the same terms as Perl itself. perl v5.16.2 2012-08-16 DBIx::Class::Storage::DBI::Replicated::Pool(3)
All times are GMT -4. The time now is 07:22 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy