- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: largefiles option missing in fstab
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
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
тАО03-12-2009 09:22 AM
тАО03-12-2009 09:22 AM
I have a question about filesystems on HP-UX 11.11. After creating filesystem with тАШlargefilesтАЩ option everything on the screen looks Ok but /etc/fstab is not showing тАШlargefilesтАЩ. Have I done something wrong? Missed any steps?
Create Logical volume:
# lvcreate -L 130000 -n cucc2data vg05
Logical volume "/dev/vg05/cucc2data" has been successfully created with
character device "/dev/vg05/rcucc2data".
Logical volume "/dev/vg05/cucc2data" has been successfully extended.
Volume Group configuration for /dev/vg05 has been saved in /etc/lvmconf/vg05.conf
Create filesystem with largefilesystem option:
# newfs -F vxfs -o largefiles /dev/vg05/rcucc2data
version 4 layout
133120000 sectors, 16640000 blocks of size 8192, log size 256 blocks unlimited inodes, largefiles supported
16640000 data blocks, 16639080 free data blocks
508 allocation units of 32768 blocks, 32768 data blocks
last allocation unit has 26624 data blocks
Verify filesystem:
# mkfs -F vxfs -m /dev/vg05/rcucc2data
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=4,inosize=256,logsize=256,largefiles /dev/vg05/rcucc2data 133120000
# fsadm /cucc2data
fsadm: /etc/default/fs is used for determining the file system type
largefiles
Mount newly created filesystem:
# cd /
# mkdir /cucc2data
# mount /dev/vg05/cucc2data /cucc2data
# bdf | grep cucc2data
/dev/vg05/cucc2data
133120000 60754280 71800408 46% /cucc2data
Update /etc/fstab file:
# cp fstab fstab.13012009
# mount -p > /etc/fstab
# more fstab
/dev/vg00/lvol3 / hfs defaults 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 0
/dev/vg01/lvol3 /work_ftp vxfs log,largefiles 0 0
/dev/vg00/lvol7 /var hfs defaults 0 0
/dev/vg00/lvol10 /var/adm/sw hfs defaults 0 0
/dev/vg00/lvol9 /var/adm/crash hfs defaults 0 0
/dev/vg00/lvol6 /usr hfs defaults 0 0
/dev/vg04/lvol2 /unicenter vxfs log,largefiles 0 0
/dev/vg00/lvol5 /tmp hfs defaults 0 0
/dev/vg00/lvol14 /tivoli vxfs delaylog,largefiles 0 0
/dev/vg00/lvol12 /stand2 hfs largefiles 0 0
/dev/vg04/lvol1 /software vxfs log,largefiles 0 0
/dev/vg02/lvol1 /relay vxfs log,largefiles 0 0
/dev/vg00/lvol11 /prod_data vxfs delaylog,largefiles 0 0
/dev/vg00/lvol13 /patches vxfs delaylog,largefiles 0 0
/dev/vg00/lvol4 /opt hfs defaults 0 0
/dev/vg03/lvol1 /nbapp vxfs log,largefiles 0 0
/dev/vg00/lvol15 /logs vxfs delaylog,largefiles 0 0
/dev/vg00/lvol8 /home hfs defaults 0 0
/dev/vg01/lvol6 /data2 vxfs delaylog,largefiles 0 0
/dev/vg01/lvol5 /cucc3 vxfs log,largefiles 0 0
/dev/vg02/lvol2 /cucc2 vxfs log,largefiles 0 0
/dev/vg01/lvol1 /cucc vxfs log,largefiles 0 0
/dev/vg01/lvol2 /bank_cgi vxfs log,largefiles 0 0
/dev/vg05/cucc2data /cucc2data vxfs log 0 0
Why I am missing attribute тАЬlargefilesтАЭ for cucc2data in /etc/fstab?
Thanks in advance for all help.
Solved! Go to Solution.
- Tags:
- largefiles
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:31 AM
тАО03-12-2009 09:31 AM
SolutionThe 'largefiles' or 'nolargefiles' option as placed in '/etc/fstab' _only_ tells you the intention at mount-time. That is, if 'nolargefiles' is set there, and you try to mount a fileystem with a 'largefiles' bit set, the mount fails.
You can add the setting as a doumentary thing if you want, but it's the underlying filesystem setting that matters. Using the 'mkfs -m' to test an easy verification.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:40 AM
тАО03-12-2009 09:40 AM
Re: largefiles option missing in fstab
Here is verification:
# mkfs -m /dev/vg05/cucc2data
mkfs -F vxfs -o ninode=unlimited,bsize=8192,version=4,inosize=256,logsize=256,largefiles /dev/vg05/cucc2data 133120000
Thank you James very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:43 AM
тАО03-12-2009 09:43 AM
Re: largefiles option missing in fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:58 AM
тАО03-12-2009 09:58 AM
Re: largefiles option missing in fstab
Thank you for additional information.
I wanted 'largefiles' option and I was using command line to create that filesystem. As James explained, everything is in order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 10:23 AM
тАО03-12-2009 10:23 AM
Re: largefiles option missing in fstab
This is not true. You don't need Online JFS (or umount) to change to large files. Just:
fsadm -F vxfs -o largefiles device
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 11:42 AM
тАО03-12-2009 11:42 AM
Re: largefiles option missing in fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-12-2009 09:15 PM
тАО03-12-2009 09:15 PM
Re: largefiles option missing in fstab
You can use SAM for that, or if large file supported then you manually Enter in fstab file. It will auto sync when system will restart.
Regards,
Gokul Chandola