02-02-2010
According to the man page you can only remove hotspare and cache devices with the zpool remove command. You can also remove devices from a mirror using the zpool detach command, as long as it is not the last submirror.
So there is no way to shrink a zpool at this time. But there is a RFE (4852783) to implement this feature.
10 More Discussions You Might Find Interesting
1. Solaris
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
2. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
3. 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
4. UNIX for Advanced & Expert Users
Hi,
How to remove the allocate SAN Lun on the Linux Server. I am using rhel 5.8. I have assigned a LUN to the existing Volume group.
For eg: I have allocated a LUN with 20GB to the existing volume group(test123). Now, how can I take back the allocated lun without any issues. (1 Reply)
Discussion started by: gsiva
1 Replies
5. Solaris
Hi ,
One of my zone went down and when i booted it up i could see the pool in degraded state with some check sum errors . we have brought the pool online after scrubbing. But few files are showing this error
Bad exchange descriptor
Please let me know how to remove these files (2 Replies)
Discussion started by: chidori
2 Replies
6. Solaris
So, we removed a LUN from the SAN and the system is refusing to remove the references to it in the /dev folder. I've done the following:
devfsadm -Cv
powermt -q
luxadm -e offline <drive path>
luxadm probe
All those commands failed to remove the path. The drive stills shows up as <drive... (13 Replies)
Discussion started by: DustinT
13 Replies
7. Solaris
I added a disk to a zpool using "zpool add diskname"
My intention was mirror a zpool disk that no mirror; that is a zpool with only one disk. I did not issue the right command. Now, the disk has been added successfully but I cannot remove nor detach it as Solaris 11 thinks it has data on it... (14 Replies)
Discussion started by: LittleLebowski
14 Replies
8. Solaris
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. Solaris
Hi all, I have a LUN that is in "Online Busy" when I issue the dev_gestate subcommand of luxadm:
root@es088wb6:~# luxadm -v -e dev_getstate /dev/rdsk/c21t50050763090887FEd4s2
phys path = "/devices/pci@6c0/pci@1/pci@0/pci@4/SUNW,qlc@0/fp@0,0/ssd@w50050763090887fe,4:c,raw"
... (5 Replies)
Discussion started by: ludiegu
5 Replies
10. Solaris
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
LEARN ABOUT DEBIAN
ql-dynamic-tgt-lun-disc
ql-dynamic-tgt-disc(8) System Administration ql-dynamic-tgt-disc(8)
NAME
ql-dynamic-tgt-lun-disc - Scans for newly added LUNs.
SYNOPSIS
ql-dynamic-tgt-lun-disc [OPTIONS]
DESCRIPTION
Dynamic TGT-LUN Discovery Utility
This utility scans for newly added LUNs. After adding new LUNs, you do not need to unload, then load the QLogic FC driver or reboot the
system
To begin scanning the LUNs issue following command:
# /usr/sbin/ql-dynamic-tgt-lun-disc
-al, --allow-lip
LIP is not issued by default, even if it is required for scanning new LUNs Setting this option, allows the utility to issue LIP.
-cl, --current-luns
Displays LUNS currently present
-e, --extended-scan
Use this option as "-e | --extended-scan". to rescan LUNs. This will identify any change in attributes of existing LUNs. This option
can be used in combination of scan/refresh or max luns
-h, --help, ?
Prints this help message
-i, --interactive
Use this option to use the menu driven program
-is, --iscsi
Use this option to operate on ISCSI HBAs, this option can be used in combination of any other supported option.
-m, --max-lun
To set the maximum LUNs to be scanned
-p, --proc
Use PROC file system for LUN scanning
-r, --refresh
To refresh, that is remove LUNs that are lost use the options "-r|--refresh". This will remove the LUNs which no more exist.
-s, --scan [ -r|--refresh ]
The QLogic LUN scan utility re-scans all the devices connected to the QLogic HBA
SEE ALSO
ql-lun-state-online(8), ql-hba-snapshot(8), ql-set-cmd-timeout(8)
Matthias Schmitz <matthias@sigxcpu.org> July 2009 ql-dynamic-tgt-disc(8)