- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: one lvol is corrupted, needs checking.
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 02:21 AM
03-15-2008 02:21 AM
one lvol is corrupted, needs checking.
From last 4-5 days, following error is coming in one of my hp ux server,
mount /dev/vg04/lvol1 /mdslogs
vxfs mount: /dev/vg04/lvol1 is corrupted. needs checking
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 02:47 AM
03-15-2008 02:47 AM
Re: one lvol is corrupted, needs checking.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 02:51 AM
03-15-2008 02:51 AM
Re: one lvol is corrupted, needs checking.
I thought u asked file system
if u want to know check the logical volum
i am sending good pdf for u
it is mentioned step by step procedure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 02:55 AM
03-15-2008 02:55 AM
Re: one lvol is corrupted, needs checking.
first try a fsck
# umount /mdslogs
# fsck -F vxfs -y -o full,nolog /dev/vg04/rlvol1
check your syslogt for errors,
If above does not repare the filesystem, try to locate the disk with vgdisplay and lvdisplay.
Test the disk.
# dd if=/dev/rdsk/cxtydz of=/dev/null bs=1024k
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 02:55 AM
03-15-2008 02:55 AM
Re: one lvol is corrupted, needs checking.
umount file system
fsck /dev/vg04/lvol1
then mount the file system
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 06:41 AM
03-15-2008 06:41 AM
Re: one lvol is corrupted, needs checking.
First i've run fsck command as given by you, but it doesn't work.
Then I test the disk using below command, which doesn't work.........
# dd if=/dev/rdsk/c0t14d0 of=/dev/null bs=1024k
dd read error: Invalid argument
0+0 records in
0+0 records out
do the needful........
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 06:43 AM
03-15-2008 06:43 AM
Re: one lvol is corrupted, needs checking.
# lvdisplay -v /dev/vg04/lvol1 | more
lvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
lvdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg04/lvol1
VG Name /dev/vg04
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule striped
LV Size (Mbytes) 10240
Current LE 2560
Allocated PE 2560
Stripes 2
Stripe Size (Kbytes) 4096
Bad block on
Allocation strict
IO Timeout (Seconds) default
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c0t12d0 1280 1280
--- Logical extents ---
LE PV1 PE1 Status 1
00000 /dev/dsk/c0t12d0 00000 current
00001 ??? 00000 current
00002 /dev/dsk/c0t12d0 00001 current
00003 ??? 00001 current
00004 /dev/dsk/c0t12d0 00002 current
00005 ??? 00002 current
00006 /dev/dsk/c0t12d0 00003 current
00007 ??? 00003 current
00008 /dev/dsk/c0t12d0 00004 current
00009 ??? 00004 current
00010 /dev/dsk/c0t12d0 00005 current
00011 ??? 00005 current
00012 /dev/dsk/c0t12d0 00006 current
00013 ??? 00006 current
00014 /dev/dsk/c0t12d0 00007 current
00015 ??? 00007 current
00016 /dev/dsk/c0t12d0 00008 current
00017 ??? 00008 current
00018 /dev/dsk/c0t12d0 00009 current
00019 ??? 00009 current
00020 /dev/dsk/c0t12d0 00010 current
00021 ??? 00010 current
00022 /dev/dsk/c0t12d0 00011 current
00023 ??? 00011 current
00024 /dev/dsk/c0t12d0 00012 current
00025 ??? 00012 current
00026 /dev/dsk/c0t12d0 00013 current
00027 ??? 00013 current
00028 /dev/dsk/c0t12d0 00014 current
00029 ??? 00014 current
00030 /dev/dsk/c0t12d0 00015 current
00031 ??? 00015 current
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 08:29 AM
03-15-2008 08:29 AM
Re: one lvol is corrupted, needs checking.
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad.pdf
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 08:50 AM
03-15-2008 08:50 AM
Re: one lvol is corrupted, needs checking.
First you check the HDD is claimed with kernal or not,
# ioscan -fnC disk |grep -i cXtYdZ
# pvdisplay -v /dev/dsk/cXtYdZ
For your case, as per your dd command o/p
it seems your HDD is may be failure....
check the HDD...
Hoping positive response,
Kannan.H
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 08:56 AM
03-15-2008 08:56 AM
Re: one lvol is corrupted, needs checking.
what is your vgdisplay -v /dev/vg04 output?
Copy the output here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 09:18 PM
03-15-2008 09:18 PM
Re: one lvol is corrupted, needs checking.
file in there it is mentioned one by one
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2008 11:22 PM
03-15-2008 11:22 PM
Re: one lvol is corrupted, needs checking.
check /etc/lvmtab as well for this vg04 and locate if this disk is part of this vg ?
If disk is healthy then it is most likely that vg information on this disk has lost. you could try restoring the vg config on the disk after deactivating the vg but this is required if there is no issue with disk and only vg info got corrupted. vgcfgrestore could be used to restore the configuration.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 02:04 AM
03-16-2008 02:04 AM
Re: one lvol is corrupted, needs checking.
Output of VGDISPLAY & PVDISPLAY......
# vgdisplay -v /dev/vg04
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Volume groups ---
VG Name /dev/vg04
VG Write Access read/write
VG Status available
Max LV 255
Cur LV 2
Open LV 2
Max PV 16
Cur PV 2
Act PV 1
Max PE per PV 4342
VGDA 2
PE Size (Mbytes) 4
Total PE 4340
Alloc PE 4339
Free PE 1
Total PVG 0
Total Spare PVs 0
Total Spare PVs in use 0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
--- Logical volumes ---
LV Name /dev/vg04/lvol1
LV Status available/syncd
LV Size (Mbytes) 10240
Current LE 2560
Allocated PE 2560
Used PV 1
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
LV Name /dev/vg04/lvol2
LV Status available/syncd
LV Size (Mbytes) 24472
Current LE 6118
Allocated PE 6118
Used PV 1
--- Physical volumes ---
PV Name /dev/dsk/c0t12d0
vgdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
vgdisplay: Warning: couldn't query all of the physical volumes.
PV Status available
Total PE 4340
Free PE 1
Autoswitch On
Proactive Polling On
# pvdisplay -v /dev/dsk/c0t14d0 | more
pvdisplay: Warning: couldn't query physical volume "/dev/dsk/c0t14d0":
The specified path does not correspond to physical volume attached to
this volume group
pvdisplay: Warning: couldn't query all of the physical volumes.
pvdisplay: Couldn't retrieve the names of the physical volumes
belonging to volume group "/dev/vg04".
pvdisplay: Cannot display physical volume "/dev/dsk/c0t14d0".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-16-2008 02:05 AM
03-16-2008 02:05 AM
Re: one lvol is corrupted, needs checking.
# vgcfgrestore -n /dev/vg04 /dev/rdsk/c0t14d0
vgcfgrestore: IO error on Physical Volume device /dev/rdsk/c0t14d0: #
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-17-2008 01:15 AM
03-17-2008 01:15 AM