Sponsored Content
Full Discussion: corrupt disk
Operating Systems HP-UX corrupt disk Post 302574395 by kekanap on Thursday 17th of November 2011 08:05:53 AM
Old 11-17-2011
Network

The client refused to run Raid 5 on the server. Here is the bdf output below:

Code:
root@a7dmc:/ [149] > bdf
Filesystem          kbytes    used   avail %used Mounted on
/dev/vg00/lvol3     229376  141008   87696   62% /
/dev/vg00/lvol1     314736   59528  223728   21% /stand
/dev/vg00/lvol8    8192000 2631272 5517344   32% /var
/dev/vg00/lvfeedData
                   24117248 21696496 2382960   90% /var/opt/dmc/feedData
/dev/vg00/lvSORT    393216    1197  367525    0% /var/opt/dmc/SORT
/dev/vg00/lvASCII  60555264 53112744 7384400   88% /var/opt/dmc/ASCII
/dev/vg00/lvol7    5144576 1298368 3816216   25% /usr
/dev/vg00/lvol6    10256384 3694136 6511800   36% /tmp
/dev/vg00/lvol5    5144576 2002544 3117520   39% /opt
/dev/vg00/lvoracle 10256384 3627982 6421300   36% /opt/oracle/product/9.2.0
/dev/vg00/lvol4    5144576   20976 5083632    0% /home
You have mail in /var/mail/root
root@a7dmc:/ [150] >

and the output below is from the other disk.

Code:
root@a7dmc:/ [169] >  pvdisplay -v /dev/dsk/c2t1d0|more
--- Physical volumes ---
PV Name                     /dev/dsk/c2t1d0
VG Name                     /dev/vgoradata
PV Status                   available
Allocatable                 yes
VGDA                        2
Cur LV                      12
PE Size (Mbytes)            16
Total PE                    8749
Free PE                     1492
Allocated PE                7257
Stale PE                    0
IO Timeout (Seconds)        default
Autoswitch                  On

   --- Distribution of physical volume ---
   LV Name                      LE of LV  PE for LV
   /dev/vgoradata/lvsystem_1    33        33
   /dev/vgoradata/lvtemporary_1 513       513
   /dev/vgoradata/lvundo_1      257       257
   /dev/vgoradata/lvusers_1     4         4
   /dev/vgoradata/lvdimension   33        33
   /dev/vgoradata/lvredo_1      13        13
   /dev/vgoradata/lvredo_2      13        13
   /dev/vgoradata/lvredo_3      13        13
   /dev/vgoradata/lvCDR1_1      1688      1688
   /dev/vgoradata/lvCDR2_1      1688      1688
   /dev/vgoradata/lvGSM1_1      1501      1501
   /dev/vgoradata/lvGSM2_1      1501      1501

   --- Physical extents ---
   PE    Status   LV                           LE
   00000 current  /dev/vgoradata/lvsystem_1    00000
   00001 current  /dev/vgoradata/lvsystem_1    00001
   00002 current  /dev/vgoradata/lvsystem_1    00002
   00003 current  /dev/vgoradata/lvsystem_1    00003
   00004 current  /dev/vgoradata/lvsystem_1    00004
   00005 current  /dev/vgoradata/lvsystem_1    00005
   00006 current  /dev/vgoradata/lvsystem_1    00006
   00007 current  /dev/vgoradata/lvsystem_1    00007
   00008 current  /dev/vgoradata/lvsystem_1    00008
   00009 current  /dev/vgoradata/lvsystem_1    00009
   00010 current  /dev/vgoradata/lvsystem_1    00010
   00011 current  /dev/vgoradata/lvsystem_1    00011
   00012 current  /dev/vgoradata/lvsystem_1    00012
   00013 current  /dev/vgoradata/lvsystem_1    00013
Standard input

 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

corrupt or lost data

Thank you livin Free for all your help. We removed a lot of spool files and report files. Which should have freed up some space. But now I think a major problem we have is we have lost or corrupt files which are preventing us from coming up correctly. Can we load or can you copy us a directory... (1 Reply)
Discussion started by: NOT A CLUE
1 Replies

