Sponsored Content
Operating Systems Solaris Cloning Solaris 10 perdicament Post 302843037 by nitrolinux on Sunday 11th of August 2013 08:08:08 PM
Old 08-11-2013
Cloning Solaris 10 perdicament

Hello and let me say at first, thank you for viewing this problem I have.

From the top!

Where I work, we have a Dell PowerEdge T300 X86 system running Solaris 10 8/07 s10x_u4wos_12b X86, and we realized, if this machine went down, we would be in trouble. So to fix that situation, I took it upon myself to remove the second drive (with the machine off, of course) from this server, which has a SAS, 2 drives, in RAID 1, and each at 147GB. I attached a 500GB Western Digital to available SATA port and booted up a copy of gparted (live cd) and was able to, at the CLI use the dd command. Here is the command I use:

dd if=/dev/sda of=/dev/sdb bs=32M

sda was the one lone sole drive remaining on the PCI-E SAS controller and also the SATA drive on the SATA port from the motherboard. I was sure this was the corrected device assignments because I ran "fdisk -l" prior to the cloning. The /dev/sda has the Solaris partition and the 500Gb had no partitioning at that point. In about 45 minutes, the process stopped and I moved the copied drive over to another Dell T300 we have, which is not in use, and I plugged the drive up and as expected, the GRUB menu loads and I get this:

Solaris 10 8/07 s10x_u4wos_12b X86
Solaris failsafe

When I press enter on the first selection, the machine hard drive activity runs a little and in 10 seconds, the machine reboots. Now, if I go for the Solaris failsafe, the machine will boot up and I get this:

SunOS Release 5.10 Version Generic_118855-33 32-bit
(other stuff related to no network connection)
Solaris 10 8/07 s10x_u4wos_12b X86 was found on /dev/dsk/c0d0s0.
Do you wish to have it mounted read-write on /a? [y,n,?]s:

I notice the disk is being listed as a IDE device now, due to the /dev/dsk/c0d0s0. Is my assumption correct?

Here is my current vfstab:

Code:
#device  device   mount  FS fsck mount  mount
#to mount       to fsck   point  type pass at boot  options
#
fd - /dev/fd fd  - no -
/proc - /proc proc  - no -
/dev/dsk/c0t0d0s1 -  - swap - no -
/dev/dsk/c0t0d0s0 /dev/rdsk/c0t0d0s0  / ufs 1  no
-
/dev/dsk/c0t0d0s6 /dev/rdsk/c0t0d0s6  /usr ufs 1  no
-
/dev/dsk/c0t0d0s4 /dev/rdsk/c0t0d0s4  /var ufs 1  no
-
/dev/dsk/c0t0d0s5 /dev/rdsk/c0t0d0s5  /tmp ufs 2  yes
-
/devices - /devices  devfs - no -
ctfs - /system/contract  ctfs - no -
objfs - /system/object objfs  - no -

Here is my partition table if it helps:

Code:
Total disk cylinders available: 17747 + 2 (reserved cylinders)
Part Tag Flag Cylinders  Size  Blocks
0 root wm 1021 - 1275  1.95GB  (255/0/0)   4096575
1 swap wu 1 - 1020  7.81GB  (1020/0/0)  16386300
2 backup wm 0 - 17746  135.95GB (17747/0/0) 285105555
3 unassigned wm 0   0  (0/0/0)  0
4 var wm 1276 - 1785  3.91GB  (510/0/0)   8193150
5 unassigned wm 1786 - 1849  502.03MB (64/0/0)    1028160
6 usr wm 1850 - 17746  121.78GB (15897/0/0) 255385305
7 unassigned wm 0    0  (0/0/0)     0
8 boot wu 0 -     0  7.84MB  (1/0/0)     16065
9 unassigned wm 0   0  (0/0/0)     0

I will assume that there is some misdirection going on here and the system can't find the previous SCSI drive and the SATA drive isn't taking the form of the previous. In the Dell T300 BIOS, there is no AHCI, only ATA, so that's why it's IDE.

