GeekInterview.com
Series: Subject: Topic:
Question: 13 of 210

Migrate File Systems

How to migrate file systems from one server to another server in Solaris?
Asked by: pradeep chakravarty | Member Since Mar-2010 | Asked on: Mar 4th, 2010

View all questions by pradeep chakravarty

Showing Answers 1 - 1 of 1 Answers
UncaAlby

Answered On : Apr 20th, 2010

View all answers by UncaAlby

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.

  
Login to rate this answer.

Give your answer:

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

Related Open Questions

Ads

Connect

twitter fb Linkedin GPlus RSS

Ads

Interview Question

 Ask Interview Question?

 

Latest Questions

Interview & Career Tips

Get invaluable Interview and Career Tips delivered directly to your inbox. Get your news alert set up today, Once you confirm your Email subscription, you will be able to download Job Inteview Questions Ebook . Please contact me if you there is any issue with the download.