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
cmdk(7D)							      Devices								  cmdk(7D)

NAME
cmdk - common disk driver SYNOPSIS
cmdk@target, lun : [ partition | slice ] DESCRIPTION
The cmdk device driver is a common interface to various disk devices. The driver supports magnetic fixed disks and magnetic removable disks. The block-files access the disk using the system's normal buffering mechanism and are read and written without regard to physical disk records. There is also a "raw" interface that provides for direct transmission between the disk and the user's read or write buffer. A sin- gle read or write call usually results in one I/O operation; raw I/O is therefore considerably more efficient when many bytes are transmit- ted. The names of the block files are found in /dev/dsk; the names of the raw files are found in /dev/rdsk. I/O requests to the magnetic disk must have an offset and transfer length that is a multiple of 512 bytes or the driver returns an EINVAL error. Slice 0 is normally used for the root file system on a disk, slice 1 as a paging area (for example, swap), and slice 2 for backing up the entire fdisk partition for Solaris software. Other slices may be used for usr file systems or system reserved area. Fdisk partition 0 is to access the entire disk and is generally used by the fdisk(1M) program. FILES
/dev/dsk/cndn[s|p]n block device (IDE) /dev/rdsk/cndn[s|p]n raw device (IDE) where: cn controller n dn lun n (0-7) sn UNIX system slice n (0-15) pn fdisk partition(0) /kernel/drv/cmdk 32-bit kernel module. /kernel/drv/amd64/cmdk 64-bit kernel module. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |x86 | +-----------------------------+-----------------------------+ SEE ALSO
fdisk(1M), mount(1M), lseek(2), read(2), write(2), readdir(3C), scsi(4), vfstab(4), attributes(5), dkio(7I) SunOS 5.10 9 Oct 2004 cmdk(7D)
All times are GMT -4. The time now is 03:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy