- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to find the raw logical volume in all HPUX
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
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
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
тАО09-05-2010 11:24 PM
тАО09-05-2010 11:24 PM
how to find the raw logical volume in all HPUX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2010 11:36 PM
тАО09-05-2010 11:36 PM
Re: how to find the raw logical volume in all HPUX
/dev/vgname/rlvolname
is the raw LV.
Raw LV is like the LV which does not have any file system.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2010 11:42 PM
тАО09-05-2010 11:42 PM
Re: how to find the raw logical volume in all HPUX
is there any commands to find that raw logical volume in the servers.
please give the details.
Thanks in Advance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-05-2010 11:53 PM
тАО09-05-2010 11:53 PM
Re: how to find the raw logical volume in all HPUX
vgdisplay -v | grep "LV Name" | awk '{ print $3 }' | while read lv
do
dir=$(dirname $lv)
lvname=$(basename $lv)
echo "${dir}/r${lvname} : \c"
fstyp ${dir}/r${lvname}
done
On a little demo system I have here it produces this output:
/dev/vg00/rlvol1 : vxfs
/dev/vg00/rlvol2 : unknown_fstyp (no matches)
/dev/vg00/rlvol3 : vxfs
/dev/vg01/rlvol10 : vxfs
So the only "raw" volume here (by your definition, i.e. one without a filesystem) is /dev/vg00/rlvol2 - which in fact is my swap volume)
HTH
Duncan
I am an HPE Employee

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2010 12:06 AM
тАО09-06-2010 12:06 AM
Re: how to find the raw logical volume in all HPUX
I think there is no direct command which will list the raw LVs.
Compare your #vgdisplay -v vgname with the #bdf output .
Check is there any LV which is not mounted.
Confirm with the entries in fstab.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-06-2010 06:55 AM
тАО09-06-2010 06:55 AM
Re: how to find the raw logical volume in all HPUX
As a system administrator, you'll have to identify and special programs that use raw volmes. Since /etc/fstab is a common place to look for mounted filesystems, I usually put the raw volumes into the file as a comment:
## /dev/vg03/rlvol3 - used by Oracle db41
Another technique is to name the raw lvols with a meaningful (not lvol##):
## /dev/vg03/rora27 - used by Oracle db6
/etc/fstab will also document raw volumes used for swap space.
Bill Hassell, sysadmin