- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Raw logical volume for sybase
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
05-16-2009 03:35 PM
05-16-2009 03:35 PM
my dba team request me to provide them new raw logical volume in hpux for sybase purposes. The request as below:
a) 2 GB ( for Data)
b) 1 GB (for Log)
The problem is, i have done create lv and give sybase permission to lv
# lvcreate -L 2000 -n lvol24 vg02
# lvcreate -L 1000 -n lvol25 vg02
# chown sybase:sybase rlvol24
# chown sybase:sybase rlvol25
# ls -la
brw-r----- 1 root sys 64 0x020016 May 15 15:57 lvol24
brw-r----- 1 root sys 64 0x020017 May 17 07:26 lvol25
crw-r----- 1 sybase sybase 64 0x020016 May 15 15:57 rlvol24
crw-r----- 1 sybase sybase 64 0x020017 May 17 07:26 rlvol25
but dba having problem to allocate the space to the database device. Error:
1> disk init name="cifdata3", physname="/dev/vg02/rlvol24", vdevno=43,
1> size=512000
2> go
Msg 5115, Level 16, State 1:
Server 'IBSPROD', Line 1:
I/O error during disk initialization. PHYSNAME '/dev/vg02/rlvol24' may be incorrect or 1023999 (VSTART + SIZE) may exceed the size of the device. Please consult the SQL Server error log for more details.
1) Can expert out site there tell me what is went wrong with my lv. Is it correct the step to create raw lv for sybase/db purposes?
2) Do i need to newfs the lv?
3) Search in forum and found raw divice means logical volume without defining fstype(vxfs, hfs...). But how to create it without define fstype. I create the lv and check using fstyp and found out it automatically define the lv type as vxfs.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2009 04:46 PM
05-16-2009 04:46 PM
Solution1. Make the block devices lvol24, lvol25 owned by sybase:sybase. I don't know if it is required but just to be safe.
2. Verify the size of the volumes with "lvdisplay -v /dev/vg02/lvol24" and for "lvol25".
3. Verify that there are no write errors on the volumes by performing a write test
"dd if=/dev/zero of=/dev/vg02/rlvol24 bs=1024k"
Repeat for rlvol25.
4. Ask the dba to check that the "512000" he is using multiplied by the sybase block size which he/she should know what it is, does not exceed the lvol size. Ask the dba to use a smaller number such as "size=100" etc.
5. You are correct there is no need to do "newfs"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2009 04:51 PM
05-16-2009 04:51 PM
Re: Raw logical volume for sybase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2009 05:35 PM
05-16-2009 05:35 PM
Re: Raw logical volume for sybase
root@edsprod:[/dev/vg02]
>> dd if=/dev/zero of=/dev/vg02/rlvol24 bs=1024k
I/O error
2001+0 records in
2000+1 records out
root@edsprod:[/dev/vg02]
>> dd if=/dev/zero of=/dev/vg02/rlvol25 bs=1024k
I/O error
1001+0 records in
1000+1 records out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2009 06:12 PM
05-16-2009 06:12 PM
Re: Raw logical volume for sybase
By the way, for question no 3) Search in forum and found raw divice means logical volume without defining fstype(vxfs, hfs...). But how to create it without define fstype. I create the lv and check using fstyp and found out it automatically define the lv type as vxfs.
Is there anyone know about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2009 05:53 AM
05-17-2009 05:53 AM
Re: Raw logical volume for sybase
You can go ahead and newfs the volumes with vxfs or hfs if it makes you feel better, it does not make any difference. When the sybase dba initializes the lvols with the "disk init" command, sybase overlays them with whatever structure they are using and destroys any vxfs or hfs structure that was there before.
Did you check all the other items I mentioned?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2009 01:02 PM
05-17-2009 01:02 PM
Re: Raw logical volume for sybase
1. Done make block device as sybase:sybase
2. Done verify the size of the volumes
3. Done verify that there are no write errors on the volumes
4. Already ask DBA about "512000". I will let you know the result.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2009 06:08 PM
05-17-2009 06:08 PM
Re: Raw logical volume for sybase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2009 11:47 PM
05-17-2009 11:47 PM
Re: Raw logical volume for sybase
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2009 12:02 AM
05-18-2009 12:02 AM