Sponsored Content
Operating Systems Solaris Cannot remove disk added to zpool Post 302933687 by bartus11 on Sunday 1st of February 2015 02:34:39 PM
Old 02-01-2015
The system will only allow you to detach one disk from that pool. If those are all the disks you can use, then there is no way to provide redundancy without destroying the pool and recreating it from scratch. If you will go this way, this command will create mirrored pool:
Code:
zpool create nbuvol mirror c3t5000CCA012B3E751d0 c3t5000CCA012B39541d0 mirror c5t5000CCA012B4325Dd0 c5t5000CCA00AC56225d0

 

10 More Discussions You Might Find Interesting

1. 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

2. Solaris

Can't remove a LUN from a Zpool!

I am not seeing anyway to remove a LUN from a Zpool... Am I missing something? or do i have to destroy the zpool and recreate it? (2 Replies)
Discussion started by: BG_JrAdmin
2 Replies

3. Red Hat

Partitioning newly added disk to Redhat

Hi Everyone, I have added new Virtual disk to OS. The main point is I need to bring this whole Disk into LVM control, is it necessary to partition the disk using fdisk command and assign partition type as '8e', or can I directly add that disk into LVM, by running pvcreate command with out... (2 Replies)
Discussion started by: bobby320
2 Replies

4. AIX

Remove the disk online

Hi I have one of the disk missing in my NIMVG. My doubt is can I remove this hdisk2 online ? few of the file systems seems to be spread over 7 PV's. that's why i'm worried. Can someone suggest if I can replace this disk online. Also how to check if there is some data present in hdisk2 alone... (2 Replies)
Discussion started by: newtoaixos
2 Replies

5. Solaris

Bad exchange descriptor : not able to remove files under zpool

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

Add disk to zpool

Hi, Quick question. I have a data zpool that consists of 1 disk. pool: data state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 c0t50002AC0014B06BEd0 ONLINE... (2 Replies)
Discussion started by: general_lee
2 Replies

7. AIX

LPAR cannot added disk

Dear All, I created a new partition through "Integrated Virtualization Manager" but there have an error when I added a new disk to the partition. The disk already created without any issue, Below error is to add the disk to the partition An error occured while modifying the assignments... (5 Replies)
Discussion started by: lckdanny
5 Replies

8. Solaris

Exporting zpool sitting on different disk partition

Hello, I need some help in recovering ZFS pool. Here is scenerio. There are two disks - c0t0d0 - This is good disk. I cloned it from other server and boot server from this disk. c0t1d0 - This is original disk of this server, having errors. I am able to mount it on /mnt. So that I can copy... (1 Reply)
Discussion started by: solaris_1977
1 Replies

9. Solaris

Replace zpool with another disk

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)
Discussion started by: rrodgers
2 Replies

10. Solaris

How to clear a removed single-disk pool from being listed by zpool import?

On an OmniOS server, I removed a single-disk pool I was using for testing. Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore. # zpool import pool: fido id: 7452075738474086658 state: FAULTED status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
metaparam(1M)						  System Administration Commands					     metaparam(1M)

NAME
metaparam - modify parameters of metadevices SYNOPSIS
/usr/sbin/metaparam -h /usr/sbin/metaparam [-s setname] [ concat/stripe or RAID5 options] concat/stripe RAID /usr/sbin/metaparam [-s setname] [ mirror options] mirror DESCRIPTION
The metaparam command is used to display or modify current parameters of metadevices. If just the metadevice is specified as an argument to the metaparam command, the current settings are displayed. The metaparam command enables most metadevice (volume) parameters to be changed. Only the interlace value cannot be changed by metaparam, because it is established when the metadevice is created and cannot be changed thereafter. OPTIONS
Root privileges are required for all of the options. The following options are supported: -h Displays usage message. -s setname Specify the name of the diskset on which metaparam works. Using the -s option causes the command to perform its administra- tive function within the specified diskset. Without this option, the command performs its function on local metadevices. CONCAT
/STRIPE OR RAID5 OPTIONS -h hot_spare_pool | none Specifies the hot spare pool to be used by a metadevice. If none is specified, the metadevice is disassoci- ated with the hot spare pool assigned to it. If the metadevice is currently using a hot spare, then meta- param cannot replace the hot spare pool. concat/stripe | RAID Specifies the metadevice name of the concatenation, stripe, or concatenation of stripes, or of the RAID5 metadevice. MIRROR OPTIONS
-r roundrobin | geometric | first Modifies the read option for a mirror. The -r option must be followed by either roundrobin, geomet- ric, or first. roundrobin, which is the default action under the metainit command, specifies read- ing the disks in a round-robin (load balancing) method. geometric allows for faster performance on sequential reads. first specifies reading only from the first submirror. -w parallel | serial Modifies the write option for a mirror. The -w option must be followed by either parallel or serial. parallel, the default action under the metainit command, specifies that all writes are par- allel. serial specifies that all writes are serial. -p pass_number A number from 0-to-9 that specifies the order in which a mirror is resynced during reboot. The default is 1. Smaller pass numbers are resynced first. Equal pass numbers are run concurrently. If 0 is used, the mirror resync is skipped. 0 should only be used for mirrors mounted as read-only, or as swap. mirror Specifies the metadevice name of the mirror. EXAMPLES
Example 1: Associating Hot Spare Pool with RAID5 Metadevice This example associates a hot spare pool, hsp005, with a RAID5 metadevice, d80. # metaparam -h hsp005 d80 Example 2: Changing Read Option to Geometric This example changes the read option on a mirror d50 from the default of roundrobin to geometric. # metaparam -r geometric d50 EXIT STATUS
The following exit values are returned: 0 Successful completion. >0 An error occurred. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWmdu | +-----------------------------+-----------------------------+ SEE ALSO
mdmonitord(1M), metaclear(1M), metadb(1M), metadetach(1M), metahs(1M), metainit(1M), metaoffline(1M), metaonline(1M), metarecover(1M), metarename(1M), metareplace(1M), metaroot(1M), metaset(1M), metassist(1M), metastat(1M), metasync(1M), metattach(1M), md.tab(4), md.cf(4), mddb.cf(4), md.tab(4), attributes(5), md(7D) Solaris Volume Manager Administration Guide SunOS 5.10 2 Jun 1004 metaparam(1M)
All times are GMT -4. The time now is 11:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy