10-01-2015
yup did that.... only response was ioctl.
9 More Discussions You Might Find Interesting
1. Solaris
hi i have created a pool using zpool command for my /dev/dsk/c1d0s3 disk.
The poolname is qwertyuiopasdfghjklmnbvcxzzxcvbnmasdfghjklqwertyuiopoiuytrewqasdfghjklkjhgfdsazxcvbnmmnbnbcxczxzassd
ddddvfhfghgjjgjhgkhkljfjlhohihiuyuioyguioyguiowyuiogwyuigwrigywuigyguiyuiogyugiyguioyuyguiowygiuygui... (1 Reply)
Discussion started by: SankarV
1 Replies
2. Solaris
hi ...
i have added a physical disk to the pool with
""zpool add <poolname> diskname"""... after that i realized that i have to mirror it instead..then i tried to take that disk out of the pool but i m not able to do that..
i have gone through many unix help sites , nothing worked ,
so please... (6 Replies)
Discussion started by: yrajendergoud
6 Replies
3. UNIX for Dummies Questions & Answers
I've been through many threads before i decide to create a separate thread.
I can't really find the solution to my (simple) problem.
Here's what I'm trying to achieve:
As "canar" user I want to run a command, let's say "/opt/ocaml/bin/ocaml" as "duck" user.
The only to achieve this is to... (1 Reply)
Discussion started by: canar
1 Replies
4. Solaris
Hi,
I have an X86pc with Solaris 10 and ZFS system. It has 8 similar disks.
I need help in creating some zpools and changing the mount-point of a slice.
Currently, the zpool in my system is like this:
root@abcxxx>zpool status
pool: rpool
state: ONLINE
scrub: none requested... (4 Replies)
Discussion started by: mystition
4 Replies
5. Solaris
Hello,
Does anyone know how I can tell what disk are being not being used by a zpool?
For example in Veritas Volume manager, I can run a "vxdisk list" and disks that are marked as "online invalid" are disk that are not used.
I'm looking for a similar command in ZFS which will easily show... (5 Replies)
Discussion started by: robertinoau
5 Replies
6. Solaris
Hello experts,
I have a solaris 10 (SunOS 5.10 Generic_148888-05 sun4u sparc SUNW,SPARC-Enterprise) that by mistake I added a second san space of 700g to the pool. the whole pool is now 1.2T and, I need to take the space away from the pool and, make the pool 700g total. this is live oracle... (7 Replies)
Discussion started by: afadaghi
7 Replies
7. UNIX for Advanced & Expert Users
Dear all,
recently, I migrated a solaris zone from one host to another. The zone was inside of a zpool. The zpool cotains two volumes.
I did the following:
host1:
$ zlogin zone1 shutdown -y -g0 -i0 #Zone status changes from running to installed
$ zpool export zone1
host2:
$ zpool... (2 Replies)
Discussion started by: custos
2 Replies
8. Solaris
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... (2 Replies)
Discussion started by: beantownmp
2 Replies
9. BSD
Hi
I have a problem with size on zfs filesystem on FreeBSD 9.2-RELEASE-p3.
When I do this:
free01# df -Th
Filesystem Type Size Used Avail Capacity Mounted on
/dev/ufs/FreeNASdde ufs 926M 826M 26M 97% /
devfs devfs ... (1 Reply)
Discussion started by: primo102
1 Replies
LEARN ABOUT CENTOS
get_camera_matrix
get_camera_matrix(3alleg4) Allegro manual get_camera_matrix(3alleg4)
NAME
get_camera_matrix - Constructs a camera matrix for perspective projection. Allegro game programming library.
SYNOPSIS
#include <allegro.h>
void get_camera_matrix(MATRIX *m, fixed x, y, z, xfront, yfront, zfront, fixed xup, yup, zup, fov, aspect);
DESCRIPTION
Constructs a camera matrix for translating world-space objects into a normalised view space, ready for the perspective projection. The x,
y, and z parameters specify the camera position, xfront, yfront, and zfront are the 'in front' vector specifying which way the camera is
facing (this can be any length: normalisation is not required), and xup, yup, and zup are the 'up' direction vector.
The fov parameter specifies the field of view (ie. width of the camera focus) in binary, 256 degrees to the circle format. For typical pro-
jections, a field of view in the region 32-48 will work well. 64 (90(de) applies no extra scaling - so something which is one unit away
from the viewer will be directly scaled to the viewport. A bigger FOV moves you closer to the viewing plane, so more objects will appear. A
smaller FOV moves you away from the viewing plane, which means you see a smaller part of the world.
Finally, the aspect ratio is used to scale the Y dimensions of the image relative to the X axis, so you can use it to adjust the propor-
tions of the output image (set it to 1 for no scaling - but keep in mind that the projection also performs scaling according to the view-
port size). Typically, you will pass (float)w/(float)h, where w and h are the parameters you passed to set_projection_viewport.
Note that versions prior to 4.1.0 multiplied this aspect ratio by 4/3.
SEE ALSO
apply_matrix(3alleg4), get_align_matrix(3alleg4), set_projection_viewport(3alleg4), persp_project(3alleg4)
Allegro version 4.4.2 get_camera_matrix(3alleg4)