- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: hpux commands
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
тАО07-12-2005 05:59 PM
тАО07-12-2005 05:59 PM
What is the command to view physical and logical volume on hpux 11/11i ?
How to find out which file system is being used by logical volumes ?
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:11 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:12 PM
тАО07-12-2005 06:12 PM
Re: hpux commands
vgdisplay -v vgname
lvdisplay -v 7dev/vgname/lvolname
ioscan -fnCdisk
commands can be use...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:16 PM
тАО07-12-2005 06:16 PM
Re: hpux commands
for to see PV;
for ex;
pvdisplay -v /dev/dsk/c#txdy
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:18 PM
тАО07-12-2005 06:18 PM
Re: hpux commands
see my attachment.
Good Luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 06:21 PM
тАО07-12-2005 06:21 PM
Re: hpux commands
main commands are
#pvdisplay or pvdisplay -v
describe the details of hard disk (c0t0d0s0)
#vgdisplay or vgdisplay -v
every hdd befor making lv it must come under vg.
there can be multiple hdds
#lvdisplay lvdisplay -v
this the thing which is getting mounted. A lv can be there in different hdds but only in ong VG
#fstyp /dev/vg01/lv0l2
this is the command which gives out of the file system which you are using.
bye bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 07:04 PM
тАО07-12-2005 07:04 PM
Re: hpux commands
1. For physical volume display use pvdisplay -v pv path
2. For logical volume display use lvdisplay -v lvol name
Regards
Mahesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2005 07:40 PM
тАО07-12-2005 07:40 PM
Re: hpux commands
just in case u need to know more about LVM:
http://docs.hp.com/en/B2355-90697/lvm.7.html
regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-13-2005 06:19 AM
тАО07-13-2005 06:19 AM
Re: hpux commands
lvdisplay for logical volume
bdf shows all file systems on the system expect swap
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-14-2005 11:39 AM
тАО07-14-2005 11:39 AM
Re: hpux commands
ioscan -fnC disk will show you your disk devices.
pvdisplay -v /dev/dsk/yourdiskdevice #you will get the disk device from the ioscan -fnC
diskinfo -v /dev/rdsk/yourdiskdevice #This will show you info about your disk like vendor model size serial ect
vgdisplay -v /dev/vg?? vg?? is the volume group and this will show you the vg info, size, what disks are part of it as well as the volume groups.
lvdisplay -v /dev/vg??/lvol? This will show you details about logical volumes you have.
Bdf shows what filesystems you currently have mounted.
The /etc/fstab file has what files will be automatically mouted when your system boots.