01-30-2008
Howto clone/migrate a volume in the SAN
Dear Srs,
I have a Linux server (linux01) booting from SAN with a volume in a Nexsan SATAbeast storage array (san01). The disk/volume has four ext3 partitions, total size is near to 400GB, but only 20-30GB are in use.
I need to move this disk/volume to another Nexsan SATAbeast storage array (san02). SATABeast GUI is very simple.. and I haven't any option to migrate, clone, move, etc.. so I need to make this with other tools ;-(
What is the recommended method to make this? I have make this operations early with UNIX tools like rsync, dd, cpio, tar, etc..
I'm planning to use a second Linux server, linux02, and give access to old volume in san01 and the new volume in san02, and clone hard disk in this server. After cloning the drive, re-configure boot from SAN to boot from the new storage array, san02.
I'm looking for a more simple tool to make this type of operations, perhaps a front-end such as G4L, Partimage, Mondo-Mindi, etc..
dd can be a good and simple method, but whats happens when source and destination disk has different size?
Thanks for all the comments and advices!!
Regards,
10 More Discussions You Might Find Interesting
1. Solaris
Hi everyone,
I wonder if I can canvas any opinions or thoughts (good or bad) on SAN attaching a SUN V880/490 to an EMC Clarion SAN?
At the moment the 880 is using 12 internal FC-AL disks as a db server and seems to be doing a pretty good job. It is not I/O, CPU or Memory constrained and the... (2 Replies)
Discussion started by: si_linux
2 Replies
2. AIX
Hi,
Do you have procedures to migrate ssa disks to san disk?
I don't have testing environment and I want my file system be migrated one at a time. I want it to be fast, I have only 15-20 hours to do it on every sunday 1PM till monday 7am. My largest file system is about 150G.
The AIX is... (0 Replies)
Discussion started by: itik
0 Replies
3. Red Hat
Hi,
We have 200GB SAN volume mounted on Redhat EL 5. which is working fine. As my SAN supports dynamic resizing of volumes, i unmounted the volume and resized the SAN Volume to 300 GB successfully. Then i mounted again but it shows 200GB only but data is intact.
Now, my requirement is to let... (3 Replies)
Discussion started by: prvnrk
3 Replies
4. AIX
Hello all. I have a perplexing problem
I have an AIX 5.1 system on an EMC SAN.
This system had been on a CX400 SAN for several years. The system was migrated to a CX700 just over a week ago. The migration consisted of utilizing on of the HBAs in the system and connecting to both SANs
... (9 Replies)
Discussion started by: mhenryj
9 Replies
5. OS X (Apple)
as the title states, i cant mount suse of apple volumes on either box. have tryed afpfs-ng but no love.
anyone have a suggestion than samba (because i dislike MS) and NFS because i don't know jack about it..... yet
thanks in advance
julz (4 Replies)
Discussion started by: biorhythm
4 Replies
6. Solaris
I created a snapshot and subsequent clone of a zfs volume. But now i 'm not able to remove the snapshot it gives me following error
zfs destroy newpool/ldom2/zdisk4@bootimg
cannot destroy 'newpool/ldom2/zdisk4@bootimg': snapshot has dependent clones
use '-R' to destroy the following... (7 Replies)
Discussion started by: fugitive
7 Replies
7. Solaris
Is it possible to use zvol from SAN LUN to install LDOM OS ? I 'm using following VDS from my service domain
VDS
NAME LDOM VOLUME DEVICE
primary-vds0 primary iso sol-10-u6-ga1-sparc-dvd.iso
cdrom ... (16 Replies)
Discussion started by: fugitive
16 Replies
8. AIX
Hello Everyone,
Can someone help me to mount a SAN hdisk which contains a clone data copy(san) of the remote server to the another machine. Both servers are running in AIX.
Thanks in advance !
Regards,
Gowtham.G (3 Replies)
Discussion started by: gowthamakanthan
3 Replies
9. UNIX for Dummies Questions & Answers
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
Discussion started by: kashifsd17
6 Replies
10. Red Hat
I have an IBM blade running RHEL 5.4 server, connected to two Hitachi SANs using common fibre cards & Brocade switches. It has two volume groups made from old SAN LUNs. The old SAN needs to be retired so we allocated LUNs from the new SAN, discovered the LUNs as multipath disks (4 paths) and grew... (4 Replies)
Discussion started by: rbatte1
4 Replies
LEARN ABOUT OSF1
volrootmir
volrootmir(8) System Manager's Manual volrootmir(8)
NAME
volrootmir - Mirror areas necessary for booting to a new disk
SYNOPSIS
/usr/sbin/volrootmir [-a] [nconfig=count] target_disk [swap=target_partition]
OPTIONS
Specifies that all volumes on the system disk be mirrored, not just the root and swap volumes, rootvol and swapvol.
DESCRIPTION
The volrootmir script causes a mirror copy of areas of the root disk involved in booting to be made on the specified target disk.
When used without the -a option, volrootmir adds mirrors of the root and swap volumes and allocates them on the new disk. In addition, all
disk regions required for booting are set up and partitions for the new volume mirrors are created.
When used with the -a option, volrootmir mirrors all in-use partitions on the system disk.
To mirror a swap volume that is on a separate disk from the root volume, the swap attribute must be used to specify a separate target for
the swap mirror.
The target disk(s) must be at least as large as the sum of the sizes of rootvol and swapvol. Also, the physical disk should not have any
disk partition in use.
This script can be called from the voldiskadm menus by choosing the Mirror volumes on a disk operation.
ATTRIBUTES
Specifies the number of log copies and copies of the configuration database, for example, nconfig=2. Specifies that the swap volume,
swapvol, be mirrored on a separate disk, as specified by target_partition.
EXAMPLES
The following command mirrors the rootvol and swapvol volumes onto the target disk, dsk3. This command will fail if swapvol is on a differ-
ent disk from rootvol.
# volrootmir dsk3 The following command mirrors rootvol, swapvol, and any other volumes on the root disk onto the target disk, dsk3.
This command will fail if swapvol is on a different disk from rootvol.
# volrootmir -a dsk3 The following command mirrors rootvol on disk dsk3, swapvol onto partition dsk7d, and any other volumes on the
root disk onto disk dsk3. This command will fail if swapvol is on the same disk as rootvol.
# volrootmir -a dsk3 swap=dsk7d The following command mirrors rootvol onto disk dsk3 and swapvol onto partition dsk7d. This command
will fail if swapvol is on the same disk as rootvol.
# volrootmir dsk3 swap=dsk7d
SEE ALSO
volintro(8), voldiskadm(8)
volrootmir(8)