[SUMMARY] moving metavolumes to larger drives

From: Paveza, Gary <gary.paveza_at_aig.com>
Date: Mon Jun 26 2006 - 07:25:20 EDT
Here's what I ended up doing:

	-	insert new 146GB disk into server (c0t3d0)
	-	create device files (devfsadm -c disk)
	-	format disk for one large partition
	-	metainit the disk to be d102
	-	metattach d100 d102
	-	allow sync
	-	metadetach d100 d101 (d101 is c0t2d0 a 69GB disk)
	-	metaclear d101
	-	Pull the disk that was d101 (c0t2d0) from the server
	-	Cleanup old device drives (devfsadm -C -c disk) to remove
the old c0t2d0 device drivers
	-	Put a new 146GB disk into server at c0t2d0
	-	Create devices (devfsadm -c disk)
	-	Format disk for one large partition
	-	Metainit disk to be d101
	-	Attach d101 as a submirror for d100
	-	allow sync
	-	metattach d100 

The last step changed metadevice d100 from a 69GB to a 146GB device.

Thanks to Florian Laws, James Ray and Rob McMahon for this assistance.

		-----Original Message-----
		From: Paveza, Gary 
		Sent: Friday, June 23, 2006 1:52 PM
		To: 'sunmanagers@sunmanagers.org'
		Subject: moving metavolumes to larger drives

		Has anyone migrated filesystems from one disk to another
(higher capacity) using Solaris volume manager?

		I have the following setup:

		Solaris 9
		A 69GB disk which has been partitioned into one large
partition and put under Solaris Volume Manager (d101)

		A one-way mirror has been created from d101 (metainit d100
-m d101).

		Soft partitions have been created on d100

		I would like to migrate this to a pair of 146GB disks.

		I think I can do the following:

-	insert new 146GB disk into server (c0t3d0)
-	create device files (devfsadm -c disk)
-	format disk for one large partition
-	metainit the disk to be d102
-	metattach d100 d102
-	allow sync
-	metadetach d100 d101 (d101 is c0t2d0 a 69GB disk)
-	metaclear d101
-	Pull the disk that was d101 (c0t2d0) from the server
-	Cleanup old device drives (devfsadm -C -c disk) to remove the old
c0t2d0 device drivers
-	Put a new 146GB disk into server at c0t2d0
-	Create devices (devfsadm -c disk)
-	Format disk for one large partition
-	Metainit disk to be d101
-	Attach d101 as a submirror for d100
-	

		---------------------------------------------------------
		Gary Paveza, Jr.
		Senior Systems Administrator - HP CSE, SCSA
		(302) 252-4831 - phone
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Mon Jun 26 07:26:08 2006

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:43:59 EST