- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Changing /etc/fstab
Operating System - HP-UX
1753934
Members
9225
Online
108810
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
04-03-2011 03:26 PM
04-03-2011 03:26 PM
Changing /etc/fstab
Hello,
I’m trying to make a logical volume support large files (i.e. >2GB). I understand that this can be performed by modifying the /etc/fstab file. The /etc/fstab file on my server is presently as follows:
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog,quota 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/acc7ora /acc7ora vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManData /QoSManData vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManager /QoSManager vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot /depot vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot_bu /depot_bu vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
I'd like to *change* it to be as follows:
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog,quota 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/acc7ora /acc7ora vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManData /QoSManData vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManager /QoSManager vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot /depot vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot_bu /depot_bu vxfs rw,suid,largefiles,delaylog,datainlog 0 2 <----------------
Question:
Is it necessary to shut down the server to single user mode to change the /etc/fstab file? Or can the /etc/fstab file be changed at any time with the changes taking effect immediately?
Thank you.
I’m trying to make a logical volume support large files (i.e. >2GB). I understand that this can be performed by modifying the /etc/fstab file. The /etc/fstab file on my server is presently as follows:
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog,quota 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/acc7ora /acc7ora vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManData /QoSManData vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManager /QoSManager vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot /depot vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot_bu /depot_bu vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
I'd like to *change* it to be as follows:
# System /etc/fstab file. Static information about the file systems
# See fstab(4) and sam(1M) for further details on configuring devices.
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand vxfs tranflush 0 1
/dev/vg00/lvol4 /home vxfs delaylog,quota 0 2
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/acc7ora /acc7ora vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManData /QoSManData vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/QoSManager /QoSManager vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot /depot vxfs rw,suid,nolargefiles,delaylog,datainlog 0 2
/dev/vg00/depot_bu /depot_bu vxfs rw,suid,largefiles,delaylog,datainlog 0 2 <----------------
Question:
Is it necessary to shut down the server to single user mode to change the /etc/fstab file? Or can the /etc/fstab file be changed at any time with the changes taking effect immediately?
Thank you.
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-03-2011 03:40 PM
04-03-2011 03:40 PM
Re: Changing /etc/fstab
Hi:
> Iâ m trying to make a logical volume support large files (i.e. >2GB). I understand that this can be performed by modifying the /etc/fstab file.
No, that is absolutely wrong. The 'largefiles' bit of the filesystem itself enables largefiles to be created when set. If not set, no largefiles are allowed. You can enable largefiles with 'fsadm', as for example:
# fsadm -o largefiles /mountpoint
The mount option 'largefiles' or 'nolargefiles' in '/etc/fstab' if used at all must match the underlying setting of the filesystem in order for a mount request to succeed. In that sense it is purely documentary.
> Is it necessary to shut down the server to single user mode to change the /etc/fstab file? Or can the /etc/fstab file be changed at any time with the changes taking effect immediately?
You can edit and save the 'fstab' file at any time. If you havedadded a new mountpoint, one easy way to handle it is to modify 'fstab' and issue a 'mount -a' to mount your new filesystem. This also checks the change you made to 'fstab' for the next time (usually at a boot/startup) that the file will be processed.
If you are changing the mount options of a filesystem, either unmount it and handle the modified options by doing a 'mount -a' or use the '-o remount' option for the filesystem at a command line for 'mount'. See the manpages for 'mount_vxfs' for more information.
Regards!
...JRF...
> Iâ m trying to make a logical volume support large files (i.e. >2GB). I understand that this can be performed by modifying the /etc/fstab file.
No, that is absolutely wrong. The 'largefiles' bit of the filesystem itself enables largefiles to be created when set. If not set, no largefiles are allowed. You can enable largefiles with 'fsadm', as for example:
# fsadm -o largefiles /mountpoint
The mount option 'largefiles' or 'nolargefiles' in '/etc/fstab' if used at all must match the underlying setting of the filesystem in order for a mount request to succeed. In that sense it is purely documentary.
> Is it necessary to shut down the server to single user mode to change the /etc/fstab file? Or can the /etc/fstab file be changed at any time with the changes taking effect immediately?
You can edit and save the 'fstab' file at any time. If you havedadded a new mountpoint, one easy way to handle it is to modify 'fstab' and issue a 'mount -a' to mount your new filesystem. This also checks the change you made to 'fstab' for the next time (usually at a boot/startup) that the file will be processed.
If you are changing the mount options of a filesystem, either unmount it and handle the modified options by doing a 'mount -a' or use the '-o remount' option for the filesystem at a command line for 'mount'. See the manpages for 'mount_vxfs' for more information.
Regards!
...JRF...
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP