- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- pvcreate on an iSCSI connected disk
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
08-22-2005 01:48 AM
08-22-2005 01:48 AM
pvcreate on an iSCSI connected disk
# ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 0 0/0/1/1.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 1 0/0/2/0.2.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 2 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
disk 4 0/10/0/0.24.0.239.0.0.0 sdisk CLAIMED DEVICE DGC CX600WDR5
/dev/dsk/c7t0d0 /dev/rdsk/c7t0d0
disk 3 255/0/0.0.0.0 sdisk CLAIMED DEVICE DGC CX500WDR5
/dev/dsk/c8t0d0 /dev/rdsk/c8t0d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 01:50 AM
08-22-2005 01:50 AM
Re: pvcreate on an iSCSI connected disk
What happens if you try a 'pvcreate -f /dev/rdsk/c8t0d0'?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 01:53 AM
08-22-2005 01:53 AM
Re: pvcreate on an iSCSI connected disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:01 AM
08-22-2005 02:01 AM
Re: pvcreate on an iSCSI connected disk
Post here the following:
#diskinfo /dev/rdsk/c8t0d0
#diskinfo /dev/rdsk/c8t0d0
May be those devices are the "gatekeepers"..or the LUNs are locked, or not "enabled"...
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:03 AM
08-22-2005 02:03 AM
Re: pvcreate on an iSCSI connected disk
SCSI describe of /dev/rdsk/c8t0d0:
vendor: DGC
product id: CX500WDR5
type: direct access
size: 10485760 Kbytes
bytes per sector: 512
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:03 AM
08-22-2005 02:03 AM
Re: pvcreate on an iSCSI connected disk
What does diskinfo report for this disk. The I/O to the disk can also bechecked by running dd on it.
Does dd goes fine?
What is the capacity of the disk?
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:04 AM
08-22-2005 02:04 AM
Re: pvcreate on an iSCSI connected disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:05 AM
08-22-2005 02:05 AM
Re: pvcreate on an iSCSI connected disk
dd is the command to copy data from one device to another. Man dd for details.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:05 AM
08-22-2005 02:05 AM
Re: pvcreate on an iSCSI connected disk
I guess this is an EMC Disk Array, probably the LUN is read-only or locked, you will need EMC help on this .-)
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:12 AM
08-22-2005 02:12 AM
Re: pvcreate on an iSCSI connected disk
You can find out if your system can read the disk or not using
dd if=/dev/dsk/c8t0d0 of=/dev/null bs=1024K
And wheather you can write it or not by
dd if=dev/zero of=dev/dsk/c8t0d0 bs=1024K
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:13 AM
08-22-2005 02:13 AM
Re: pvcreate on an iSCSI connected disk
dd: invalid number specification in option
# dd if=dev/zero of=dev/dsk/c8t0d0 bs=1024K
dd: invalid number specification in option
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:16 AM
08-22-2005 02:16 AM
Re: pvcreate on an iSCSI connected disk
The LUN is locked or not enabled on the array side, I'm almost sure .-)
Enjoy :)
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:16 AM
08-22-2005 02:16 AM
Re: pvcreate on an iSCSI connected disk
use k instead of K in the command.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:34 AM
08-22-2005 02:34 AM
Re: pvcreate on an iSCSI connected disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:38 AM
08-22-2005 02:38 AM
Re: pvcreate on an iSCSI connected disk
If performance is too low, you should check if write cache is enabled on the disk array side, it's strange that it tooks half an our to do a pvreate...
Pedro
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:49 AM
08-22-2005 02:49 AM
Re: pvcreate on an iSCSI connected disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 02:50 AM
08-22-2005 02:50 AM
Re: pvcreate on an iSCSI connected disk
This indicates some problem if the pvcreate tokk so long. I would suggest reading the complete disk with dd and see how much it takes. It shall indicate the I/O rate as well. Another thing you could try is to create vg & file system on the disk and then mount it. Then copy some existing file system data to disk and see transfer rate.
#find /var -name "*" -print |cpio -pdmv /new_mount-point
Where your new file system is mounted at /new_mount-point.
But lokking at the symptoms I do not know how much time it will take to create the file system.
I suppose you use command line pvcreate only and not initialized media somehow which can run mediainit on the disk and could take this much time.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-22-2005 06:14 AM
08-22-2005 06:14 AM
Re: pvcreate on an iSCSI connected disk
I ran the dd right after you posted that I should use a lower case k instead of an upper case K. It still hasn't returned to a prompt.
Scott
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 03:09 AM
08-24-2005 03:09 AM
Re: pvcreate on an iSCSI connected disk
As it is reading the whole disk it may take a while. Reading a whole 10GB LUN could take a max. of 15-20 minutes. How long it took in your case to come back to a prompt?
Is there any improvement on this?
Regards,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-24-2005 04:53 AM
08-24-2005 04:53 AM
Re: pvcreate on an iSCSI connected disk
Scott