- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: I/O error while mounting, but disk is in good ...
Operating System - HP-UX
1753818
Members
8593
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО12-17-2010 07:53 AM
тАО12-17-2010 07:53 AM
I/O error while mounting, but disk is in good condition.
Hi LVM experts,
VG01 had 2 mirrored disks. out of that one failed and removed from the system.
Now the problem is not able to mount the filesystems in vg02.
Below is some command outputs for your reference
Note that Used PV =0 for both LV.
Please help for a solution
----------------------------------
root) uname -srm
HP-UX B.10.20 9000/820
---------------------------------------
(root) vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
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 1024
VGDA 2
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 0
Free PE 1296
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 0
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 0
--- Physical volumes ---
PV Name /dev/dsk/c0t9d0
PV Status available
Total PE 1023
Free PE 1023
--------------------------------------------
root) pvdisplay /dev/dsk/c0t9d0
--- Physical volumes ---
PV Name /dev/dsk/c0t9d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 1023
Free PE 1023
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
-----------------------------------------
(root) ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 8/4.9.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 3 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
(root)
-------------------------------------------
root) diskinfo /dev/rdsk/c0t9d0
SCSI describe of /dev/rdsk/c0t9d0:
vendor: SEAGATE
product id: ST34572WC
type: direct access
size: 4194157 Kbytes
bytes per sector: 512
---------------------------------------
root) dd if=/dev/rdsk/c0t9d0 of=/dev/null bs=1024k count=64
64+0 records in
64+0 records out
-------------------------------------------
Thanks in advance
Santhosh
VG01 had 2 mirrored disks. out of that one failed and removed from the system.
Now the problem is not able to mount the filesystems in vg02.
Below is some command outputs for your reference
Note that Used PV =0 for both LV.
Please help for a solution
----------------------------------
root) uname -srm
HP-UX B.10.20 9000/820
---------------------------------------
(root) vgdisplay -v vg01
--- Volume groups ---
VG Name /dev/vg01
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 1024
VGDA 2
PE Size (Mbytes) 4
Total PE 1023
Alloc PE 0
Free PE 1296
Total PVG 0
--- Logical volumes ---
LV Name /dev/vg01/lvol1
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 0
LV Name /dev/vg01/lvol2
LV Status available/syncd
LV Size (Mbytes) 1500
Current LE 375
Allocated PE 375
Used PV 0
--- Physical volumes ---
PV Name /dev/dsk/c0t9d0
PV Status available
Total PE 1023
Free PE 1023
--------------------------------------------
root) pvdisplay /dev/dsk/c0t9d0
--- Physical volumes ---
PV Name /dev/dsk/c0t9d0
VG Name /dev/vg01
PV Status available
Allocatable yes
VGDA 2
Cur LV 0
PE Size (Mbytes) 4
Total PE 1023
Free PE 1023
Allocated PE 0
Stale PE 0
IO Timeout (Seconds) default
-----------------------------------------
(root) ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 8/4.5.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 2 8/4.9.0 sdisk CLAIMED DEVICE SEAGATE ST34572WC
/dev/dsk/c0t9d0 /dev/rdsk/c0t9d0
disk 3 8/16/5.2.0 sdisk CLAIMED DEVICE TOSHIBA CD-ROM XM-5701TA
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
(root)
-------------------------------------------
root) diskinfo /dev/rdsk/c0t9d0
SCSI describe of /dev/rdsk/c0t9d0:
vendor: SEAGATE
product id: ST34572WC
type: direct access
size: 4194157 Kbytes
bytes per sector: 512
---------------------------------------
root) dd if=/dev/rdsk/c0t9d0 of=/dev/null bs=1024k count=64
64+0 records in
64+0 records out
-------------------------------------------
Thanks in advance
Santhosh
santhosh
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 09:47 AM
тАО12-17-2010 09:47 AM
Re: I/O error while mounting, but disk is in good condition.
There is something screwy about the vgdisplay command output. Did you notice this
>>> Total PE 1023
>>> Alloc PE 0
>>> Free PE 1296
I am not sure how you can have more free PEs than total PEs. Since all extents are free, there is no data to be lost. So, why don't you take it up from the top and recreate the vg01 ?
pvcreate blah-blah
vgcreate blah-blah
lvcreate blah-blah
if there is a problem with your hardware, you should be able to identify it at the beginning.
Also reading the 64 MB data from the beginning of a 4GB disks, does not warrant saying the disk is good. At this point, all you know is the embedded disk controller is talking to the SCSI interface as a result of the dd command you ran above
>>> Total PE 1023
>>> Alloc PE 0
>>> Free PE 1296
I am not sure how you can have more free PEs than total PEs. Since all extents are free, there is no data to be lost. So, why don't you take it up from the top and recreate the vg01 ?
pvcreate blah-blah
vgcreate blah-blah
lvcreate blah-blah
if there is a problem with your hardware, you should be able to identify it at the beginning.
Also reading the 64 MB data from the beginning of a 4GB disks, does not warrant saying the disk is good. At this point, all you know is the embedded disk controller is talking to the SCSI interface as a result of the dd command you ran above
________________________________
UNIX because I majored in cryptology...
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-17-2010 10:03 AM
тАО12-17-2010 10:03 AM
Re: I/O error while mounting, but disk is in good condition.
cannot say all extents are free. Its showing free because used pv is 0 in lvol detail. Actually this contain data and this was part of mirror.
santhosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-28-2010 10:57 PM
тАО12-28-2010 10:57 PM
Re: I/O error while mounting, but disk is in good condition.
hi
what you found for below command ?
lvdisplay -v "lvolumes"
Check LE distribution
/Bibith
what you found for below command ?
lvdisplay -v "lvolumes"
Check LE distribution
/Bibith
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP