- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Added a new disk, How to see it ?
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
Discussions
Discussions
Forums
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
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
тАО05-05-2009 08:14 AM
тАО05-05-2009 08:14 AM
Added a new disk, How to see it ?
Hi . We have added an additional disk (so it can be used for swap). I havent rebooted the server, my question is this, in solaris I would run devfsadm to pick up the new disk, what are the steps to firstly see the new disk and to start using it ? What device name wouldit have? Thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:25 AM
тАО05-05-2009 08:25 AM
Re: Added a new disk, How to see it ?
# insf -e
# ioscan -funC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:32 AM
тАО05-05-2009 08:32 AM
Re: Added a new disk, How to see it ?
hi tinqli, thanks for the reply. I will run these commands, but i have a question, the disk which i've added, I take it is hotswappable, so no need to reboot ? and from the commands you gave, how would i identify the new disk (device name i.e c0t0d0..) which has been added ? as i dont want to mess up and choose the wrong one. Sorry if its basic question, i am new to hp-ux, although i know solaris well. pls explain..
thanks..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:41 AM
тАО05-05-2009 08:41 AM
Re: Added a new disk, How to see it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 08:55 AM
тАО05-05-2009 08:55 AM
Re: Added a new disk, How to see it ?
Check to see if maxswapchunks is set high
# pvcreate -B /dev/dsk/c#t#d# (* verify this*)
# lvcreate -C y -L 300 -n swap /dev/vg00
# swapon -p 2 /dev/vg00/swap
vi /etc/fstab
/dev/vg00/swap ... swap pri=2 0 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 09:03 AM
тАО05-05-2009 09:03 AM
Re: Added a new disk, How to see it ?
The ioscan output contains any disk with S/W state UNCLAIMED means no associated software found.
To this disk H/W path you can run #insf -H
you can also run
#pvdisplay /dev/dsk/c#t#d# to confirm that the disk is not to your VGs.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 09:04 AM
тАО05-05-2009 09:04 AM
Re: Added a new disk, How to see it ?
You don't need the '-B' for a swap disk. The '-B' is only needed if this will be a boot disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 09:11 AM
тАО05-05-2009 09:11 AM
Re: Added a new disk, How to see it ?
I think Amreek is trying to make secondary swap.Then it is not required the -B option with pvcreate.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 09:59 AM
тАО05-05-2009 09:59 AM
Re: Added a new disk, How to see it ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-05-2009 01:43 PM
тАО05-05-2009 01:43 PM
Re: Added a new disk, How to see it ?
If you don't know what disk is a new disk, you can compare the output of ioscan with the follow command:
# strings /etc/lvmtab
This is not a 100% rigth, because if you have another disk out of LVM you can have a
Another way is, if this disk is physical, not an EVA lun or another external Storage, the Hw paths of disks usually appears in front of Server. You can compare the path of physical Server and ioscan output
Regards