What I need to know, has this thing been a no go from the start or can I correct the needed entries in the vfstab and just to let you know, that the block device cmdk@0,0 does not exist in the /devices/pci@0,0/pci-ide@1f,2/ide@0/ on the original configuration, only sd@0,0 sd@0,0:q sd@1,0 and sd@1,0:q . Also no c0d0s0 in /dev/dsk or /dev/rdsk.

If you can help in giving some information, I would be appreciated.

Thank you

-nitrolinux
 

9 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

HP10.20 Cloning

Good day all. So, here's the situation. I have (7x) B180L VISUALIZE WORKSTATION's with Transtec 5100 RAID (RAID 5, 9.1 GB HDD's) towers running of UNIX HP10.20. It's time to replace the RAID's with new ones, them being Fibrenetix FX606 5 bay SATA RAID, 5 bay SATA-SCSI desktop RAID including 80Gb... (1 Reply)
Discussion started by: Tony_dw
1 Replies

2. UNIX for Dummies Questions & Answers

Long Distance UNIX (Solaris) Cloning ?

Need some advice and guidance for this UNIX beginner. Due to downsizing I have inherited the SysAdmin duties..(sigh). Please excuse and forgive me if I use the wrong terms below.... Situation: We have UNIX ( Solaris 7/8/9( it varies) on Sun Ultra 10's) servers located at several global... (1 Reply)
Discussion started by: HikerLT
1 Replies

3. Solaris

Solaris 10 Zones cloning

I have gone over some articles regarding zones, I haven't found one that gives the exact information I'm looking for. I think I'm close though. I have 2 servers, each with a HBA into a SAN, they are both presented with the same luns. On server1, configured and installed the zone (zone1), the... (6 Replies)
Discussion started by: beaker457
6 Replies

4. UNIX for Advanced & Expert Users

Cloning a solaris system

I have several Solaris 8,9 and 10 servers. I need to refresh them and avoid doing any OS upgrades. I may have to apply patches when I am done due to the new hardware. My current servers have internal disk and my new target servers (same processor types) will have only SAN storage. Once the... (0 Replies)
Discussion started by: zzqv9p
0 Replies

5. Shell Programming and Scripting

Cloning

Hi, Is there disadvantages if we do AIX Serevr cloning to the new AIX server. Thanks in advance (0 Replies)
Discussion started by: kmsekhar
0 Replies

6. Solaris

Problems cloning Solaris 10 x86 Installation to bigger HDD

Dear All, I have been trying to move my existing Solaris Installation (x86, 10/08) to a bigger HDD. So I created a 22 cylinder boot partition and used the rest of the space for a Solaris2 partition. Then I created slices same size like on my current disk. I copied all files with cpio and... (3 Replies)
Discussion started by: BigT79
3 Replies

7. Solaris

Cloning Solaris 10 with zones

Hello, What is the best method to use to clone a Solaris 10 machine with zones, to ensure all software and config can be easily installed on new hardware? Thank You (4 Replies)
Discussion started by: da2013
4 Replies

8. Solaris

Cloning RAID0 drives, Solaris 10u11

Hello all, this is my first time posting here. Where I work we have multiple servers (x3-2's) running Solaris 10u11 with 2 drives configured as RAID0, 300GB per. There are 4-6 open slots for drives to clone to. Past attempts to clone/backup these drives has failed. One of the machines is... (1 Reply)
Discussion started by: eprlsguy
1 Replies

9. Solaris

Archiveadm system cloning - Solaris 11.4

Hi all, I am trying to use archiveadm to backup/clone an existing Solaris11.4 system. However, i failed at media creation with the error -> "Media can only be created from archives containing root-only data" root@xxx:/mnt/opt/software# zpool list NAME SIZE ALLOC FREE CAP DEDUP ... (6 Replies)
Discussion started by: javanoob
6 Replies
All times are GMT -4. The time now is 10:49 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy