- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- raw volume creation
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
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
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
08-11-2009 03:11 AM
08-11-2009 03:11 AM
I need a help in creating raw volume.
Db team has a raw volume of 1GB.They dropped the same from DB.They want to delete the same and attach to different DB.
Plz tell me the steps to delete the raw volume and creating a new one.
1. Since raw volume is dropped from DB,we can do the deletion online ?
2. We need to create new raw volume with same size and to be attached with another DB.Can we do it online?
3. Any risk around this?
Quick response is highly appreciated
Regards
himacs
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:14 AM
08-11-2009 03:14 AM
Re: raw volume creation
Once the raw volume is dropped from the DB, then the data cannot be accessed. If you still need to remove and recreate the raw volume follow these steps.
#lvremove /dev/vgname/lvname
create the raw volume again.
#lvcreate -L
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:23 AM
08-11-2009 03:23 AM
Re: raw volume creation
Thanx for the reply..
Can i do it online?
And newfs is required?
and while creating LV ,we need to give 'r' with LV name?
ex: lvcreate -L 1024 -n rvol.dbf /dev/vgdb
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:32 AM
08-11-2009 03:32 AM
Re: raw volume creation
"newfs" is not needed since you want to have a "raw" device.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:36 AM
08-11-2009 03:36 AM
Re: raw volume creation
Thanx for the reply..
Please tell me how to reuse the same with another DB..
and we need to bring down the DB while attaching new raw volume..
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:39 AM
08-11-2009 03:39 AM
Re: raw volume creation
"newfs" is nothing to do with raw volume. "newfs" is to create filesystem on raw logical volume.
>>and while creating LV ,we need to give 'r' with LV name?<<
No. When you create new LV both block and raw devices will be created.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:43 AM
08-11-2009 03:43 AM
Re: raw volume creation
>>Please tell me how to reuse the same with another DB..
and we need to bring down the DB while attaching new raw volume.<<
Just give the name of raw device file name of the lv(Ex:/dev/vg01/rlvol1) to DBA's. They will use that device.
No need to bring down the DB while attaching new raw volumes.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:44 AM
08-11-2009 03:44 AM
Re: raw volume creation
/dev/vgdb/rlvol1
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 03:56 AM
08-11-2009 03:56 AM
Re: raw volume creation
Thanx for the replies..
I had a discussion with DB team..
They want to rename the raw volume...
if renaming done we can use the same raw volume with another DB without removing and recreating stuffs..
How to rename the raw volume
Regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 04:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 04:27 AM
08-11-2009 04:27 AM
Re: raw volume creation
>>How to rename the raw volume<<
LVM will not refer the lv's with it's name. It refer with it's major/minor numbers. So changing the LV name is simple and will not affect anything.
If the lv is not currently used, just follow these steps.
# mv /dev/vg01/lvol1 /dev/vg01/lvdata
# mv /dev/vg01/rlvol1 /dev/vg01/rlvdata
/dev/vg01/lvol1 is an example. Put the appropriate lv names
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 04:33 AM
08-11-2009 04:33 AM
Re: raw volume creation
Thanx for the answers..
Now m creating new POA based with raw volume renaming.So that ther is no need of removing and re-creating.
As my server is clustered one,need i change any configurations in /etc/cmcluster/pkg/pkg.sdf.sh ?
As this activity involves big heads in the loop
i want to clear all my doubts..
regards
himacs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 04:42 AM
08-11-2009 04:42 AM
Re: raw volume creation
If the raw volume being renamed is part of cluster VG, just edit the paackage control script to reflect the changes. You have to change it under FILESYSTEMS sub-section. Entries will look like this..
LV[0]="/dev/vg01/lvol1"; FS[0]="/u01"; FS_MOUNT_OPT[0]="-o rw"
LV[1]="/dev/vg01/lvol2"; FS[1]="/oraexp"; FS_MOUNT_OPT[1]="-o rw"
LV[2]="/dev/vg01/lvol3"; FS[2]="/archive"; FS_MOUNT_OPT[2]="-o rw"
Note that, you have to make the changes on all the nodes.
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 05:03 AM
08-11-2009 05:03 AM
Re: raw volume creation
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-11-2009 05:13 AM
08-11-2009 05:13 AM
Re: raw volume creation
Thanx for ur support..
So the activity is very simple..
1. rename raw volume under /dev/vg_db
mv rrdb.dbf rrfs.dbf
Thats all...
/dev/vg_db already mentioned in cluster package script.
So no updation require in package script also
..
regards
himacs