- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.00 : Volume Group Creation w/8k Block Siz...
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
02-20-2003 06:02 AM
02-20-2003 06:02 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:08 AM
02-20-2003 06:08 AM
SolutionThe range for the PE size is from 1 to 256 Mo.
To create a fs wiyh largefile option :
newfs -F vxfs -o largefiles /dev/vgxx/rlvolxx
To check :
fsadm -F vxfs /
Regards,
Fr??d??ric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:13 AM
02-20-2003 06:13 AM
Re: HPUX 11.00 : Volume Group Creation w/8k Block Size, Largefiles Enable
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:16 AM
02-20-2003 06:16 AM
Re: HPUX 11.00 : Volume Group Creation w/8k Block Size, Largefiles Enable
# vgcreate -s 8 -n vg_name /dev/dsk/c... /dev/dsk/c...
to verify if the lvol (filesystem) is already configured for largefiles:
# fstyp -v /dev/vgXY/lvolX | grep f_flag
---> 16= largefiels
0 = no largefiles
modify an existing filesystem for largefiles:
# fsadm -F
# mount -F vxfs -o largefiles /dev/[vg]/[lvol]/[mountpoint]
create a new filesystem with largefile option:
# newfs -F vxfs -o largefiles /dev/[vg]/[rlvol]
# mount -F vxfs -o largefiles /dev/[vg]/[lvol]/[mountpoint]
edit /etc/fstab and add the largefile option:
/dev/vgxx/lvolx /[mountpoint] vxfs delaylog,largefiles 0 2
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 06:21 AM
02-20-2003 06:21 AM
Re: HPUX 11.00 : Volume Group Creation w/8k Block Size, Largefiles Enable
You are confusing volume groups and filesystems.
Volume groups have a Physical Extent size (PE), the default is 4Mb.
Filesystems have a blocksize (default 1Kb) and largefiles capability.
To create a filesystem with 8Kb blocksize and largefiles, use:
newfs -F vxfs -o largefiles -b 8192 /dev/vg??/rlvol?
Where /dev/vg??/lvol? is the name of a logical volume.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 03:49 PM
02-20-2003 03:49 PM
Re: HPUX 11.00 : Volume Group Creation w/8k Block Size, Largefiles Enable
to create largefile enabled filesystem, you can newfs the lv with -o largefiles option.
for 8k block size you also give -b 8192 option in newfs with -o largefiles option.
To check lvol if it has largefiles enabled or not, just run
fsadm -F vxfs /mountpoint
where that lv is mounted. it will tell if the filesystem supports largefiles or not.
fstype -v /dev/VGXX/lvolX will show the block size , see f_bsize parameter there.
And your question, how lvm enables largefiles, internally I do not know, in case of vxfs, i think it may be allowing unlimited extents or in HFS case it may be allowing many redirection for block allocation for a file, but this is just a guess, I think HP LVM engineer needs to step in here...
hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-20-2003 04:09 PM
02-20-2003 04:09 PM
Re: HPUX 11.00 : Volume Group Creation w/8k Block Size, Largefiles Enable
As pointed by others, you got confused with block size and the extent size. To specify extent size you would use -s option with vgcreate. -b with newfs if you intended block size. I would not suggest deviating from the default block size (f_frsize) as there would be no gain plus will consume extra overhead on the space as the minimum block it will reserve would be 8k.
An interesting way of checking if a file system is enabled for largefiles or not use mkfs ( I am serious) command with -m option.
mkfs -m /dev/vg01/lvol1
It will printout the line that contains the options of previous mkfs commands and will show you if largefiles option was previously used.
-Sri