Migrate File Systems

How to migrate file systems from one server to another server in Solaris?

Questions by pradeep chakravarty

Showing Answers 1 - 3 of 3 Answers

UncaAlby

  • Apr 20th, 2010
 

If it's not a bootable file system, it's pretty straightforward.

I'm assuming that by "migrate" you mean to completely remove a disk from one machine to put into another.  If you mean to just copy its contents, then disregard the following.

Unmount the fs from the first system (or just turn the machine off), and pull it out of the box.  (very machine dependent procedure)  Then install it into the new box (again, very machine dependent procedure -- make sure the fs is actually compatible with the new hardware).

Then power up the new hardware and mount the new fs.  Depending on the hardware, you'll need to find out what device node was assigned.  Lets assume it was placed as a partition in /dev/dsk/c1t2d0s7.

Create a mount-point for the fs, e.g.,

mkdir /newdisk

Then mount the new partition,

mount /dev/dsk/c1t2d0s7 /newdisk

You may need to pass the "-F FSType" option to tell it what kind of file system is being mounted, and/or other options depending on your circumstance.  Check the "man" page.  And you may need to edit the /etc/vfstab file if you want the new fs to be automatically mounted the next time you reboot.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions