The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > Filesystems, Disks and Memory
Google UNIX.COM


Filesystems, Disks and Memory Questions involving NAS, SAN, RAID, Robotic Libraries, backups, etc go here.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
clone solaris hassan1 SUN Solaris 1 06-29-2007 12:04 AM
Clone disk for Sun Blade 2000 rioria SUN Solaris 1 08-11-2006 04:43 AM
How do I clone Solaris 7 disk obosha UNIX Desktop for Dummies Questions & Answers 9 05-26-2005 10:17 AM
Image copy (Clone) cicalons UNIX for Advanced & Expert Users 2 03-31-2005 02:53 AM
clone harddisk dirk2 UNIX for Advanced & Expert Users 5 10-02-2001 08:57 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 01-11-2007
Registered User
 

Join Date: Jan 2007
Posts: 1
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
clone disk

Disk cloning
I had an external SCSI master disk that I used to clone to an identical external SCSI disk because the other SCSI disk would become corrupted. My original Master became corrupted so I used one of the other to good disk to copy back to the master. Unfortunately the new master needs to be able to boot but I don’t know how to make the new master a bootable disk. I do not know anything about Unix commands and have been following a set of instructions that someone made 6 years ago.

I took a known good disk when I got to step 12 I reversed the 6 letter ID names and followed the rest of the instructions. I started the instructions over again and when I get to step 11 and try to log in as root is says that is a non bootable disk.
I am adding the instructions so someone with knowledge about UNIX might be able to make sense of this.

1. Power down the workstation and the external load disk.
2. Replace the external load disk with this disk (clone).
3. Power up this disk (clone).
4. Power up the workstation.
5. When you see the display and the message “Initializing memory” press<STOP A>.
6. At the OK prompt type: setenv use-nvramrc? True
7. At the OK prompt type: show-disks
8. Select drive a by pressing the A key.
9. At the OK prompt type: nvalias clone <CTRL Y>@1,0) (press ctrl y followed by @ followed by 1 followed by comma followed by zero)

10. At the OK prompt type: Boot clone (machine will boot of the clone disk)
11. Log in as root. (Type in Password)
12. In a terminal window type: ./copydisk donotpart c1t1d0 c0t0d0
13. When asked of you would like to modify /etc/vfstab on the target disk? Type Y <return>
14. When asked to enter the new 6 letter disk id for thee target- type c0t0d0 <return>
15. At the # prompt type init 0
16. When the OK prompt appears power down the workstation and the external disk (clone).
17. Replace the external disk (clone) with the external load disk.
18. Power up the external load disk.
19. Power up the workstation.
20. Log in.

Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 02-06-2007
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Reddit! Stumble this Post!Spurl this Post!
See this thread - pay attention to the installboot command.

Step 12. In a terminal window type: ./copydisk donotpart c1t1d0 c0t0d0

See if you can take a look at copydisk - it may have a installboot command in it. I would believe copydisk is a script - check with file command ( # file copydisk ) and post what is in copydisk since it seems to be something you may want to understand.
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes


The 50 most popular UNIX and Linux searches.
Google Search Cloud for The UNIX and Linux Forums
421 service not available, remote server has closed connection ^m automate ftp autosys awk trim bash eval bash for loop boot: cannot open kernel/sparcv9/unix command copy/move folder in unix curses.h cut command in unix daemon process export command in unix find grep find mtime find null character in a unix file glance unix grep multiple lines grep or grep recursive inaddr_any inappropriate ioctl for device lynx javascript mailx attachment mget mtime perl array length ping port remove first character from string in k shell replace space by comma , perl script scp recursive segmentation fault(coredump) sftp script snoop unix stale nfs file handle syn_sent tar exclude tar extract to folder test: argument expected unix unix .profile unix forum unix forums unix internals unix interview questions unix mtime unix simulator unix.com vi substitute while loop within while loop shell script


All times are GMT -7. The time now is 12:53 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101