Why in the world are you using DD? And you are using VG.
Does those LV's have a mount point? Do you have a backup tool? (like TSM, netbackup etc..,)
If your answer is yes then try this,
1st take the snap of vg by running
The information is captured under '/tmp/vgdata' directory, look for your vgname directory under that (it will contain files like filesystems vgname.data, loglv.map, etc..,).
Now, goto the destination system where you want to restore the VG
Remember, that you need a disk of same size as it will create the same mapping.
copy the vgdata directory to the destination server and run
It will recreate all the Logical volumes and also mount the file systems.
Now restore the data from your backup tool.
Second option (say you don't have backup tool) is using savevg to take the entire VG backup
if you use '-r' flag, it wont backup the files in VG (just like mkvgdata command)
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)
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)
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)
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)
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)
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)