Sponsored Content
Operating Systems Solaris How to tell what disks are used for a zpool? Post 302789127 by robertinoau on Wednesday 3rd of April 2013 06:41:13 AM
Old 04-03-2013
How to tell what disks are used for a zpool?

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 what what disks are free.

I know I can use the "zpool status" which will show me what disks are being used by the pools.

Last edited by robertinoau; 04-03-2013 at 07:50 AM..
 

10 More Discussions You Might Find Interesting

1. Solaris

need zpool to revert...

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

Remove the exported zpool

I had a pool which was exported and due to some issues on my SAN i was never able to import it again. Can anyone tell me how can i destroy the exported pool to free up the LUN. I tried to create a new pool on the same pool but it gives me following error # zpool create emcpool4 emcpower0c... (0 Replies)
Discussion started by: fugitive
0 Replies

3. Solaris

What exactly does 'zpool iostat' measure?

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)
Discussion started by: rotunda
1 Replies

4. Solaris

ZPOOL help..

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

5. Solaris

Zpool query

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

6. UNIX for Advanced & Expert Users

R5 zpool in corrupted state

Hi All, I am getting zpool corrupted message under zpool status command.What could be the reason for this.I had observed this zpool was full this morning after this i am seeing this error. $PWD>zpool status -xv R5 pool: R5 state: DEGRADED status: One or more devices has experienced... (0 Replies)
Discussion started by: sahil_shine
0 Replies

7. Solaris

Shrinking zpool

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

8. Solaris

Restore of Netapp FC lun targets used as the disks for a zpool with exported zfs file systems

So, We have a Netapp storage solution. We have Sparc T4-4s running with LDOMS and client zones in the LDOMS, We are using FC for storage comms. So here's the basic setup FC luns are exported to the primary on the Sparc box. using LDM they are then exported to the LDOM using vdisk. at the... (4 Replies)
Discussion started by: os2mac
4 Replies

9. BSD

Zpool problem

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

10. Solaris

Zpool mirroring

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)
Discussion started by: psychocandy
3 Replies
vxinstall(1M)															     vxinstall(1M)

NAME
vxinstall - menu-driven Veritas Volume Manager initial configuration procedure SYNOPSIS
vxinstall DESCRIPTION
The vxinstall utility provides a menu driven interface to configure Veritas Volume Manager (VxVM). If you install the Veritas Volume Man- ager software package using the operating system's package administration commands, you can run vxinstall to configure VxVM for initial use on your system. Note: If you use the Veritas software installation scripts, do not run this utility. OPERATIONS
Licensing vxinstall first asks if you want to view the Veritas licenses already installed on the system. Answering "yes" is equivalent to exe- cuting the vxlicrep command (see vxlicrep(1)). You are then asked if you want to add licenses for other Veritas products. Answering "yes" is equivalent to running the vxlicinst command (see vxlicinst(1)). and entering a license key. Enclosure-Based Naming You can choose whether you want to use disk access names that are based on the device names assigned by the operating system, or that are based on names that you assign to enclosures. System-Wide Default Disk Group You can enter the name for the default disk group (defaultdg). This is an alias for the disk group name that should be assumed if the -g option is not specified to a command, or if the VXVM_DEFAULTDG environment variable is undefined. By default, defaultdg is set to nodg (that is, no disk group). NOTES
From release 4.0 of VxVM, it is no longer necessary to run vxinstall to configure the rootdg disk group. Disks and disk groups may be added to VxVM by running commands such as vxdiskadm(1M) or by using the graphical user interface without first running vxinstall. The operation of VxVM does not require any disk groups to have been configured, and a disk group named rootdg does not need to be present on the system. Any disk group may be configured as the default disk group that is to be used with VxVM commands. Any disk group named rootdg has no special significance to VxVM. See the vxdg(1M) manual page for further details. SEE ALSO
vxdctl(1M), vxdg(1M), vxdiskadm(1M), vxintro(1M), vxlicinst(1), vxlicrep(1) VxVM 5.0.31.1 24 Mar 2008 vxinstall(1M)
All times are GMT -4. The time now is 04:09 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy