Disk duplicate in 10.20


 
Thread Tools Search this Thread
Operating Systems HP-UX Disk duplicate in 10.20
# 8  
Old 01-11-2007
Quote:
Originally Posted by pmoren

THIS IS THE ORIGINAL PROCEDURE THAT GIVE ME HP:
1) Initialize the disk and make it bootable
pvcreate -B /dev/rdsk/c1t6d0
Note: the -B parameter tells pvcreate that this will be a bootable
disk.
mkboot /dev/dsk/c1t6d0
mkboot -a "hpux" /dev/rdsk/c1t6d0
2) Create the volume group
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgcreate /dev/vg01 /dev/dsk/c1t6d0
NOTA : puede ser necesario utilizar esta opcion para limitar el volum group a 4 megas:
vgcreate -s 8 /dev/vg01 /dev/dsk/c0t0d0



WHEN I TRY TO DO, THIS IS THE LOG:

pvcreate -B /dev/rdsk/c0t0d0
mkboot /dev/dsk/c0t0d0
mknod /dev/vg06/group c 64 0x010000

vgcreate /dev/vg01 /dev/dsk/c0t4d0
Increased the number of physical extents per physical volume to 8750.
vgcreate: Volume group "/dev/vg01" could not be created:
File too large

( here is where is the problem, so I should change the default size using 8, but I guess it is not correct)

vgcreate -e 2048 /dev/vg01 /dev/dsk/c0t4d0
Increased the number of physical extents per physical volume to 8750.
vgcreate: Volume group "/dev/vg01" could not be created:
File too large
# vgcreate -s 8 /dev/vg01 /dev/dsk/c0t4d0
There is clearly a typo in the HP directions. In that last step they have changed disks. That can't be right. This procedure should involve only a single disk drive. You too seem to be using 2 disk drives, but you switch drives at a different point than HP. I'm guessing that c0t4d0 is correct and c0t0d0 is wrong. But I'm not sure. You really need to be sure that you're doing everthing to the correct disk. These commands can destroy your system if you run them on the wrong disk.

Also, what hardware are you using? What commands do you use to boot off the second disk? Exactly what result do you get when you try to boot?
# 9  
Old 01-11-2007
Sorry for the confusion; my new disk is in the adress c0t4d0 , I took information from various logs, thats why I have different adresses. I have only 2 disk, one is the original ( this has the operating system), and the new where the copy should be.

The new disk is a SEAGATE ST336607LW ( adress 4 c0t4d0)

The original disk is a :
disk 0 8/0/19/0.6.0 sdisk CLAIMED DEVICE SEAGATE
ST34572WS
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0

( also I try to do it from a ST336607LW that only have defined 4 gigas of a volume group, it was originally cloned from a ST34572WS , in both cases I fail)

My workstation is an HP Visualize b132L+.

Quote:
What commands do you use to boot off the second disk?
In the halt mode I do :
>SEA
>boot P1 (asuming that the new disk is in P1)

Quote:
Exactly what result do you get when you try to boot?
It start booting, then start to load the kernel, then a new screen appears, with a lot information ( something like memory addresses) and then reboots. This happens very fast, so I cant read the errors.

ANdryk: I can boot from my second disk,but it fails loading my kernel.
Thanks
# 10  
Old 01-13-2007
I was thinking maybe instead of use
pvcreate -B /dev/rdsk/c1t6d0

I should define here the size of my volume group, identical of my old disk,something like:

pvcreate -B -s 3906250 /dev/rdsk/c1t6d0
(for a volume group of 4 gigas)
what do you think?
# 11  
Old 01-14-2007
I would newfs the LV's, mount them on temporary mountpoints, and copy the files over. Actually, what I would do is a fresh os install and then copy the non-os files over. And I would install a recent os, not 10.20. Are you sure that 10.20 supports your 36 GB disk?
# 12  
Old 01-17-2007
Do make_recovery bootable backup then restore it back to the 36gb disk.
When doing backup include interactive option (-i) so to resize any filesystem to fit in your 36gb disk when restoring
# 13  
Old 01-18-2007
Thanks I will try it. The make_recovery is an ignite function?
One of my problems is that I dont have Ignite and since 10.20 is not longer supporter is hard to find software for it. Do you know where can I get it? I couldnt find any in the HP web site. I am limited to the 10.20 version because I have an application that only works in 10.20... so I can upgrade
I have 36 gb disk installed with 10.20 I think that it recognized ok.
Any way I did the procedure of volume duplicate limiting the volume size to 8 gigas, it worked fine. But then it booted ok once, but the next time it didnt boot, neither with other disks, that I have already tested.
# 14  
Old 02-06-2007
finally

Finally I could clone it,just defining a max size of 9 gigas for logical volumes. Thanks every body for the help.
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

DISK ARRAY PROTECTION SUSPENDED message displayed following disk replacement

Hello, On 4/20/2018, we performed a disk replacement on our IBM 8202 P7 server. After the disk was rebuilt, the SAS Disk Array sissas0 showed a status of degraded. However, the pdisks in the array all show a status of active. We did see a message in errpt. DISK ARRAY PROTECTION SUSPENDED. ... (1 Reply)
Discussion started by: terrya
1 Replies

2. Shell Programming and Scripting

Find duplicate values in specific column and delete all the duplicate values

Dear folks I have a map file of around 54K lines and some of the values in the second column have the same value and I want to find them and delete all of the same values. I looked over duplicate commands but my case is not to keep one of the duplicate values. I want to remove all of the same... (4 Replies)
Discussion started by: sajmar
4 Replies

3. Solaris

Df -k command shows duplicate information in Solaris machine, How to get the exact disk space

While getting the total disk space in solaris machine using df -k command, i am getting the same disk info for every user available in that system. Is there any way to remove it. Filesystem 1024-blocks Used Available Capacity Mounted on rpool/ROOT/solaris 573898752... (3 Replies)
Discussion started by: prasankn
3 Replies

4. Shell Programming and Scripting

Find duplicate based on 'n' fields and mark the duplicate as 'D'

Hi, In a file, I have to mark duplicate records as 'D' and the latest record alone as 'C'. In the below file, I have to identify if duplicate records are there or not based on Man_ID, Man_DT, Ship_ID and I have to mark the record with latest Ship_DT as "C" and other as "D" (I have to create... (7 Replies)
Discussion started by: machomaddy
7 Replies

5. Solaris

( VxVM ) How to add the removed disk back to previous disk group

Previously , i remove the disk by #vxdg -g testdg -k rmdisk testdg02 But i got error when i -k adddisk bash-2.03# vxdisk list DEVICE TYPE DISK GROUP STATUS c0t0d0s2 auto:none - - online invalid c0t1d0s2 auto:none ... (1 Reply)
Discussion started by: waibabe
1 Replies

6. UNIX for Dummies Questions & Answers

How to duplicate a floppy disk

Hi there, I have a boot disk that I'd like to make a copy of. I can't just copy it through windows because windows obviously doesn't recognise the format. What would I have to do in SCO to just simply make a copy of this disk?? (0 Replies)
Discussion started by: zaphs
0 Replies
Login or Register to Ask a Question