Howto clone/migrate a volume in the SAN


 
Thread Tools Search this Thread
Operating Systems Linux Howto clone/migrate a volume in the SAN
# 1  
Old 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,
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

Volume group not activated at boot after SAN migration

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

2. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

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

3. AIX

Mount a SAN LUN which contains clone copy - AIX 6.1

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

4. Solaris

Ldom OS on SAN based zfs volume

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

5. Solaris

Remove the zfs snapshot keeping the original volume and clone

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

6. OS X (Apple)

howto mount mac volume on suse 11

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

7. AIX

Volume Groups and the SAN

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

8. Red Hat

how to mount SAN volume with its increased size

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

9. AIX

migrate from ssa to san

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

10. Solaris

Thoughts/experiences of SAN attaching V880 to EMC SAN

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
Login or Register to Ask a Question
fsvoladm(1M)															      fsvoladm(1M)

NAME
fsvoladm - VxFS volume administration utility SYNOPSIS
[bias] DESCRIPTION
The utility performs administrative tasks, such as adding, removing, resizing, and encapsulating volumes in a specified VERITAS File Sys- tem. mount_point specifies the directory on which the file system is mounted. volname specifies the volume within the volume set. By default, size, bias, and newsize are specified in units of disk blocks bytes). However, you can append or to the number to indicate that the value is in kilobytes, megabytes, gigabytes, or terabytes, respectively. Keywords Adds a volume to a file system. The new space is available for allocation. Removes an encapsulated volume from a file system and restores the original contents of the volume. This operation can fail if there were significant changes to a file's allocations on disk since encapsulation. A volume encapsulated with a bias cannot be deencapsulated. Adds a volume to a file system, making the contents of that volume, starting from offset bias, available as a file instead of free space. The size of the encapsulated file is size - bias. bias must be smaller than size, and be a multiple of the file system block size. The default value of bias is 0. Displays the volumes in a file system. Removes a volume from a file system. Resizes one of the volumes in a file system. In some circumstances, the command cannot resize a 100% full file system due to lack of space for updating structural information. Check VxFS file systems on a regular basis; increase their size if they approach 100% capacity. This problem can also occur if the file system is very busy. Free up space or reduce activity on the file system and try the resize again. EXAMPLES
The following command adds the volume that is 10 gigabytes in size, to the file system The following command removes the volume from the file system The following command resizes the volume in the file system from its current size to 20 GB: The following command displays the volumes in the file system The following command encapsulates the volume The volume is ten gigabytes in size, resides in the file system and has the file name The following command de-encapsulates the volume that was encapsulated in the previous example: SEE ALSO
df_vxfs(1M), fsapadm(1M), fsvoladm(1M), mount_vxfs(1M), vxvset(1M), fsvoladm(1M)