- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to know the disk type
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
11-27-2008 03:53 AM
11-27-2008 03:53 AM
i have one vg that i would like to remove. when i issue the autopath display command, it didn't there. how to know this disk is belong to which type of disk? internal disk, san storage disk? if san storage, need to unpresent from the san storage etc
--- Physical volumes ---
PV Name /dev/dsk/c5t0d0
PV Status available
Total PE 7449
Free PE 1
Autoswitch On
hope to hear from you. thank you
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 03:56 AM
11-27-2008 03:56 AM
Re: how to know the disk type
os type is:
B.11.11 U 9000/800
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 03:57 AM
11-27-2008 03:57 AM
Re: how to know the disk type
Use ioscan -fnC disk
the output gives internal disk or Storage connected.
ie either EMC/HP.....
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 04:15 AM
11-27-2008 04:15 AM
Solution>>>PV Name /dev/dsk/c5t0d0<<<
By looking the device file it may not be a SAN disk. It could be internal or direct attached storage.
Check the ioscan output and its hardware path. You need to find the HBA of c5. If the HBA is connected to DAS then it is external disk.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 04:16 AM
11-27-2008 04:16 AM
Re: how to know the disk type
thank you. :)
disk 6 255/0/1.0.0.0 sdisk CLAIMED DEVICE Ovrl-00 Overland
REO
/dev/dsk/c5t0d0 /dev/rdsk/c5t0d0
from the output, the type is overland REO, our DAS is of that type. so its confirmed it belongs to direct attach storage.
sir,
would like to seek yr advice. if we have one vg with 2 LV and 3 physical san storage discs extension, would appreciate you can verify the steps:
1. # umount /disc20
# umount /disc21
2. # vgchange -a n /dev/vg18
3. # vgexport vg18
PV Name /dev/dsk/c14t1d0
PV Name /dev/dsk/c16t1d0 Alternate Link
PV Name /dev/dsk/c10t1d0 Alternate Link
PV Name /dev/dsk/c12t1d0 Alternate Link
4. then I unpresent from the disc the HP EVA
5. # ioscan -funC disk
6. # autopath display
7. # autopath discover
8. # autopath delete 6005-08B4-0010-491E-0000-E000-01F9-0000
and finally delete all the delete all the (3*4 path for each disk=12 path)
9. # rmsf -a /dev/dsk/cXXtXd0
10. # rmsf -a /dev/dsk/cXXtXd0
11. # rmsf -a /dev/dsk/cXXtXd0
12. # rmsf -a /dev/dsk/cXXtXXd0
13. # rmsf -a /dev/dsk/cXXtXd0
14. rmsf -a /dev/dsk/cXXtXd0
15. # rmsf -a /dev/dsk/cXXtxd0
16. # rmsf -a /dev/dsk/cXXtxd0
17. # rmsf -a /dev/dsk/cXXtxd0
18. # rmsf -a /dev/dsk/cXXt4d0
19. # rmsf -a /dev/dsk/cXXt3d0
20. rmsf -a /dev/dsk/cXXtXd0
would appreciate u can verify the steps. than k you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 04:19 AM
11-27-2008 04:19 AM
Re: how to know the disk type
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 06:23 AM
11-27-2008 06:23 AM
Re: how to know the disk type
Your steps looks good. I don't find anything wrong in it.
>>>>interesting. how to know the the HBA of c5?<<<
Very simple. Just issue this command.
#ioscan -fnC ext_bus
Look at the scsi adapter which is having instance number(I) 5 will be the C5 controller.
You can see more elebroate details with "ioscan -fn |more" command.
One more thing. if you want to remove all the device presented to specific hardware path, then run rmsf -H
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 07:05 PM
11-27-2008 07:05 PM
Re: how to know the disk type
i would like to hardware path of the disk,
1. # ioscan -fnC disk
check the device file (/dev/dsk/c36t4d6) and hardware path (1/0/14/0/0.1.33.0.0.4.6) that match with the vgdisplay -v vg18 ouput
# ioscan -fnH 1/0/14/0/0.1.33.0.0.4.6
Class I H/W Path Driver S/W State H/W Type Description
=========================================================================
disk 319 1/0/14/0/0.1.33.0.0.4.6 sdisk CLAIMED DEVICE HP HSV210
/dev/dsk/c36t4d6 /dev/rdsk/c36t4d6
would like to confirm my understanding:
rmsf -H 1/0/14/0/0.1.33.0.0.4.6 instead of delete one by one:
9. # rmsf -a /dev/dsk/cXXtXd0
10. # rmsf -a /dev/dsk/cXXtXd0
11. # rmsf -a /dev/dsk/cXXtXd0
12. # rmsf -a /dev/dsk/cXXtXXd0
13. # rmsf -a /dev/dsk/cXXtXd0
14. rmsf -a /dev/dsk/cXXtXd0
15. # rmsf -a /dev/dsk/cXXtxd0
16. # rmsf -a /dev/dsk/cXXtxd0
17. # rmsf -a /dev/dsk/cXXtxd0
18. # rmsf -a /dev/dsk/cXXt4d0
19. # rmsf -a /dev/dsk/cXXt3d0
20. rmsf -a /dev/dsk/cXXtXd0
sir, the hardware path is unique rite?
hope to hear from you. thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-27-2008 07:29 PM
11-27-2008 07:29 PM
Re: how to know the disk type
Yes, you are right,
Thnx
Johnson
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 08:11 PM
12-17-2008 08:11 PM
Re: how to know the disk type
i have removed the hardware path, but when i issue ioscan -fnC disk, it still there. but the /dev/rdsk no more already. is it because we haven't claimed/unpresent the DAS from the server?
hope to hear from you. thank you
#rmsf -H 55/0/1.0.0.0
ioscan -fnC disk
disk 6 255/0/1.0.0.0 sdisk CLAIMED DEVICE Ovrl-00 Overland REO
# ioscan -fnH 255/0/1.0.0.0
Class I H/W Path Driver S/W State H/W Type Description
==========================================================================
disk 6 255/0/1.0.0.0 sdisk CLAIMED DEVICE Ovrl-00 Overland REO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 09:25 PM
12-17-2008 09:25 PM
Re: how to know the disk type
Now can you check the drivers are available in the /dev/rdsk/....,/dev/dsk/.... locations.
use lssf command to check the same.
Thanks,
Analyst.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 09:51 PM
12-17-2008 09:51 PM
Re: how to know the disk type
from this output, i can't see the /dsk and /rdsk anymore. how to use the lssf command? hope to hear from you
# ll /dev/*/group
0x000000 Jun 10 2006 /dev/vg00/group
crw-rw-rw- 1 root sys 64 0x0a0000 Jul 13 2005 /dev/vg10/group
crw-rw-rw- 1 root sys 64 0x140000 Apr 15 2006 /dev/vg20/group
crw-rw-rw- 1 root sys 64 0x150000 Apr 15 2006 /dev/vg21/group
crw-rw-rw- 1 root sys 64 0x160000 Apr 15 2006 /dev/vg22/group
crw-rw-rw- 1 root sys 64 0x170000 Apr 15 2006 /dev/vg23/group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 10:02 PM
12-17-2008 10:02 PM
Re: how to know the disk type
Apple,
Use the command
Display stale device special files:
lssf -s
Display Critical Resource Analysis information for /dev/disk/disk7:
lssf -c /dev/disk/disk7
And please go thru the files
/dev/config -I/O system special file
/etc/ioconfig -I/O system configuration database
/etc/ext_ioconfig-I/O system configuration database
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 10:03 PM
12-17-2008 10:03 PM
Re: how to know the disk type
Do ( #man lssf ) from there you can see more example.
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-17-2008 10:16 PM
12-17-2008 10:16 PM
Re: how to know the disk type
if the file /dsk and rdsk is not there anymore, coz just now i deleted the hardware path. but wondering when when i issue ioscan -fnC disk and i can still see the the overland is claimed. is it because we did not unpresent the overland disk? hope to hear from you.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-19-2008 12:54 AM
12-19-2008 12:54 AM
Re: how to know the disk type
>>>>>>>>because we did not unpresent the overland disk <<<<<<<<<<<<<<<<<,
Yes you are Right,
you need to un-present disks "from you storage " to required Host,
than run
insf -e
ioscan -fnC disk
Thanks,
Johnson