Sponsored Content
Operating Systems AIX Dd of disk contains vg and restore on another m/c Post 302855679 by ibmtech on Friday 20th of September 2013 02:01:58 PM
Old 09-20-2013
Quote:
Originally Posted by abhishekdave
Hello,

Thanks and appreciate you response.

Actually, i am very new to this platform and someone told me to do this task

From Node1

1) create a VG with 1 or more LV
2) create a file system on this vg.
3) varyoff vg1
4) exportvg hdisk31

Now from node1
1) importvg hdisk5
2) varyonvg vg1


As disk is shared among node1 and node2.

I am unable to do that.

For systems which don't have shared disk. I have to do below things

From Node1,
1) use dd to copy whole image ( ~10G) of hdisk31
2) restore on node3 using dd of same size disk.
3) Now, importvg hdisk?
4) Now, ensure vg and lv is available.
5) now, mount file system

am i missing any thing.

We don't have any backup thing. we want to back of dd image only.

Thank in advance.

You are confusing me here, what are you trying to do?

You are saying for system you don't have shared disk you are importing the disk. How come you import a disk? what is the point of importing a disk when it is not shared?

Look, simple approach is use the savevg and restvg.
 

6 More Discussions You Might Find Interesting

1. Filesystems, Disks and Memory

Restore to disk from tape

I have been restoring from tape some old data. I have done quite a few tapes and have had no problems until now. The command I am running is "dd if=/dev/rmt/1hbn bs=1024 | tar -pBxF - ". This is the second tape have have come up with the error "Not enough space". This tape has a couple of... (1 Reply)
Discussion started by: mtoombs
1 Replies

2. UNIX for Dummies Questions & Answers

How to restore a dump file on the disk

Hi all, i am a real dummy to unix and in need of help.My platform is Sun solaris(5.9) I have a dump file, an oracle cold backup taken with ufsdump command. This dump file resides on the disk, not the tape. I want to extract this dump file to a directory. But i cant, i read about ufsrestore... (1 Reply)
Discussion started by: merope
1 Replies

3. Solaris

after ZFS can not restore VTOC of disk..

I tried to use zfs .. only for test ..so when I take my test disks into zfs pool their VTOC changed .. and 7th slice does not appear now. How can I restore default VTOC to my disks. my machine is x86 .. SunFire X4200 .. so this disks do not have slices like sparc machines .. they have... (6 Replies)
Discussion started by: samar
6 Replies

4. AIX

mksysb restore - Wrong OS level for restore

Hi all, I am still working on my mksysb restore. My latest issue is during an alt_disk_install from tape I got the following error after all the data had been restored. 0505-143 alt_disk_install: Unable to match mksysb level 5.2.0 with any available boot images. Please correct this... (0 Replies)
Discussion started by: pobman
0 Replies

5. UNIX for Advanced & Expert Users

LVM - restore metadata on other disk

Hi guys, I would like to ask your opinion about my theory, how to fix my broken LVM without risking any data loss. I use Archlinux at home. I just love this distro, even it gives me a lots of work (particularly after system updates). Basic system spec: AMD FX(tm)-6100 Six-Core Processor... (1 Reply)
Discussion started by: lyynxxx
1 Replies

6. HP-UX

How to restore from disk?

Our new rx2800 server is running HP-UX 11iV3. We have a cron script to perform an fbackup to a file on disk nightly. Now I'm trying to do a test restore, but I can't seem to find the correct way to specify the backup file as the source in frecover. Can anyone point me in the right direction? ... (5 Replies)
Discussion started by: jduehmig
5 Replies
hdik(8) 						    BSD System Manager's Manual 						   hdik(8)

NAME
hdik -- lightweight tool to attach and mount disk images in-kernel SYNOPSIS
hdik imagefile [options] DESCRIPTION
hdik is a lightweight tool that can be used to attach disk images in-kernel (i.e. without a user-land process to provide the backing store). Only a subset of disk images can be mounted in this manner including read/write disk images, UDIF disk images that use zlib compression, shadowed disk images, and sparse disk images. hdik is intended for use in situations where linking against the DiskImages framework is problematic or an extremely lightweight mechanism for attaching a disk image is needed. You can specify that the image should not be processed by Disk Arbitration by specifying the -nomount option. You can also specify that the image be mounted with a shadow file by using the -shadow option. The following argument must be specified: imagefile the disk image to be mounted. OPTIONS
-shadow [shadowfile] Use a shadow file in conjunction with the data in the image. This option prevents modification of the original image and allows read-only images to be used as read/write images. When blocks are being read from the image, blocks present in the shadow file override blocks in the base image. When blocks are being written, the writes will be redirected to the shadow file. If not specified, -shadow defaults to <imagename>.shadow. If the shadow file does not exist, it is created. -nomount Suppress automatic mounting of the image or partitions on it. This will result in /dev entries being created, but will not mount any volumes. -drivekey keyname=value Specify a key/value pair for the IOHDIXHDDrive object created (shows up in the IOKit registry of devices which is viewable with ioreg(8)). SEE ALSO
hdiutil(1), diskarbitrationd(8), diskutil(8), ioreg(8) Mac OS X 29 Apr 2003 Mac OS X
All times are GMT -4. The time now is 11:59 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy