- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- convert a "largefiles" file system to a "nolargefi...
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
01-06-2006 04:33 AM
01-06-2006 04:33 AM
HP-UX 11.11
2 file systems: / (vxfs) and /stand (hfs)
without OnlineJFS
my failed attempt:
added "nolargefiles" in /etc/fstab
rebooted
running "fsadm" still shows / as "largefiles"
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 04:44 AM
01-06-2006 04:44 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
fsadm -o nolargefiles /dev/vgXX/lvolXX
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 04:56 AM
01-06-2006 04:56 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
You can use fsadm to conver from large files to nolargefiles, however it'll fail if there are any large files currently on the particular device.
cheers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:02 AM
01-06-2006 05:02 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
Use the fsadm command as posted.
Note: If you are largefiles on a filesystem but do not have any largefiles, there is no harm is leaving it that way.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:24 AM
01-06-2006 05:24 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:42 AM
01-06-2006 05:42 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
1st: "/" (lvol4) on this server in ~60GB ...again the only other file system is /stand (lvol1) so it has /opt stuff and so forth
2nd: i verified that / does not currently have any files even above 1GB in size let alone 2GB
3rd: i am about worried about running "fsadm -o nolargefiles /dev/vg00/rlvol4" ...could i corrupt "/"? this box would be very painful to restore
FYI: lets not discuss why there is only these two file systems (i did not make the system ....HP did if you can believe that) nor why i want to go from "largefiles" to "nolargeiles" (its a long story)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:46 AM
01-06-2006 05:46 AM
SolutionTo do the largefiles conversion (in either direction) in the absence of OnlineJFS requires that the filesystem be unmounted.
From that standpoint, you can't unmount '/' or '/stand' so you can't convert either.
Besides, '/stand' is an HFS filesystem so whether or not you have OnlineJFS is immaterial, too.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:52 AM
01-06-2006 05:52 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
Judging from Bill's comments (and I've never known him to be wrong), I would say that the only way you're going to be able to convert is to re-create the file systems, and therefore, the whole system, from scratch. Maybe you could use Ignite, but I would just as soon start over and create the system properly.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-06-2006 05:55 AM
01-06-2006 05:55 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
Ok, I just saw you second post.
First, if this vg00 configuration truly consists of only '/' and '/stand' then I'd make an Ignite recovery tape and re-ignite the server laying things back down into a standard distribution with standard mountpoints for stand logical volumes.
Second, why worry about 'nolargefiles'. Actually by adding the '-o nolargefiles' to 'etc/fstab' and rebooting you proved that (1) there were no largefiles in the filesystem. You wouldn't have been able to mount the filesystem otherwise!
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 03:08 PM
01-08-2006 03:08 PM
Re: convert a "largefiles" file system to a "nolargefiles" one
fsadm -o nolargefiles /dev/vgname/lvolname
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-08-2006 04:00 PM
01-08-2006 04:00 PM
Re: convert a "largefiles" file system to a "nolargefiles" one
If you are still fearful to run the command that *might* corrupt your file system, you can proceed as follows:
1. Create a new file system with "nolargefiles" option
2. Move the data to that new file system
3. Drop the old file system
4. remount the new file system as you would like it to be..
hope this helps too!
kind regards
yogeeraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2006 09:06 AM
01-10-2006 09:06 AM
Re: convert a "largefiles" file system to a "nolargefiles" one
sandman: the command will fail as you state ...also it will not corrupt the file system when it fails (at least in my testing)
rick: no need to address /etc/fstab ...seems best not to from my testing
bill: your statement about no "un-convert" is not correct ...i was able to test successfully making a "largefiles" file system into a "nolargefiles" one (the trick is that it can be done if there exists no files larger than 2GB)
james: addressed the heart of my problem with the production system i am helping developers on
pete: now you have known him to be wrong ...just a comment, be cautious when taking advice from anyone even exceptional admins like bill as what commonly can happen is that someone like me does not communicate clearly the problem, or they do not read all the posted details, or whatever and then their information is misleading and/or just wrong (having said that i just about always take what "olympians" recommend as the answer)
james: Ignite is what i proposed ...thx
nguyen: thx
yogeeraj: your commands would work for some file system but not the one i am dealing with since its "/"