1755143 Members
3174 Online
108830 Solutions
New Discussion юеВ

Re: lv group missing

 
SOLVED
Go to solution
Mel Burslan
Honored Contributor

Re: lv group missing

Looks like the power outage took your disk drive with it. Have the hardware checked by an HP CE. Sometimes, even a disk shows up fine on ioscan output, it may have some problems.

for a quick (maybe not so quick but quicker than waiting for the HP CE probably) and dirty check, you can run :

dd if=/dev/dsk/c0t5d0 of=/dev/null

and see if this bums out somewhere before completing. If it succesfully completes, you should see something like that :

4864+0 records in
4864+0 records out

4864 number is replaced with a much higher one depending on the sizo of your disk drive. Large drives are known to take hours to complete this operation. Be forewarned. Ctrl-c breaks you out of it without any harm, if you want to.

________________________________
UNIX because I majored in cryptology...
A. Clay Stephenson
Acclaimed Contributor

Re: lv group missing

Almost certainly you have a dead drive.
If it ain't broke, I can fix that.
generic_1
Respected Contributor

Re: lv group missing

It may be possible the disk is bad. Does cstm show any errors on the disk. Does any of the indicator lights on the disk show signs of a bad disk? If do eventually get it back you might want to test it with a dd if=your disk device and of=/dev/null. A power failure can definitely be hard on hardware.
Helen French
Honored Contributor

Re: lv group missing

As I pointed out originally, you need to make sure that you have a working drive by checking it's hardware status first. Use 'dd' or 'stm' commands to check disk.

If disk is bad, you need to replace it with a new one and continue with 'vgcfgrestore' command. Once VG information is restored, you can mount the file systems (after formatting with newfs) and then restore data.
Life is a promise, fulfill it!
Robert S. Jackson
Occasional Advisor

Re: lv group missing

looks like a dead drive...
# dd if=/dev/rdsk/c0t5d0 of=/dev/null
dd read error: Invalid argument
0+0 records in
0+0 records out

# diskinfo -v /dev/rdsk/c0t5d0
SCSI describe of /dev/rdsk/c0t5d0:
vendor: SEAGATE
product id: ST39173N
type: direct access
size: 0 Kbytes
bytes per sector: 0
rev level: HP05
blocks per disk: 0
ISO version: 0
ECMA version: 0
ANSI version: 2
removable media: no
response format: 2
(Additional inquiry bytes: (32)20 (33)20 ...
Sundar_7
Honored Contributor

Re: lv group missing


I believe the drive has gone bad. What is the ioscan status for the drive ?
Learn What to do ,How to do and more importantly When to do ?
Robert S. Jackson
Occasional Advisor

Re: lv group missing

Here are the ioscan results...

# ioscan -C disk -fn
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 3 8/16/5.1.0 sdisk CLAIMED DEVICE SEAGATE ST34573W
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 0 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
disk 1 8/16/5.5.0 sdisk CLAIMED DEVICE SEAGATE ST39173N
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 8/16/5.6.0 sdisk CLAIMED DEVICE SEAGATE ST39173N
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
#
A. Clay Stephenson
Acclaimed Contributor

Re: lv group missing

Repeat your dd command:
dd if=/dev/rdsk/c0t5d0 bs=64k of=/dev/null

If it fails again that is a very strong indication that the disk is bad.
If it ain't broke, I can fix that.
Mel Burslan
Honored Contributor

Re: lv group missing

Robert,

dd takes the block device as if not the raw device. repeat your command with /dsk/ instead of /rdsk/.

if that one also returns 0+0 bytes, then you can be sure that there is something wrong with the drive.
________________________________
UNIX because I majored in cryptology...
Mel Burslan
Honored Contributor

Re: lv group missing

sorry I stand corrected, rdsk also works fine if the drive is good. this is sounding more and more like a bad hardware.
________________________________
UNIX because I majored in cryptology...