system clone : sun4V --->sun4u ?


 
Thread Tools Search this Thread
Operating Systems Solaris system clone : sun4V --->sun4u ?
# 8  
Old 04-12-2012
The link Peasent gave you is exactly what I was talking about. And as i said we do this from time to time. We have one server set aside for this purpose.
# 9  
Old 04-13-2012
Hi all,

Thanks for your reply,

@hicksd8 : I'm using Solaris 10 update 6.
Procedure done :

1-start as single user mode.
2-Apply partionning (vtoc/fmthard)
3-Create new file-systems on different slices using newfs.
4-restoring .dump files (file systems dumps from T5220 including /root) on appropriate slices on v240.
5- make the disk bootable (installboot /usr/platform/`uname -i`/lib/fs/ufs/bootblk /dev/rdsk/c1t0d0s0).
6-reboot --> The file just loaded does not appear to be executable.

@Peasant : thanks for the link, I've already seen this article but unfortunatelly I'm not using flar image. just ufsdump files.

Thanks all of you guys for reply.
# 10  
Old 04-13-2012
Quote:
Originally Posted by bitlord
Hello,
The main difference between sun4u and sun4v, for people who are not Solaris Admins, is this.
sun4u is a normal rack server.
sun4v is a blade server.

We use a build on a sun4v server to build most of our other servers, using a flar image.
This for new builds though.

I hope this helps.
this is a wrong statement...

sun4u is arcitecture on almost all ultrasparc64 cpus

sun4v is used on all T series servers with optional virtualisation (ldom)

https://en.wikipedia.org/wiki/Sun-4

Last edited by DukeNuke2; 04-13-2012 at 10:17 AM..
# 11  
Old 04-13-2012
You described yourself as a "newbie" but if you've done all that I'd say that you're not. If you don't understand anything I'm about to write just post a reply and I'll expand it.

Due to the fact that you've restored a system to different hardware your devices (eg. c2d0t0) will be all wrong. Therefore, first job is to sort that out.

Boot from CD into single user (boot cdrom -s) and mount your harddisk root filesystem under /a. Then....

Code:
 
rm -f /a/dev/rdsk/c*
rm -f /a/dev/dsk/c*
rm -f /a/dev/cfg/c*
devfsadm -r /a -p /a/etc/path_to_inst

Now check that /a/etc/vfstab is right.

Now double check vfstab is right - take your time. This is the file that's going to tell a reconfiguring Solaris where everything is. Use the format command to check the device names of disk drives and the slices (show partition tables) so that you are absolutely sure that vfstab is correct (for this hardware).

When you've done that shutdown.

Now, be careful not to confuse Solaris by ensuring that you use the -r switch (reconfigure) the first time that you boot.

Code:
 
boot -r

You might need to add 'disk1' or 'disk2' or whatever after this command if you need to boot from a non-default disk.

I think that Solaris 10 U6 doesn't use a boot archive anymore (Am I correct forum members???) but we can try and update that later if an error message suggest we should.

Post the results from the above.

Last edited by hicksd8; 04-13-2012 at 12:56 PM..
# 12  
Old 04-16-2012
Hi,

I've done all the procedure described :

1- mount c1todoc0 on /a.
2-
rm -f /a/dev/rdsk/c*
rm -f /a/dev/dsk/c*
rm -f /a/dev/cfg/c*
devfsadm -r /a -p /a/etc/path_to_inst
3- check vfstab file on /a/etc.
4- Add disk on OK prompt : nvalias disk1 pci@1c,600000/scsi@2/sd@0,0

but when try to "boot -r disk1" from ok prompt I got :

ERROR: /pci@1c,600000: Last Trap: Fast Data Access MMU Miss

Any suggestions ?

Thanks
# 13  
Old 04-16-2012
In 1 I assume you mean c1t0d0s0??

The error is something not right with "disk1".

Are you sure that the root filesystem is on a non-default disk?
What happens if you just boot -r?
# 14  
Old 04-16-2012
"Are you sure that the root filesystem is on a non-default disk?"
How can I check this ?

- Same error when boot -r : ERROR: /pci@1c,600000: Last Trap: Fast Data Access MMU Miss
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Unable to mount a clone file system (NetApp)

Hi I have the following difficulty: the NetApp admin has clone one file system from one red hatserver and presented this cloned LUN into another redhat server. I can see the LUN as: fdisk -l Disk /dev/sda: 64.4 GB, 64424509440 bytes 255 heads, 63 sectors/track, 7832 cylinders Units =... (1 Reply)
Discussion started by: fretagi
1 Replies

2. Solaris

SunOS sun4v sparc ntp service in maintenance mode.

Hi experts, This is a production server. Host information's are below SunOS hostname_srv 5.10 Generic_150400-09 sun4v sparc sun4v Now issue with ntp service, This host have zone in it with 9 hosts, Every hosts have ntp service issue. While i check for the service status it's in... (3 Replies)
Discussion started by: babinlonston
3 Replies

3. Solaris

How to scan for LUNs in SunOS sun4v sparc?

Hi everyone, We have the below sun Operating system, Now our storage team have Create a 500GB LUN for this server, How can i scan and mount the shared LUN ? Could anyone help me to resolve this issue. SunOS my_hostname.com 5.10 Generic_150400-09 sun4v sparc sun4v Update: -------- I... (9 Replies)
Discussion started by: babinlonston
9 Replies

4. Solaris

Ldom clone from production system

Hi! I am quite new to Solaris and come from AIX world. I need to clone running production LDOM. In AIX you just take mksysb and restore it to new LPAR. It will install with blank network settings. How to do it in Solaris 11? Can't find document to clone from running system.. they talk only... (6 Replies)
Discussion started by: padapada
6 Replies

5. Solaris

Solaris 10 virtual disk (ramdisk) create for sun4v (T-2000 simulator) architecture

have been trying to create a 2 GB ramdisk (virtual) to run on my T-2000 simulator (Legion) which has sun4v architecture. I have a SPARC workstation which runs on sun4u architecture with Solaris 10. I have created a ramdisk image using dd command, newfs, then used ufsrestore to restore the... (3 Replies)
Discussion started by: Zam_1234
3 Replies

6. Solaris

Cloning machine from sun4u to sun4v using flar

Trying to clone an old V240 (sun4u) onto a new T2000 (sun4v). Managed to create a flar on the V240. Worked out that you need to add the sun4v architecture to the flar (-U "content_architecture=sun4u,sun4v" in the flarcreate). Anyway, copied that to spare 2nd disk on my target T2000. Booted... (2 Replies)
Discussion started by: psychocandy
2 Replies

7. Solaris

Solaris sun4v - how do you determine physical RAM?

I have a Sun T5120, and I want to programmatically determine how much RAM it has. # uname -a SunOS myhost 5.10 Generic_141444-09 sun4v sparc SUNW,SPARC-Enterprise-T5120 The box has 64Gb; I tried prtdiag and prtconf, but they give me bogus info prtconf gives me: # prtconf |grep -i... (12 Replies)
Discussion started by: thomn8r
12 Replies

8. Filesystems, Disks and Memory

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... (1 Reply)
Discussion started by: stamperr
1 Replies

9. Programming

mknod system call to clone /dev/null

I'm trying to use the "mknod" call in C to create a clone of /dev/null. I am stumped as to the final parameter I should provide to "mknod()". I am supposed to give it a type dev_t, which specifies a major & minor number. I want to specify major 3, minor 1, but how can I do this? dev_t seems to... (2 Replies)
Discussion started by: nathan
2 Replies
Login or Register to Ask a Question