LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 01-18-2006, 11:38 AM   #1
midlifecrisis
LQ Newbie
 
Registered: Aug 2005
Location: Lilburn, Georgia
Distribution: Linux Red Hat 7.3 /Solaris 8
Posts: 15

Rep: Reputation: 0
smaller drive to larger drive duplication mystery


Hello everyone. I've spent several hours looking for instructions on how to transfer my old Solaris 8 36gb scsi hard drive image to my new 73gb scsi hard drive, but with little success due to my ignorance of Solaris. The most that I can find is that I need to backup my 36gb drive with ufsdump, start a fresh install on my 73gb drive -making the appropriate slices, then dump the tape backup from the 36gb to the 73gb. Does that sound right?
 
Old 01-18-2006, 12:30 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
install both drives
setup the partitions on the new drive
boot with a live cd, mount the old drive and the new drive.
use dd to copy everything over into the proper partitions.
then chroot to the new drive edit fstab if needed.
run your boot loader.
shutdown, take out the old drive.

you may need to rerun the boot loader and edit the fstab after the old drive is removed.
 
Old 01-18-2006, 01:26 PM   #3
midlifecrisis
LQ Newbie
 
Registered: Aug 2005
Location: Lilburn, Georgia
Distribution: Linux Red Hat 7.3 /Solaris 8
Posts: 15

Original Poster
Rep: Reputation: 0
Finlay,
when you say to "setup the partitions on the new drive", do you mean to use fdisk? Do I use dd -one partition at a time or copy the entire contents of the 36 to the 73?
 
Old 01-18-2006, 01:38 PM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
i would use fdisk to setup the partitions, then use dd partition at time, remember to do the mbr that way also. here is a page that has some info:
http://www.rajeevnet.com/hacks_hints...s_cloning.html
 
Old 01-18-2006, 02:15 PM   #5
midlifecrisis
LQ Newbie
 
Registered: Aug 2005
Location: Lilburn, Georgia
Distribution: Linux Red Hat 7.3 /Solaris 8
Posts: 15

Original Poster
Rep: Reputation: 0
problem probably solved

Thanks Finlay, between what you've told me and the link -I should be able to clone the drive.
 
Old 02-01-2006, 05:43 AM   #6
javier.e.menendez
Member
 
Registered: Jan 2006
Posts: 168

Rep: Reputation: 30
One thing about ufsdump though... If you are using that method to back up and restore on the larger drive, ufsdump does not back up the bootblock. If running a sparc system, you would have to run the command installboot to manually add it to the second drive. dd will copy the bootblock though, but I have never tried dd with two different types (size) drives.

installboot is not in your path by the way. Usually you use this as you are booted from the cd (ie: boot cdrom -s)
 
Old 02-01-2006, 07:23 AM   #7
midlifecrisis
LQ Newbie
 
Registered: Aug 2005
Location: Lilburn, Georgia
Distribution: Linux Red Hat 7.3 /Solaris 8
Posts: 15

Original Poster
Rep: Reputation: 0
Thanks javier. Actually I decided last week that the duplication idea was a bit over my head, so I let it go.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to move to larger drive.... bishoptf Linux - Hardware 2 08-27-2005 04:37 PM
Hard drive duplication trbdk3 Linux - General 4 12-25-2004 10:12 PM
Need to replace HDD with a larger drive gvi Linux - Hardware 7 01-20-2004 10:20 AM
Zip drive speed mystery kemkem Linux - General 1 09-18-2003 10:52 AM
Upgrading to a larger drive madcrutch Linux - Software 3 04-30-2002 02:19 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration