- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate error on fc lun
Operating System - HP-UX
1753877
Members
7674
Online
108809
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
Go to solution
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
тАО06-08-2010 06:11 AM
тАО06-08-2010 06:11 AM
Hi!
I'm trying to mount a lun from storage, but i've got an error when i run pvcreate:
=========
# pvcreate -f /dev/rdsk/c6t0d2
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdsk/c6t0d2".
[Error: -1]
=========
i tried to do this via SMH - with same result. Here's the output of ioscan:
=========
# ioscan -C disk
H/W Path Class Description
=================================================================
1/0/0/3/1.2.0 disk Optiarc DVD RW AD-5200A
1/0/6/1/0.4.4.0.0.0.1 disk HP HSV300
1/0/6/1/0.4.5.0.0.0.1 disk HP HSV300
1/0/6/1/0.5.6.255.0.0.0 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.2 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.3 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.4 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.5 disk SUN LCSM100_F
1/0/12/1/0/4/0.0.0 disk HP LOGICAL VOLUME
1/0/14/1/0.5.6.255.0.0.0 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.2 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.3 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.4 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.5 disk SUN LCSM100_F
=========
and LUN properties from SMH:
=========
LUN H/W Path 64000/0xfa00/0xa
Persistent Device File /dev/disk/disk18
Legacy H/W Path(s) 1/0/6/1/0.5.6.255.0.0.2
1/0/14/1/0.5.6.255.0.0.2
Legacy Device File(s) /dev/dsk/c6t0d2
/dev/dsk/c5t0d2
Device Identifier
Alias "sun_st_400_1"
World Wide ID 0x600a0b8000389a62000007cc4bdf8347
Size 400.0 GB
Block Size (bytes) 512
Capacity (blocks) 838860800
Use unused
Device Health online
Device Type direct access
Instance Number 18
Total Path Count 2
Device Class disk
Driver esdisk
State UNOPEN
Vendor "SUN "
Product "LCSM100_F "
Serial Number "SX73102519 "
Firmware Revision "0670"
SCSI Protocol Revision 5
=========
What can be wrong here?
I'm trying to mount a lun from storage, but i've got an error when i run pvcreate:
=========
# pvcreate -f /dev/rdsk/c6t0d2
pvcreate: Error: Couldn't read LVMREC for the physical volume "/dev/rdsk/c6t0d2".
[Error: -1]
=========
i tried to do this via SMH - with same result. Here's the output of ioscan:
=========
# ioscan -C disk
H/W Path Class Description
=================================================================
1/0/0/3/1.2.0 disk Optiarc DVD RW AD-5200A
1/0/6/1/0.4.4.0.0.0.1 disk HP HSV300
1/0/6/1/0.4.5.0.0.0.1 disk HP HSV300
1/0/6/1/0.5.6.255.0.0.0 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.2 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.3 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.4 disk SUN LCSM100_F
1/0/6/1/0.5.6.255.0.0.5 disk SUN LCSM100_F
1/0/12/1/0/4/0.0.0 disk HP LOGICAL VOLUME
1/0/14/1/0.5.6.255.0.0.0 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.2 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.3 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.4 disk SUN LCSM100_F
1/0/14/1/0.5.6.255.0.0.5 disk SUN LCSM100_F
=========
and LUN properties from SMH:
=========
LUN H/W Path 64000/0xfa00/0xa
Persistent Device File /dev/disk/disk18
Legacy H/W Path(s) 1/0/6/1/0.5.6.255.0.0.2
1/0/14/1/0.5.6.255.0.0.2
Legacy Device File(s) /dev/dsk/c6t0d2
/dev/dsk/c5t0d2
Device Identifier
Alias "sun_st_400_1"
World Wide ID 0x600a0b8000389a62000007cc4bdf8347
Size 400.0 GB
Block Size (bytes) 512
Capacity (blocks) 838860800
Use unused
Device Health online
Device Type direct access
Instance Number 18
Total Path Count 2
Device Class disk
Driver esdisk
State UNOPEN
Vendor "SUN "
Product "LCSM100_F "
Serial Number "SX73102519 "
Firmware Revision "0670"
SCSI Protocol Revision 5
=========
What can be wrong here?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2010 06:22 AM
тАО06-08-2010 06:22 AM
Solution
Is the LUn writeable?
try doing:
dd if=/stand/vmunix of=/dev/rdsk/c6t0d2
bs=1024k count=100
If that fails, then there is a problem with the LUN.
If it works, try doing the pvcreate command again
try doing:
dd if=/stand/vmunix of=/dev/rdsk/c6t0d2
bs=1024k count=100
If that fails, then there is a problem with the LUN.
If it works, try doing the pvcreate command again
My house is the bank's, my money the wife's, But my opinions belong to me, not HP!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2010 06:24 AM
тАО06-08-2010 06:24 AM
Re: pvcreate error on fc lun
Hi,
--
State UNOPEN
--
You need to have a look at the configuration of the lun on the Sun San.
Regards,
Robert-Jan
--
State UNOPEN
--
You need to have a look at the configuration of the lun on the Sun San.
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-08-2010 06:32 AM
тАО06-08-2010 06:32 AM
Re: pvcreate error on fc lun
melvyn burnard:
# dd if=/dev/zero of=/dev/rdsk/c6t0d2 bs=1024k count=100
I/O error
2+0 records in
1+1 records out
Robert-Jan Goossens:
I suspect the lun is presented to other port, that's not visible for OS:
=======
1/0/6/1/0.5.6.255.0.0.2
1/0/14/1/0.5.6.255.0.0.2 c6t0d2
c5t0d2 unused - 2 400.0 GB SUN LCSM100_F
=======
Only two paths are here, but should be four, i think. I'l try to look at the storage config and check the cables.
Thanks for answers!
# dd if=/dev/zero of=/dev/rdsk/c6t0d2 bs=1024k count=100
I/O error
2+0 records in
1+1 records out
Robert-Jan Goossens:
I suspect the lun is presented to other port, that's not visible for OS:
=======
1/0/6/1/0.5.6.255.0.0.2
1/0/14/1/0.5.6.255.0.0.2 c6t0d2
c5t0d2 unused - 2 400.0 GB SUN LCSM100_F
=======
Only two paths are here, but should be four, i think. I'l try to look at the storage config and check the cables.
Thanks for answers!
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