- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- After clonning HPUX disk
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 03:42 AM
тАО09-04-2006 03:42 AM
I need help in after cloning the disk. I was
able to clone the disk using the 'dd' command.
I also able to boot with cloned disk, But when I see the 'lvlnboot -v' I could able see my previous disk info rather than expected new disk. Could you please help me out. Following are some of the info
----------------------------------
ioscan -funC disk
=======================================================================
disk 1 10/0/15/1.4.0 sdisk CLAIMED DEVICE SEAGATE ST118202LC
/dev/dsk/c3t4d0 /dev/rdsk/c3t4d0
disk 2 10/0/15/1.5.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC
/dev/dsk/c3t5d0 /dev/rdsk/c3t5d0
disk 3 10/0/15/1.6.0 sdisk CLAIMED DEVICE SEAGATE ST39102LC
/dev/dsk/c3t6d0 /dev/rdsk/c3t6d0
-------------------------------------
Cloned from /dev/dsk/c3t4d0 to /dev/dsk/c3t5d0
-------------------------------------
After boot with new disk /dev/dsk/c3t5d0
lvlnboot :
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group: /dev/dsk/c3t4d0 (10/0/15/1.4.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t4d0
Root: lvol3 on: /dev/dsk/c3t4d0
Swap: lvol2 on: /dev/dsk/c3t4d0
Dump: lvol2 on: /dev/dsk/c3t4d0, 0
-------------------------------------------
Please help me how do I change it.
Thank you in advance,
Mahesh S Rao
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 04:25 AM
тАО09-04-2006 04:25 AM
SolutionYou need to re-run the non-destructive disk preparation steps to make your disk bootable.
lvlnboot -r /dev/vg00/lvol3 # root fs /
lvlnboot -s /dev/vg00/lvol2 #swap
lvlnboot -d /dev/vg00/lvol2 #swap/dump
lvlnboot -b /dev/vg00/lvol1
lvlnboot -R
lvlnboot -v
setboot
setboot -a 52.1.0 # second disk if present.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 10:13 AM
тАО09-04-2006 10:13 AM
Re: After clonning HPUX disk
if the second disk is c3t5d0 then follow;
mkboot -l /dev/rdsk/c3t5d0
mkboot -a "hpux -lq ;0)/vmunix" /dev/rdsk/c2t1d0
update the BDRA as following( i think tere is no need to update swap info)
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
check the BDRA
/usr/sbin/lvlnboot -R /dev/vg00
finally check the book disks
lvlnboot -v /dev/vg00
regards;
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 10:13 AM
тАО09-04-2006 10:13 AM
Re: After clonning HPUX disk
if the second disk is c3t5d0 then follow;
mkboot -l /dev/rdsk/c3t5d0
mkboot -a "hpux -lq ;0)/vmunix" /dev/rdsk/c3t5d0
update the BDRA as following( i think tere is no need to update swap info)
/usr/sbin/lvlnboot -b /dev/vg00/lvol1
/usr/sbin/lvlnboot -s /dev/vg00/lvol2
/usr/sbin/lvlnboot -r /dev/vg00/lvol3
check the BDRA
/usr/sbin/lvlnboot -R /dev/vg00
finally check the book disks
lvlnboot -v /dev/vg00
regards;
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2006 10:46 AM
тАО09-04-2006 10:46 AM
Re: After clonning HPUX disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2006 02:25 AM
тАО09-05-2006 02:25 AM
Re: After clonning HPUX disk
You can set up that DD disk as an alternate BOOT VolumeGroup (in the case of an LVM Managed system). In our environment.. alternate boot volumegroup lifeboat is on a "dd" copied disk... There are of course gyrations to make this disk truly bootable..
Just like:
chewey# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c43t15d5 (0/0/6/1/0/4/0.2.23.0.7.15.5) -- Boot Disk
/dev/dsk/c62t15d5 (1/0/6/1/0/4/0.4.23.0.7.15.5)
Boot: stand on: /dev/dsk/c43t15d5
/dev/dsk/c62t15d5
Root: root on: /dev/dsk/c43t15d5
/dev/dsk/c62t15d5
Swap: swap on: /dev/dsk/c43t15d5
/dev/dsk/c62t15d5
Dump: swap on: /dev/dsk/c43t15d5, 0
Boot Definitions for Volume Group /dev/xxx:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c51t8d0 (1/0/4/1/0/4/1.8.0) -- Boot Disk
Boot: stand on: /dev/dsk/c51t8d0
Root: root on: /dev/dsk/c51t8d0
Swap: swap on: /dev/dsk/c51t8d0
Dump: swap on: /dev/dsk/c51t8d0, 0
Favourite Toy:
AMD Athlon II X6 1090T 6-core, 16GB RAM, 12TB ZFS RAIDZ-2 Storage. Linux Centos 5.6 running KVM Hypervisor. Virtual Machines: Ubuntu, Mint, Solaris 10, Windows 7 Professional, Windows XP Pro, Windows Server 2008R2, DOS 6.22, OpenFiler
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2006 03:55 AM
тАО09-05-2006 03:55 AM
Re: After clonning HPUX disk
Thanks a tom for replying. But I tried
the precedures said (From: mustafa)
Result I could not able to Boot. I reinstalled the machine, Then I tried with Mirror, I installed fileset 'HP mirror Disk/UX' and tried mirroring the disk, I was able to do so. But when tried to split the volumes, I was unable to do 'vgreduce vg00 /dev/dsk/c3t6d0' ;-(. Rest of the volumes removed from mirror.
;-((
Thanks
Mahesh S Rao
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2006 04:04 AM
тАО09-05-2006 04:04 AM
Re: After clonning HPUX disk
LN
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2006 04:04 AM
тАО09-05-2006 04:04 AM
Re: After clonning HPUX disk
can you post lvlnboot -v vg00 and string /etc/lvmtab
Do you still have problem with reducing disk from vg00?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2006 04:53 AM
тАО09-05-2006 04:53 AM
Re: After clonning HPUX disk
here is the info:
>>>what is vgdisplay -v vg00 shows now?
# vgdisplay -v vg00
--- Volume groups ---
VG Name /dev/vg00
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 6
Open LV 6
Max PV 16
Cur PV 2
Act PV 2
Max PE per PV 2500
VGDA 4
PE Size (Mbytes) 4
Total PE 4338
Alloc PE 4338
Free PE 0
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
--- Logical volumes ---
LV Name /dev/vg00/lvol1
LV Status available/syncd
LV Size (Mbytes) 280
Current LE 70
Allocated PE 70
Used PV 1
LV Name /dev/vg00/lvol2
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
LV Name /dev/vg00/lvol3
LV Status available/syncd
LV Size (Mbytes) 4300
Current LE 1075
Allocated PE 1075
Used PV 1
LV Name /dev/vg00/lvol1b
LV Status available/syncd
LV Size (Mbytes) 280
Current LE 70
Allocated PE 70
Used PV 1
LV Name /dev/vg00/lvol3b
LV Status available/syncd
LV Size (Mbytes) 4300
Current LE 1075
Allocated PE 1075
Used PV 1
LV Name /dev/vg00/lvol2b
LV Status available/syncd
LV Size (Mbytes) 4096
Current LE 1024
Allocated PE 1024
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c3t5d0
PV Status available
Total PE 2169
Free PE 0
Autoswitch On
PV Name /dev/dsk/c3t6d0
PV Status available
Total PE 2169
Free PE 0
Autoswitch On
#
>>>can you post lvlnboot -v vg00 and string /etc/lvmtab
# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c3t5d0 (10/0/15/1.5.0) -- Boot Disk
/dev/dsk/c3t6d0 (10/0/15/1.6.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c3t5d0
Root: lvol3 on: /dev/dsk/c3t5d0
Swap: lvol2 on: /dev/dsk/c3t5d0
Dump: lvol2 on: /dev/dsk/c3t5d0, 0
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c3t5d0
/dev/dsk/c3t6d0
#
>>>Do you still have problem with reducing disk from vg00?
Still it shows
vgreduce: Physical volume "/dev/dsk/c3t6d0" could not be removed since some of its
physical extents are still in use.
The intension Behind is to have a script which will clone the disk for vPar installation....which will sane n/w traffic
lot of manual intraction and time.
Thanks a lot help me out,
Mahesh S Rao