- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Importing part of vg00
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
Forums
Discussions
Discussions
Discussions
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
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
06-26-2003 01:19 AM
06-26-2003 01:19 AM
I'm trying to restore an HP-UX 11i system on another CPU.
With an Ignite-UX tape, I succeeded in restoring everything in the internal hard drive.
Then, I had to let the new system know that there are external disks. Th fact is that these disks also belongs to vg00.
With a vgimport command, it complains that vg00 already exists, of course.
I also tried the vgextend command and get that error message:
Couldn't install the physical volume "dev/desk/c0t8d0".
The path does not specify a valid physical volume.
Anyway, the ioscan -fnkCdisk command shows me the c0t8d0 disk.
So what's wrong ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:26 AM
06-26-2003 01:26 AM
Re: Importing part of vg00
have you really tried with /dev/desk instead of /dev/dsk?
Enrico.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:34 AM
06-26-2003 01:34 AM
Re: Importing part of vg00
I find it difficult to understand how you could have other disks belonging to vg00 which werent recovered by ignite. This doesnt make sense. Anyway, I would create a new vg and import them there (eg, vg01).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:36 AM
06-26-2003 01:36 AM
Re: Importing part of vg00
That was just an error when using keyboard. Of course, that's dsk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:45 AM
06-26-2003 01:45 AM
Re: Importing part of vg00
Think you can import the vg to an other vg.
create vgtemp
import old vg00 to vgtemp
copy data to original vg00.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:54 AM
06-26-2003 01:54 AM
Re: Importing part of vg00
In fact, my vg00 is composed about the internal hard drive and 2 externals.
My aim was to be able to make machines substitute each other in case of internal hard drive.
That's why I made an Ignite-UX tape specifying to backup only all the partitions stored on the internal drive.
Now that the restore process worked, I have vg00 composed normally of the internal drive.
But, I have to tell him to also include the other disks !
I also tried a vgscan but it didn't help a lot.
The /etc/lvmtab still doesn't talk about my external drives while ioscan can see them !
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:04 AM
06-26-2003 02:04 AM
Re: Importing part of vg00
Can you explain me your answer with a little more details please ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:11 AM
06-26-2003 02:11 AM
Re: Importing part of vg00
short one because of my timelimit, if i make an typo ignore it (:-)
you would like to have the abillity to import your data from one server to the other. But vgimport complains about Couldn't install the physical volume "dev/desk/c0t8d0".
How about creating a vgtemp or what ever you would like to name it. Use vgimport to import the disk inside the temp volume group, mount it on /mnt/temp filesystems and copy your data to the excisting logical volumes.
Hope it helps,
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 02:21 AM
06-26-2003 02:21 AM
Re: Importing part of vg00
It seems to me that you have a problem with the layout of your original system that ought to be straightened out.
It sounds like you have more than just root file systems in vg00 and this is not recommended. VG00 should contain only /, /stand, /var, /usr, /tmp, /opt, and possibly /home. Any non-root data should be kept in separate volume groups. That way you should be able to use Ignite to backup and recover just vg00 and then use conventional backup methods for your data. Restore consists of recovering the O/S (vg00) via Ignite, then using either vgimport (if the VG's are still intact) or your conventional backup to restore your data. This is the way Ignite was designed to function.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 08:14 AM
06-26-2003 08:14 AM
Re: Importing part of vg00
Is it possible to change my vg architecture in order to reduce the content of vg00 ?
Is that a tricky work or something really easy as that machine is actually on production ?
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 11:36 AM
06-26-2003 11:36 AM
SolutionYes if you have enough free space in the other volume groups you can copy them without a reboot, but not with any users or applications running. You will have to shutdown databases/applications using these logical volumes.
create a new logical volume same size as the one in vg00
create a filesystem on it
mount the filesystem on a tempmount
copy data from vg00 into vg01 in the tempmount
umount /dev/vg00/lvolX
mount /dev/vg01/lvolX on old dir name
change /etc/fstab vg00 into vg01
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-26-2003 01:12 PM
06-26-2003 01:12 PM
Re: Importing part of vg00
Sorry for the delay in responding.
As Robert-Jan pointed out, it's relatively simple if you have extra space available.
If not, the process becomes rather involved. You need to backup the non-root file systems to tape, remove the lvols, create a new VG out of the space you've just freed up (the external disks, I hope), create lvols and filesystems within, and then restore your data.
In the future, it will make your life much easier - it's just hard to get where you need to be.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-27-2003 06:22 AM
06-27-2003 06:22 AM