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:
I need to create a pool like this:
I am not very familiar with the usage of zpool command and tried using various options but ended up creating wrong pools and re-installing the system. So, I need help in creating the above pools.
Also, one of my directories zpool/var/opt/abc is mounted on /var/opt/abc slice. Once the pools are created, I need to change the mount-point from zpool/var/opt/abc to xpool/var/opt/abc. How can i do that?
Thanks in advance.
Mayaank
Last edited by mystition; 09-20-2012 at 04:58 AM..
Here is how I would do it (although untested):
Your last request is less clear. Not sure exactly what you mean with zpool/var/opt/abc. Is it a dataset (file system) ? Don't you mean rpool/var/... instead of zpool/var/... ?
Now this doesnt look right to me. All of these disks are 100Gb LUNS so total zpool size is 300Gb.
Am I right in saying that this zpool consists of two disks plus one more disk that is 6 way mirrored?
So a bit pointless because only one of the three is mirrored (and 6 way is a bit of overkill... (3 Replies)
issue,
I had a zpool which was full
pool_temp1 199G 197G 1.56G 99% ONLINE -
pool_temp2 199G 196G 3.09G 98% ONLINE -
as you can see, full
so I replaced with a larger disk.
zpool replace pool_temp1 c3t600144F0FF8BA036000058CC1DB80008d0s0... (2 Replies)
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)
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)
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)
Hi,
I need to query Oracle database for 100 users. I have these 100 users in a file. I need a shell script which would read this User file (one user at a time) & query database.
For instance:
USER CITY
--------- ----------
A CITY_A
B CITY_B
C ... (2 Replies)
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)
hi there, i'd like to know what exactly zpool's iostat (-v) output measure, especially the writes. Is it only the writes to the ZIL or all writes (including commmits) to the disks? if anyone knows, that'd be helpful roti (1 Reply)
Hi,
I have a requirement as below which needs to be done viz UNIX shell script
(1) I have to connect to an Oracle database
(2) Exexute "SELECT field_status from table 1" query on one of the tables.
(3) Based on the result that I get from point (2), I have to update another table in the... (6 Replies)
hi i have created a pool using zpool command for my /dev/dsk/c1d0s3 disk.
The poolname is qwertyuiopasdfghjklmnbvcxzzxcvbnmasdfghjklqwertyuiopoiuytrewqasdfghjklkjhgfdsazxcvbnmmnbnbcxczxzassd
ddddvfhfghgjjgjhgkhkljfjlhohihiuyuioyguioyguiowyuiogwyuigwrigywuigyguiyuiogyugiyguioyuyguiowygiuygui... (1 Reply)