10-04-2002
Thanks. We had HP support on the line ( they didn't like our idea of using dd ) and when we went to do what they wanted ( boot single user - vgcfgrestore , vgchange...) they didn't hear us when we mentioned the backups were on done with Legato networker to a SUN server w/jukebox. They had us in single user with no connection to the other server. When we told them this (before anything was actually done) their response was "Oops".
Then they come back with a way of moving the data without being in single user but using pvmove (as Perderabo suggested ). Worked great for /usr but /opt and /var didn't work. Both died with i/o errors (must be where the bad blocks on the disk were at).
So we go to restore /var and /opt....networker can't find the tape volumes! Makes it look like the system had not had a full backup for over a year! (still looking into that one!)
So, we ended up creating two new logical volumes, mounting them as /newvar and /newopt and doing cpio from the old to the new....so far it's only had a few problems with certain files (we are hoping they aren't needed or if they are to copy from a dev box with the same OS/version).
Sure wish we had a real HP-UX god(dess) here - ours was let go in the last RIF (although she didn't mind as she just had twins).
Last edited by RTM; 10-04-2002 at 07:18 PM..
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
$ errpt | more
IDENTIFIER TIMESTAMP T C RESOURCE_NAME DESCRIPTION
3074FEB7 0802050205 T H fscsi1 ADAPTER ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
B8113DD1 0802050205 T H fcs1 LINK ERROR
3074FEB7 0802050205 T H fscsi0 ADAPTER ERROR
B8113DD1 ... (0 Replies)
Discussion started by: mcastill66
0 Replies
2. UNIX for Dummies Questions & Answers
I have a SunOS 5.8 server. I suspect there may be errors with one of the physical disks (based on someone reporting hearing a "clicking sound" during the night shift, however I do not hear anything this morning).
Which log would show this?
Thank you. (2 Replies)
Discussion started by: FredSmith
2 Replies
3. AIX
Hi,
I'm getting the errors below in the errpt report for a IBM Blade server. I'm guessing there's a problem with one of the disks but don't know how I can confirm this. Can anyone offer any suggestions?
Regards
Gareth (4 Replies)
Discussion started by: m223464
4 Replies
4. UNIX for Dummies Questions & Answers
Hi all, dummy here.... I have major errors on entering the shell. On login I get:
-bash: dircolors: command not found
-bash: tr: command not found
-bash: fgrep: command not found
-bash: grep: command not found
-bash: grep: command not found
-bash: id: command not found
-bash: [: =: unary... (12 Replies)
Discussion started by: wcmmlynn
12 Replies
5. Filesystems, Disks and Memory
so we have a solrais 9 system attached to an HP SAN.
we are using sssu to do snap clones every hour.
the only problem is the we get write errors on the solrais system every time we do a snap.
from /var/adm/messages
Apr 21 14:37:48 svr001 scsi: WARNING:... (0 Replies)
Discussion started by: robsonde
0 Replies
6. Shell Programming and Scripting
I am looking for some tips or suggestions in how to do the following.
1) From a Solaris server, I run the command iostat -En and receive output that is similiar to the following which shows your disks along with the cdrom/dvdrom:
c0t2d0 Soft Errors: 0 Hard Errors: 0 Transport... (1 Reply)
Discussion started by: sunsysadm2003
1 Replies
7. Solaris
Hi all.
I am seeing in one of our less-used servers that it crashed and now won't restart. I get the message 'continue with normal startup or boot into maintenance mode'.
I go into maintenance and run fsck on /usr0 (mentioned in error at restart) it then reboots but goes right back to... (3 Replies)
Discussion started by: jamie_collins
3 Replies
8. AIX
Hi,
The system is a Power6 8204 with an external storage 7031. OS is AIX 5.3. I replaced a failed disk hdisk28 and put it back to the volume group. Everything looks just fine. After the replacement, errpt has kept sending "Perm DISK OPERATION ERROR".
Other than the error, everything still... (1 Reply)
Discussion started by: aixlover
1 Replies
9. Ubuntu
Hi,
During start up I got the message "Your disk drives are being checked for errors". But it went so fast that I could read following messages.
Once logged I though I could find it in "dmesg" but nothing...
May someone know where I can find plese ? :) (3 Replies)
Discussion started by: xib.be
3 Replies
10. Solaris
Hi,
What are the initial checks needs to be done while observing hard errors on one of the hard disk drive.
Thanks,
Babu. (1 Reply)
Discussion started by: lbreddy
1 Replies
LEARN ABOUT REDHAT
vgsplit
VGSPLIT(8) System Manager's Manual VGSPLIT(8)
NAME
vgsplit - split a volume groups
SYNOPSIS
vgsplit [-A|--autobackup {y|n}] [-d|-ebug] [-h|--help] [-l|--list] [-t|--test] [-v|--verbose] [--version] ExistingVolumeGroupName NewVol-
umeGroupName PhysicalVolumePath [PhysicalVolumePath...]
DESCRIPTION
vgsplit moves one or more PhysicalVolumePath(s) from ExistingVolumeGroupName into NewVolumeGroupName. Physical volumes that are split off
to the new volume group must not contain any partial logical volumes. Use pvmove(8) to move logical volumes to the desired physical vol-
umes.
OPTIONS
-A, --autobackup {y|n}
Controls automatic backup of VG metadata after the merge (see vgcfgbackup(8)). Default is yes.
-d, --debug
Enables additional debugging output (if compiled with DEBUG).
-h, --help
Print a usage message on standard output and exit successfully.
-l, --list
Display split volume group names like vgdisplay -v.
-t, --test
Do a test run WITHOUT any real changes.
-v, --verbose
Display verbose runtime information about vgsplit's activities.
--version
Display tool and IOP version and exit successfully.
EXAMPLE
To separate physical volumes /dev/sdk1 and /dev/sdn1 from the existing volume group databases and put them into new volume group my_vg.
vgsplit -v databases my_vg /dev/sdk1 /dev/sdn1
DIAGNOSTICS
vgsplit returns an exit code of 0 for success and > 0 for error:
1 invalid volume group name
2 invalid physical volume name
3 malloc error
4 error reading VGDA of existing volume group
5 new volume group already exists
6 error setting up VGDA for split
7 logical volume to be split into new volume group must be inactive
8 logical volume doesn't exist
9 error removing logical volume from kernel
10 error reducing VGDA by physical volume in kernel
11 error writing changed existing VGDA to physical volume(s)
12 error writing new VGDA to physical volume(s)
13 error creating device special files for changed existing volume group
14 error creating device special files for new volume group
15 error creating new VGDA in kernel
16 error inserting new volume group name into lvmtab
95 driver/module not in kernel
96 invalid I/O protocol version
97 error locking logical volume manager
98 invalid lvmtab (run vgscan(8))
99 invalid command line
ENVIRONMENT VARIABLES
LVM_AUTOBACKUP
If this variable is set to "no" then the automatic backup of VG metadata is turned off.
LVM_VG_MAX_BACKUPS
This variable determines the backup history depth of kept VGDA copy files in /etc/lvmconf. It can be set to a positive number
between 0 and 999. The higher this number is, the more changes you can restore using vgcfgrestore(8).
SEE ALSO
lvm(8), vgcreate(8), vgextend(8), vgreduce(8), vgmerge(8), pvmove(8)
AUTHOR
Heinz Mauelshagen <Linux-LVM@Sistina.com>
Heinz Mauelshagen LVM TOOLS VGSPLIT(8)