2. Cybersecurity

Security Databases are corrupt. HELP!!

Help! SCO Unix 5.05. A relatievely new system went down on me today. I got the dreaded error: Out of Space on Device (1/42). I was able to clear up some space in the /tmp directory, however, when I try to boot, the system prompts me to go into single user mode and I get the... (2 Replies)
Discussion started by: gseyforth
2 Replies

3. UNIX for Dummies Questions & Answers

I got a corrupt /etc/inittab file....what next?

Hi guys, For some reason a client has given us a Sun Netra T1 with Solaris 8 to administer for them. That's always good business. However, the other day we rebooted the machine and to our amazement, after doing the preliminary hardware tests, we got an error messgae saying that /etc/inittab was... (3 Replies)
Discussion started by: Ivo
3 Replies

4. UNIX for Dummies Questions & Answers

Causing a disk to be corrupt

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)
Discussion started by: Yummator
1 Replies

5. UNIX for Dummies Questions & Answers

VXVM 3.5 Rootdg corrupt/recovery

Hi Everyone! Would someone please tell me if it is still true that rootdg should not be used for production/primary data and that you should create additional disk groups so that if rootdg gets corrupt you can recreate rootdg and then bring in the other groups with no data loss. Or is it still... (0 Replies)
Discussion started by: llrios
0 Replies

6. HP-UX

Corrupt Member File

I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Discussion started by: astout
2 Replies

7. Solaris

How to corrupt a superblock?

I need to corrupt a superblock of a mounted device in a soalris m/c and check recovery from an alternate superblock. How can this be done? (2 Replies)
Discussion started by: sujathan
2 Replies

8. UNIX for Dummies Questions & Answers

Zipped tar file is corrupt

Hello, I am currently dumping 30-40 reports on a Unix folder located here /home/apps/reports/prode/excel I use K-shell to do this task. In that, I use the gzip command to compress these files. I want to be able to use a tar command to first load the entire directory into one file then gzip that... (2 Replies)
Discussion started by: Pramodini Rode
2 Replies

9. Shell Programming and Scripting

cp to copy only non-corrupt files

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)
Discussion started by: LMHmedchem
17 Replies

10. High Performance Computing

Postgresql Database Corrupt

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
VGIMPORTCLONE(8)					      System Manager's Manual						  VGIMPORTCLONE(8)

NAME
vgimportclone - import and rename duplicated volume group (e.g. a hardware snapshot) SYNOPSIS
vgimportclone [-n|--basevgname VolumeGroupName] [-i|--import] PhysicalVolume [PhysicalVolume...] DESCRIPTION
vgimportclone is used to import a duplicated VG (e.g. hardware snapshot). Duplicate VG(s) and PV(s) are not able to be used until they are made to coexist with the origin VG(s) and PV(s). vgimportclone renames the VG associated with the specified PV(s) and changes the associ- ated VG and PV UUIDs. OPTIONS
See lvm for common options. -n|--basevgname VolumeGroupName By default the snapshot VG will be renamed to the original name plus a numeric suffix to avoid duplicate naming (e.g. 'test_vg' would be renamed to 'test_vg1'). This option will override the base VG name that is used for all VG renames. If a VG already exists with the specified name a numeric suffix will be added (like the previous example) to make it unique. -i|--import Import exported Volume Groups. Otherwise VGs that have been exported will not be changed (nor will their associated PVs). ENVIRONMENT VARIABLES
LVM_BINARY The LVM2 binary to use. Defaults to "lvm". EXAMPLES
The origin VG vg00 has origin PVs /dev/sda and /dev/sdb and the respective snapshot PVs are /dev/sdc and /dev/sdd. To rename the VG asso- ciated with /dev/sdc and /dev/sdd from vg00 to vg00_snap (and to change associated VG and PV UUIDs) do: vgimportclone --basevgname vg00_snap /dev/sdc /dev/sdd SEE ALSO
lvm(8) Red Hat, Inc. LVM TOOLS 2.02.95(2) (2012-03-06) VGIMPORTCLONE(8)
All times are GMT -4. The time now is 12:40 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy