- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: command for see disk unsed
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
тАО03-09-2010 06:51 AM
тАО03-09-2010 06:51 AM
i need see the disk not used instaled in the server.
ioscan -fnC disk (all disk)
command for disk free, no installed in the Volume Group.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:02 AM
тАО03-09-2010 07:02 AM
Re: command for see disk unsed
with the help of "vgdisplay" & strings /etc/lvmtab you can find them
vgdisplay -v |more
strings /etc/lvmtab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:12 AM
тАО03-09-2010 07:12 AM
Re: command for see disk unsed
===================
ioscan -kfnC disk
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t0d0 /dev/rdsk/c1t0d0
disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c1t2d0 /dev/rdsk/c1t2d0
disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE HP 18.2GST373207LC#18
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST318404LC
/dev/dsk/c2t2d0 /dev/rdsk/c2t2d0
disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 304
/dev/dsk/c3t2d0 /dev/rdsk/c3t2d0
vgdisplay -v /dev/vg00
=========================
--- Physical volumes ---
PV Name /dev/dsk/c1t0d0
PV Status available
Total PE 4340
Free PE 134
Autoswitch On
Proactive Polling On
vgdisplay -v /dev/vg01
==========================
--- Physical volumes ---
PV Name /dev/dsk/c1t2d0
PV Status available
Total PE 4340
Free PE 2212
Autoswitch On
Proactive Polling On
PV Name /dev/dsk/c2t0d0
PV Status available
Total PE 4340
Free PE 4090
Autoswitch On
Proactive Polling On
# strings /etc/lvmtab
/dev/vg00
/dev/dsk/c1t0d0
/dev/vg01
/dev/dsk/c1t2d0
/dev/dsk/c2t0d0
As per above "ioscan -fnC disk" total 4 disk , 3 disk in used by "Volume Groups" 1 disk unsused "/dev/rdsk/c1t2d0"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:14 AM
тАО03-09-2010 07:14 AM
Re: command for see disk unsed
That is fine **IF** all disks are LVM.
What about VxVM disks? What about RAW disks not configured in a volume manager?
This is where you absolutely MUST have good documentation.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:15 AM
тАО03-09-2010 07:15 AM
Re: command for see disk unsed
> command for disk free, no installed in the Volume Group.
And do you consider a physical disk "free" if it doesn't belong to a volume group but could be 'vgimport'ed because it is a valid LVM volume?
Documentation is the only absolute key to knowing what's free and what's used.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 07:32 AM
тАО03-09-2010 07:32 AM
Re: command for see disk unsed
While good documentation is a great thing to have, it's no substitute for understanding what you're doing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-09-2010 11:45 AM
тАО03-09-2010 11:45 AM