- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Identifying a raw device file
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-30-2010 04:40 AM
тАО03-30-2010 04:40 AM
Identifying a raw device file
Need help in identify a raw device file in Unix.
There is an logical volume /dev/vgdb/lvol1 which has no file-system mounted, but has many process associated with this volume when I do an fuser -u /dev/vgdb/lvol1.
How do I identify that this is a raw device file.
There are no oracle databases running on the server. There is one more logical volume - /dev/vgdb/lvora which is mounted & also shows the same process as that for /dev/vgdb/lvol1.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 05:27 AM
тАО03-30-2010 05:27 AM
Re: Identifying a raw device file
fstyp /dev/vg/rlvol (* note the 'r'lvol *)
If its not vxfs or hfs then it's raw for it hasn't been 'newfs'd
ls -ld /dev/vg/rlvol - if its not owned by root but is by an application or database
lvdisplay -v /dev/vg/lvol
from the application or database.
NoTE: This is the whole point of using raw lvols, to give control to the application or database. So why wouldn't you be able to see what you need from here?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-30-2010 05:31 AM
тАО03-30-2010 05:31 AM
Re: Identifying a raw device file
> How do I identify that this is a raw device file.
Do:
# ls -l filename
Something like:
crw-r----- 1 root sys 64 0x010001 Feb 17 15:11 /dev/vg01/rlvol1
...is a raw device file. The 'c' signifies a character (raw) device file.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-31-2010 01:51 AM
тАО03-31-2010 01:51 AM
Re: Identifying a raw device file
vxfs
# ls -ld /dev/vgdb/rlvol1
crw-r----- 1 root sys 64 0x010001 Nov 20 13:57 /dev/vgdb01/rlvol1
# cd /dev/vgdb
# ll
total 0
crw-r--r-- 1 root sys 64 0x010000 Nov 20 13:53 group
brw-r----- 1 root sys 64 0x010001 Nov 20 13:57 lvol1
brw-r----- 1 root sys 64 0x010001 Nov 20 13:57 lvora1
crw-r----- 1 root sys 64 0x010001 Nov 20 13:57 rlvol1
crw-r----- 1 root sys 64 0x010001 Nov 20 13:57 rlvora1
fuser -u /dev/vgdb01/lvol1 --> shows processes associated with this lv.
These are the same process that are also associated with /dev/vgdb01/lvora1.
/dev/vgdb01/lvol1 is not mounted & doesn't have any file-system associated with this LV.
I am unable to remove this lv as it shows "sparing operation in progress"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-01-2010 08:31 AM
тАО04-01-2010 08:31 AM
Re: Identifying a raw device file
It's strange that your ls -ld command showed your lvol mapped to a different volume group.
what is the output of vgdisplay -v /dev/vgdb01?
If you do not need vgdb01 you could consider trying a vgexport of that volume group.
this thread may be of some reference:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=72437