Sponsored Content
Full Discussion: ZFS rpool physical disk move
Operating Systems Solaris ZFS rpool physical disk move Post 302763679 by Metasin on Wednesday 30th of January 2013 10:21:16 AM
Old 01-30-2013
Sun ZFS rpool physical disk move

I'd like to finish setting up this system and then move the secondary or primary disk to another system that is the exact same hardware.

I've done things like this in the past with ufs and disk suite mirroring just fine. But I have yet to do it with a zfs root pool mirror.

Are there any gotchas i should know about, like with a mirror i would edit /etc/system comment out md and boot without it then re do the mirrot, etc.

How will ZFS react to this, should i offline the disk in the rpool first before pulling it?

Any input would be great thanks in advance.

solaris 11/11
zfs mirrored root pool
Sun X3-2 server
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

physical volume and physical disk.

Hello, I need explanations about physical disks and physical volumes. What is the difference between these 2 things? In fact, i am trying to understand what the AIX lspv2command does. Thank you in advance. (2 Replies)
Discussion started by: VeroL
2 Replies

2. Solaris

6120 Array. Additional physical Disks and ZFS

Hi; I have 4 new disks in a 6120 Array attached to a SUN server running zfs. There are already two virtual disks on the array comprising of 3 disk raid 5 for each Vdisk. I need to add two more disks to each vdisk making each a 5 disk raid 5 Vdisk. If ZFS already has the original... (3 Replies)
Discussion started by: myjess
3 Replies

3. Solaris

ZFS : Can arc size value exceed Physical RAM ?

Hi, kstat -p -m zfs -n arcstats -s size returns zfs:0:arcstats:size 8177310584 this values is approx (7.61 GB) but my Physical Memory size is only 6144 Megabytes. Can this happen ? if yes, then how can I find free memory on the system. BTW, I ran the kstat commands from a Non... (2 Replies)
Discussion started by: sapre_amit
2 Replies

4. Solaris

Splitting rpool mirror disk in ZFS

Hi, I have Solaris-10 (release-7) box without any non global zone. I have a very critical change after couple of days from application side. For safer side, we want to keep few level of backups just in case of faliure. This server is having three pool root@prod_ddoa01:/# zpool list NAME SIZE... (2 Replies)
Discussion started by: solaris_1977
2 Replies

5. Solaris

Zfs rpool size

Hi everyone, I am doing housekeeping of my Solaris 11 for zfs snapshot to reduce the snapshot size. I have already cleared the / file system, however the rpool size still not reduced. Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-2 98G 6.9G ... (2 Replies)
Discussion started by: freshmeat
2 Replies

6. Solaris

Need help to understand zfs rpool space allocation

Hi, I am unable to understand that, in one of my servers while df -kh Filesystem Size Used Available Capacity Mounted on rpool/ROOT/solaris-2 98G 11G 29G 29% / Even the Root FS filled on 40gb and system becomes unstable. it is showing... (4 Replies)
Discussion started by: anuragr
4 Replies

7. Solaris

ZFS: /system/zones "respawning" on rpool

Hi, I have this fresh installation of Solaris 11.3 sparc. I have two zfs pools both using two disks in mirroring mode, both are online. I want to move /system/zones, currently rpool/VARSHARE/zones, from rpool to the other zfs pool so my zones don't consume space on the disks allocated to... (1 Reply)
Discussion started by: X96
1 Replies

8. Solaris

Trying to create ZFS slice on rpool

I have a 240GB disk as rpool. I have installed Solaris 11.3 to a partition which is 110GB. Now I have another 130GB which is unallocated. I want to use that additional space as a temporary folder to be shared between Solaris and Linux. The additional space had no /dev/dsk/c2t4... entry so I used... (8 Replies)
Discussion started by: kebabbert
8 Replies

9. Solaris

Exporting physical disk to ldom or ZFS volume

Generally, this is what we do:- On primary, export 2 LUNs (add-vdsdev). On primary, assign these disks to the ldom in question (add-vdisk). On ldom, created mirrored zpool from these two disks. On one server (which is older) we have:- On primary, create mirrored zpool from the two LUNs.... (4 Replies)
Discussion started by: psychocandy
4 Replies

