- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Raw disk with large file support
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
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
тАО06-18-2003 11:37 AM
тАО06-18-2003 11:37 AM
I have a 9.1 Gb disk (/dev/dsk/c0t5d0) in a K460 HP-UX 11.0 (64bit) with INFORMIX ids 9.40. I want the entire disk to be a raw device with large file support enabled.
Do I need to create a logical volume and then not mount it?
Would the correct steps be:
# pvcreate -f /dev/rdsk/c0t5d0
# mkdir /dev/vg03
# cd /dev/vg03
# mknod group c 64 0X01000
# vgcreate vg03 /dev/dsk/c0t5d0
# lvcreate -L 8672 /dev/vg03
# mkfs -F vxfs -o largefiles /dev/vg03/rlvol1
# newfs -F vxfs -o largefiles /dev/vg03/rlovl1
Would I need to add anything to /etc/fstab to ensure that large file support is enabled following reboots?
Any advice, comments, clarification would be greatly appreciated.
Thank you,
Scott
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 11:46 AM
тАО06-18-2003 11:46 AM
Solutionmknod /dev/vg03/group c 64 0x010000
pvcreate /dev/rdsk/c0t5d0 vgcreate /dev/vg03 /dev/rdsk/c0t5d0
lvcreate -L 8672 -i 3 -I 64 -n rvol1 /dev/vg03
newfs -F vxfs -o largefiles /dev/vg03/rvol1
/etc/fstab
/dev/vg03/rvol1 /rvol1 vxfs rw,suid,largefiles,delaylog,datainlog 0 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 11:46 AM
тАО06-18-2003 11:46 AM
Re: Raw disk with large file support
You *can* create a file system on the logical volume, but then it is no longer considered raw (some call it "cooked").
HTH
Marty
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 11:49 AM
тАО06-18-2003 11:49 AM
Re: Raw disk with large file support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 11:56 AM
тАО06-18-2003 11:56 AM
Re: Raw disk with large file support
You managed to totally confuse me as well. Is it largefiles or raw disks? The two have absolutely nothing to do with each other. If you are using raw disks then a filesystem doesn't even come into the picture and thus the largefile mount option is meaningless.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 12:05 PM
тАО06-18-2003 12:05 PM
Re: Raw disk with large file support
If you are going to use it as a raw disk (using the device file /dev/vg03/rlvol1), then you do not need to bother about large files.
If your plan is to use the filesystem (using the device file /dev/vg03/lvol1 by mounting it on some directory), then your method is correct. You do not need to add anything to the fstab. If largefiles is enabled, it will be mounted with it by default. TO verify it do the following.
#mkdir /test
#mount /dev/vg03/lvol1 /test
#mkfs -m /dev/vg03/lvol1
It should printout whether the filesystem is with largefiles or not.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 12:10 PM
тАО06-18-2003 12:10 PM
Re: Raw disk with large file support
This must be a misunderstanding. If an application (e.g. uses a raw device the OS dont bother about the structure on this device. From HP-UX point ov view it is only a large bunch of bytes. It is up to the application how it is used.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 12:15 PM
тАО06-18-2003 12:15 PM
Re: Raw disk with large file support
If I understand Sri & Clay correctly I am making a mountain out of a molehill. A dba-type helping me convert an Informix database wants to use raw disk but then said that large file support needed to be enabled on the device because the combined size of all the tables will be greater than 2Gb.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-18-2003 12:35 PM
тАО06-18-2003 12:35 PM
Re: Raw disk with large file support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-19-2003 05:50 AM
тАО06-19-2003 05:50 AM
Re: Raw disk with large file support
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xf75228c64656d71190080090279cd0f9,00.html
Since you mentioned that a dba-type started you on this path he/she may want to read it also.