![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| x 86 svccfg import error | oscarl | SUN Solaris | 1 | 02-22-2008 09:01 AM |
| exceptions in import | madmat | Shell Programming and Scripting | 1 | 07-12-2007 12:38 PM |
| import | omran | UNIX for Dummies Questions & Answers | 1 | 01-26-2003 09:10 PM |
| import | omran | Shell Programming and Scripting | 2 | 12-17-2002 10:47 AM |
| Serius ERROR on HPUX 1020 | sunbird | UNIX for Dummies Questions & Answers | 7 | 01-23-2002 08:40 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
import disk in HP-UX 1020
Hi,
is it possible to import a disk into a system, and to mount it without overwriting all data on this disk? thanks |
| Forum Sponsor | ||
|
|
|
|||
|
Pb with the disk to import
Thank you for the reply,
In fact, the disk I want to import has an inittab probleme. Then, I can't boot on it. I would like to mount this disk in another server (HP-UX 1020) to repair it. I think I can only use vgimport if I made a map file in the disk to import. |
|
|||
|
Commands for import
Ok,
My server has 2 vg : vg00 and vg02. I think I have to strike: # for create dir: mkdir /dev/vgdata # I found this command but I don't know what that mean and #what it is use for: mknod /dev/vgdata/group c 64 Ox02000 # the import command: vgimport -v /dev/vgdata /dev/dsk/c0t10d0 # activate the volume group vgchange -a y /dev/vgdata Can you tell me if there is a mistake? |
|
||||
|
Every volume group must have a unique group file. You need to look at all (well, both) of your pre-existing group files and make sure that the minor number is different. I would expect that vg02 may already have a group with 0x020000, if so, you must pick 0x030000 or 0x010000 or whatever. And notce that the minor number has zeros, you show a leading capital O. And there are 4 trailing zeroes, not three as you show.
Do a "ls -l /dev/vg*/group" after your mknod to be sure that you have it right. I would then use the preview option first: vgimport -p -v ... This won't change anything but will detect almost any errors. If that looks good, then do the real vgimport. Then vgchange looks good. |
||||
| Google The UNIX and Linux Forums |