Does anyone know how to force these rogue logical volumes to mirror to there respective disks?
DISK:Logical Volumes
03:cw_p05,cw_p01_01,cw_p01_02,lv00
09:cw_p05,cw_p01_01,cw_p01_02
04:cw_p01_phyldbs,cw_p01_03,cw_op01_01,cw_od01
10:cw_p01_phyldbs,cw_p01_03,cw_op01_01 (1 Reply)
I hope I am posting in the correct forum.
I have a server - which I am installing solaris 9 on.
The server currently has 2 disks. I wish to run solaris 9 on one, and use the other as a mirror for the first one. ie. If the first one should ever fail, then I can swap to the mirror and just... (18 Replies)
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)
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)
Hi guys,
We had created a pool as follows:
zpool create filing_pool raidz c1t2d0 c1t3d0 ........
Due to some requirement, we need to destroy the pool and re-create another one. We wish to know now which disks have been included in the filing_pool, how do we list the disks used to create... (2 Replies)
i have this pool1 on my sun4u sparc machine
bash-3.00# zpool get all pool1
NAME PROPERTY VALUE SOURCE
pool1 size 292G -
pool1 used 76.5K -
pool1 available 292G -
pool1 capacity 0% -... (1 Reply)
I have to do patching in single user mode in solaris 10 zfs root pool. Before that I have to detach the root mirror pool so that if patching fails then I can boot from detached root mirror pool. Please let me know how can I detach root pool
bash-3.2# zpool status
pool: rpool
state: ONLINE... (5 Replies)
Discussion started by: hb00
5 Replies
LEARN ABOUT PHP
imagecolorstotal
IMAGECOLORSTOTAL(3) 1 IMAGECOLORSTOTAL(3)imagecolorstotal - Find out the number of colors in an image's paletteSYNOPSIS
int imagecolorstotal (resource $image)
DESCRIPTION
Returns the number of colors in an image palette.
PARAMETERS
o $image
- An image resource, returned by one of the image creation functions, such as imagecreatefromgif(3).
RETURN VALUES
Returns the number of colors in the specified image's palette or 0 for truecolor images.
EXAMPLES
Example #1
Getting total number of colors in an image using imagecolorstotal(3)
<?php
// Create image instance
$im = imagecreatefromgif('php.gif');
echo 'Total colors in image: ' . imagecolorstotal($im);
// Free image
imagedestroy($im);
?>
The above example will output something similar to:
Total colors in image: 128
SEE ALSO imagecolorat(3), imagecolorsforindex(3), imageistruecolor(3).
PHP Documentation Group IMAGECOLORSTOTAL(3)