02-13-2002
Re: Pb with the disk to import
Quote:
Originally posted by Olivier
I think I can only use vgimport if I made a map file in the disk to import.
That's not true. If you gave the volume group screwy names like /dev/vg00/lvol_this and /dev/vg00/lvol_that then you will need that map file to preserve the names. Without a map file, LVM will just use /dev/vg00/lvol0 and /dev/vg00/lvol1. Even if you used the default names, without a map file, LVM may get them mixed up and, for example, switch lvol0 and lvol1. But the mixup in logical volume names is the only problem with importing without the map file.
But anyway, I
think that you should be able to boot straight into single user mode even with a screwed up inittab. Interrupt the boot process, boot from the primary path, choose to interact with ISL, and then type "hpux -is".
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
-Here's the funny thing -
I have an old HPUX1020 D270 also known as "grandfather"
Everything was all right until today...
The users began to work as usual.
Suddenly The server "kicked" out the users, and when trying to login back - The server returned with 2 different error mesgs:
one is... (7 Replies)
Discussion started by: sunbird
7 Replies
2. Shell Programming and Scripting
i'm importing tables to oracle 7, but sometimes import give me warnings (not failures) how can i rollback the whole imported tables if warnings occured
please advise
thanx (2 Replies)
Discussion started by: omran
2 Replies
3. UNIX for Dummies Questions & Answers
Dear All,
If while the databsae was shut down, an import command has been done. Will the import result will return 1?
Best Regards,
Omran (1 Reply)
Discussion started by: omran
1 Replies
4. Shell Programming and Scripting
Hello,
I want to import an Oracle database file on my fresh DB, bought before successfully with exp command.
But is it possible to import some tables from the dmp file, because they are too large and it's so long !?
I didn't find any option in imp command to make exception on certain tables...... (1 Reply)
Discussion started by: madmat
1 Replies
5. Shell Programming and Scripting
Can i import a value of a variable in a different related script. (2 Replies)
Discussion started by: manish.s
2 Replies
6. Solaris
Hi
How to import the new service which i created without root permission.
As well how we can set the uid in service.
When i import i got the following error,
svccfg import /var/svc/manifest/site/newservice.xml
svccfg: Could not create temporary service "TEMP/site/newservice"... (6 Replies)
Discussion started by: kalpeer
6 Replies
7. Shell Programming and Scripting
Hi
I have many problems with a script. I have a script that formats a text file but always prints the same error when i try to execute it
The code is that:
{
if (NF==17){
print $0
}else{
fields=NF;
all=$0;
while... (2 Replies)
Discussion started by: fate
2 Replies
8. Shell Programming and Scripting
I have a calling script which consists of calls to other scripts via the sh command.
ie vi callscript.sh
sh smallscript1.sh
extra unix commands
sh smallscript2.sh
exit
In smallscript1, I prompt for a filename, which I handle via :-
read f1
export f1
I then need... (5 Replies)
Discussion started by: malts18
5 Replies
9. Slackware
when i attach HP 1020 leaser jet printer on slackware 13.1 via usb port it detects and display message "Ready to print", in printing window (start->setting->printing) it detects & its properties(Printer->properties) is
Description : Hewlett-Packard HP LaserJet 1020
Location : Divya
Device... (0 Replies)
Discussion started by: hitlar
0 Replies
10. Solaris
On an OmniOS server, I removed a single-disk pool I was using for testing.
Now, when I run zpool import it will show it as FAULTED, since that single disk not available anymore.
# zpool import
pool: fido
id: 7452075738474086658
state: FAULTED
status: The pool was last... (11 Replies)
Discussion started by: priyadarshan
11 Replies
LVREMOVE(8) System Manager's Manual LVREMOVE(8)
NAME
lvremove - remove a logical volume
SYNOPSIS
lvremove [-A|--autobackup {y|n}] [-d|--debug] [-h|--help] [-t|--test] [-v|--verbose] [--version] [-f|--force] [--noudevsync] LogicalVol-
ume{Name|Path} [LogicalVolume{Name|Path}...]
DESCRIPTION
lvremove removes one or more logical volumes. Confirmation will be requested before deactivating any active logical volume prior to
removal. Logical volumes cannot be deactivated or removed while they are open (e.g. if they contain a mounted filesystem). Removing an
origin logical volume will also remove all dependent snapshots.
If the logical volume is clustered then it must be deactivated on all nodes in the cluster before it can be removed. A single lvchange com-
mand issued from one node can do this.
OPTIONS
See lvm(8) for common options.
-f, --force
Remove active logical volumes without confirmation.
--noudevsync
Disable udev synchronisation. The process will not wait for notification from udev. It will continue irrespective of any possible
udev processing in the background. You should only use this if udev is not running or has rules that ignore the devices LVM2 cre-
ates.
EXAMPLES
Remove the active logical volume lvol1 in volume group vg00 without asking for confirmation:
lvremove -f vg00/lvol1
Remove all logical volumes in volume group vg00:
lvremove vg00
SEE ALSO
lvcreate(8), lvdisplay(8), lvchange(8), lvm(8), lvs(8), lvscan(8), vgremove(8)
Sistina Software UK LVM TOOLS 2.02.95(2) (2012-03-06) LVREMOVE(8)