- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: identifying the new 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
12-13-2007 06:38 AM
12-13-2007 06:38 AM
identifying the new disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 06:42 AM
12-13-2007 06:42 AM
Re: identifying the new disk.
Run ioscan before you attach a disk and after you atteched the disk.
# ioscan -fnCdisk > /tmp/ioscan.001
Instert the new disk
# ioscan -fnCdisk > /tmp/ioscan.002
# diff /tmp/ioscan.001 /tmp/ioscan.002
Regards,
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 06:42 AM
12-13-2007 06:42 AM
Re: identifying the new disk.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 06:50 AM
12-13-2007 06:50 AM
Re: identifying the new disk.
- compare ioscan -fn before and after
the smart and clever method:
- calculate the hardware path!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 06:51 AM
12-13-2007 06:51 AM
Re: identifying the new disk.
if you assign a disk to a running system, you will most likely see **NO** device file for this disk - only the path.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 08:12 AM
12-13-2007 08:12 AM
Re: identifying the new disk.
run ioscan -nfCdisk. output for the new disk is without path disk. to see the new path disk, run "insf -H hardware_path".
-yut-
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 08:32 AM
12-13-2007 08:32 AM
Re: identifying the new disk.
No, you will see the hardware path, but no device file if you attach the disk to a running system (device file will be created if you reboot the box or if you run insf).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 12:17 PM
12-13-2007 12:17 PM
Re: identifying the new disk.
ls -lrt /dev/dsk/
newly created address are your new disks ..
be careful in any case.
Hasan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 09:15 PM
12-13-2007 09:15 PM
Re: identifying the new disk.
hi,
using ioscan -kfC disk (this will be your original device) ioscan is read from kernel
now ioscan -fnC disk (this will detect a new device/scanning)
hope this help
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2007 10:12 PM
12-13-2007 10:12 PM
Re: identifying the new disk.
ls -lrt /dev/dsk/
New disk would be listed in last.
Hope this would help !!!
BR,
Kapil