Before you really scratch the VG you might first find out what happened to hdisk6. Run "errpt" again with the "-a" switch to see the details and analyse what stands there. Eventually you could post it here and have others input about what it means.
You can still scratch the VG then, but: there is some reason why you encountered I/O errors. Disk broken, SAN damaged - i do not know what it is. But i do know (from long and often tragic experience) that a problem without a symptom is still a problem and it tends to creep up and haunt you exactly the moment you have the least need for that. So solve your problem with your disk first before you do anything with it, including (but not limited to) recreating the VG.
Hmm, how to ask this without sounding too malicious...
How might one go about causing a disk corruption in OS X specifically or via the command line in UNIX in general?
Doesnt matter the severity of the problem, I just want to scare the person a little, then fix the problem for them.
Any... (1 Reply)
Hello,
On Aix 5.3, during importvg, the varyonvg fails:
importvg -y vgtest hdisk20
0516-013 varyonvg: The volume group cannot be varied on because
there are no good copies of the descriptor area.
When i use manually the command varyonvg -u -b -t vgtest to force, the vg can... (3 Replies)
Hi
How to check if a vg is exported from an LPAR using exportvg?
Is there a command or place where we can see the list of the vg's exported from the LPAR ?
Because if i run the command to varyonvg i get the below error :
root@cbspsrc02 #varyonvg old_rootvg
0516-082 varyonvg: Unable to... (7 Replies)
Hallo Friends,
I have application X running on hpux 11.11 and oracle 9i release 2. I recently had a hardware failure on disk /dev/dsk/c2t0d0
Below is the systemlog file :
root@a7dmc:/var/adm/syslog > /opt/resmon/bin/resdata -R 155713541 -r /storage/events/enclosures/gazemon/0_1_1_0.0.0... (11 Replies)
I don't know if I am asking this correctly, but I have a hard drive with some bad sectors and it appears that some of the data is corrupt. I am having allot of trouble copying the data to a new drive. The issue is not in copying files, but that the new drive to which files are copied is not acting... (17 Replies)
Is there a way to find the volume group name after assigning hdisk to the machine for importing it ?
importvg -y <find_the_name_from_the_unknown_disk_> hdiskX
Code tags and no hijacking. You should be aware of that ;) (3 Replies)
I am managing a linux cluster which has been build on Platform Cluster Manager PCM 1.2.1) from IBM Platform Computing. Unfortunately somebody deteled data files of postgresql from /var/lib directory. I somehow managed to start the postmaster service again, but all the administrative commands of... (2 Replies)
Discussion started by: ahsanpmd
2 Replies
LEARN ABOUT PHP
datefmt_get_error_message
DATEFMT_GET_ERROR_MESSAGE(3) 1 DATEFMT_GET_ERROR_MESSAGE(3)IntlDateFormatter::getErrorMessage - Get the error text from the last operation.
Object oriented style
SYNOPSIS
public string IntlDateFormatter::getErrorMessage (void )
DESCRIPTION
Procedural style
string datefmt_get_error_message (IntlDateFormatter $fmt)
Get the error text from the last operation.
PARAMETERS
o $fmt
- The formatter resource.
RETURN VALUES
Description of the last error.
EXAMPLES
Example #1
datefmt_get_error_message(3) example
<?php
$fmt = datefmt_create(
'en_US',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
$str = datefmt_format($fmt);
if (!$str) {
prtinf(
"ERROR: %s (%d)
",
datefmt_get_error_message($fmt),
datefmt_get_error_code($fmt)
);
}
?>
Example #2
OO example
<?php
$fmt = new IntlDateFormatter(
'en_US',
IntlDateFormatter::FULL,
IntlDateFormatter::FULL,
'America/Los_Angeles',
IntlDateFormatter::GREGORIAN
);
$str = $fmt->format();
if(!$str) {
prtinf(
"ERROR: %s (%d)
",
$fmt->getErrorMessage(),
$fmt->getErrorCode()
);
}
?>
The above example will output:
ERROR: U_ZERO_ERROR (0)
SEE ALSO datefmt_get_error_code(3), intl_get_error_code(3), intl_is_failure(3).
PHP Documentation Group DATEFMT_GET_ERROR_MESSAGE(3)