- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- split a raw logical 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
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
09-26-2006 03:20 AM
09-26-2006 03:20 AM
I have hp-ux11i on one of my hp box. I want to split a raw logical. volume /dev/emc4_vg08/rms_data24 which is of 2048mb into 10 files of 256mb. Is it possible? if yes how it can be done, your help will be apprecited.
Thanks
Jack
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 03:45 AM
09-26-2006 03:45 AM
Re: split a raw logical device file
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 04:07 AM
09-26-2006 04:07 AM
Re: split a raw logical device file
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 04:09 AM
09-26-2006 04:09 AM
Re: split a raw logical device file
Yes I want to split the raw logical volume of 2048mb into small no of (256mb) of raw volumes. is it possible?
Thanks
Jack
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 04:13 AM
09-26-2006 04:13 AM
Re: split a raw logical device file
I dont want to destroy the raw volume, you are right that there is no file system on it but data is there as sybase application is using it to store the data.
I want to split this volume into smaller volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 04:45 AM
09-26-2006 04:45 AM
Re: split a raw logical device file
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-26-2006 07:04 AM
09-26-2006 07:04 AM
SolutionHmm, one way of reading the question is that you want to carve up a 2048mb space into 10 'files' of 256mb. Well, methinks that shy of a minor miracle you can only get 8 times 256 out of 2048, so i guess that is not what you mean.
If you did, is would go something like
lvchange -a n /dev/emc4_vg08/rms_data24
lvremove /dev/emc4_vg08/rms_data24
lvcreate -n f1 -L 256 /dev/emc4_vg08
lvcreate -n f1 -L 256 /dev/emc4_vg08
:
lvchange -a y /dev/emc4_vg08/f1
lvchange -a y /dev/emc4_vg08/f2
:
So maybe you want to take the raw data an plunk it into real files? Easy!
dd iseek=0 bs=1024k count=256 if=rms_data24 of=/mnt/f1
dd iseek=256 bs=1024k count=256 if=rms_data24 of=/mnt/f2
dd iseek=512 bs=1024k count=256 if=rms_data24 of=/mnt/f3
:
But somehow i think you want to isolate real, usefull, data from the container that is ms_data24. Only the software which organize the data in the container, in this case sybase, know how to make sense out of it and can perhpas relocate/extract tables.
>>> I want to split this volume into smaller volumes.
May be ask WHY? What do you intent to achieve by the split? Functionality? Performance? Availability? There may be better ways to get there, but they likely involve sybase skills.
Hope this helps some,
Hein.