- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Can I create "largefiles" automatically?
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
06-17-2003 07:17 AM
06-17-2003 07:17 AM
I believe that at my last job we didn't have to specify this at creation of every new file system.
Can I put something in /etc/default/fs, or something?
(Now that I have been reminded about this for the 3rd or 4th time, you'd think I'd remember.)
Also, I seem to recall doing this for large files:
newfs -F vxfs -l /dev/vgXX/rlvolNN
buy, my man page says to do:
newfs -F vxfs -o largefiles /dev/vgXX/rlvolNN.
Which is it?
Does this change with different versions of VXFS?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:22 AM
06-17-2003 07:22 AM
Re: Can I create "largefiles" automatically?
You can use fsdam -o largefiles /filesystem
HTH, Vicente.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:22 AM
06-17-2003 07:22 AM
Re: Can I create "largefiles" automatically?
You can convert a filesystem to enable largefiles after it is created:
# fsadm -F hfs -o largefiles /dev/vgXX/rlvolN
# fsadm -F vxfs -o largefiles /dev/vgXX/rlvolN
Note the raw device is used.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:22 AM
06-17-2003 07:22 AM
SolutionUsed it on 11/11i and different versions of JFS (3/3.3/3.5) and it works on all of them.
/etc/default/fs is only used for filesystem type, no options. Only thing I can think of is replace your newfs program with a script which calls the real newfs program but adds on -o largefiles, but next time you install a jfs patch it may replace newfs and your back to square one. How about creating a script called newfs.sh in /usr/local/bin which checks your options and adds on -o largefiles then runs the newfs binary. Then you just need to remember to run newfs.sh when creating new filesystems.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:26 AM
06-17-2003 07:26 AM
Re: Can I create "largefiles" automatically?
You can not pass this argument by default, it has to be passed with newfs command.
but in Solaris environment you are not required this option for ufs file systems.
Sunil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-17-2003 07:34 AM
06-17-2003 07:34 AM
Re: Can I create "largefiles" automatically?
I will just remember to add the "-o largefiles" in my newfs scripts from now on.
Stuart