10. Solaris

Sharing a physical disk with an LDOM

I have a guest LDOM running Solaris 10U11 on a Sun T4-1 host running Solaris 11.4. The host has a disk named bkpool that I'd like to share with the LDOM so both can read and write it. The host is hemlock, the guest is sol10. root@hemlock:~# zpool list NAME SIZE ALLOC FREE CAP DEDUP ... (3 Replies)
Discussion started by: Michele31416
3 Replies
vxmirror(1M)															      vxmirror(1M)

NAME
vxmirror - mirror volumes on a disk or control default mirroring SYNOPSIS
/etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] medianame [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no ] [-t tasktag ] -a [new_medianame...] /etc/vx/bin/vxmirror [-g diskgroup ] [-d yes|no] /etc/vx/bin/vxmirror [-g diskgroup] -D DESCRIPTION
The vxmirror command provides a mechanism to mirror all non-mirrored volumes that are located on a specified disk, to mirror all currently non-mirrored volumes in the specified disk group, or to change or display the current defaults for mirroring. All volumes that have only a single plex (mirror copy), are mirrored by adding an additional plex. Volumes containing subdisks that reside on more than one disk are not mirrored by vxmirror. vxmirror is generally called from the vxdiskadm menus. It is not an interactive command, and after it is called, continues until comple- tion of the operation or until a failure is detected. Note: Generating mirror copies of volumes can take a considerable time to complete. In the first listed form of this command, the disk media name is supplied on the command line to vxmirror. That name is assumed to be the only disk from which volumes are mirrored. In the case of mirroring volumes from a specified disk, only simple single-subdisk volumes are mirrored. In the first and second listed forms of the command, new_medianame... identifies a new disk media name (or set of names). The mirroring operation uses these names as targets on which to allocate the mirrors. An error results if the same disk is specified for both the source and target disk and if no other viable targets are supplied. Hardware-Specifc Note Some environments provide guidelines to optimize the VxVM's interaction with intelligent storage systems. If these guidelines are present, VxVM follows the guidelines when creating volumes or allocating space for volumes. By default, vxmirror only creates mirror volumes that conform with these guidelines. The following options change the behavior of vxmirror: -o override Creates a mirror of the specified volume and ignores any storage-specific guidelines. Overriding the guidelines is not recom- mended as it can result in incompatible objects, or objects that cannot be administered by VxVM. -o verify Verifies that the specified mirror can be created without violating any storage-specific guidelines, but does not create the plex. If any guidelines are violated, vxmirror exits with an error message. Note: These options need a specific license. Without the license, vxmirror ignores the specified option. OPTIONS
-a Mirrors all existing volumes for the specified disk group. -d yes | no Changes the default for subsequent volume creation, depending on the option argument. If yes, then all subsequent volumes cre- ated automatically become mirrored volumes. If no, then mirroring is turned off for future volumes created. -D Displays current default status for mirroring. -g diskgroup Limits operation of the command to the given disk group, as specified by disk group ID or disk group name. The medianame oper- ands are evaluated relative to the given disk group. If this option is not specified, the default disk group is determined using the rules given in the vxdg(1M) manual page. -t tasktag Specifies using a tasktag as the tag for any tasks created to perform the mirror operations. EXAMPLES
The following command mirrors all non-mirrored volumes on disk disk01 to the available space on any other available disk. Subsequent calls to vxassist mirror created volumes by default. /etc/vx/bin/vxmirror -d yes disk01 This command displays the current status of default mirroring. It outputs the string yes if mirroring is currently enabled, or no if mir- roring is not enabled. /etc/vx/bin/vxmirror -D This command mirrors any volumes on disk02 to disk03. /etc/vx/bin/vxmirror disk02 disk03 FILES
/etc/default/vxassist The defaults file for vxassist parameters. SEE ALSO
vxassist(1M), vxdiskadm(1M), vxintro(1M), vxtask(1M) VxVM 5.0.31.1 24 Mar 2008 vxmirror(1M)
All times are GMT -4. The time now is 05:39 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy