- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- how to add newfs in vi/etc/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
тАО10-11-2010 11:56 AM
тАО10-11-2010 11:56 AM
how to add newfs in vi/etc/fstab
and saving procedure
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 02:31 PM
тАО10-11-2010 02:31 PM
Re: how to add newfs in vi/etc/fstab
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 03:30 PM
тАО10-11-2010 03:30 PM
Re: how to add newfs in vi/etc/fstab
echo /dev/vg00/lvol12 /newfilesys defaults 0 2 >> /etc/fstab
if you use SMH to create the filesystem it will add it to /etc/fstab if you specify.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 06:17 PM
тАО10-11-2010 06:17 PM
Re: how to add newfs in vi/etc/fstab
Its Easy to add newfs in vi /etc/fstab,
U must have root privilege's, as ur done with mount point creation.
vi /etc/fstab
For getting the mount point mounted automatically as system reboots u should add line in /etc/fstab as,
/dev/vg00/lvolX /ABC FILE_System delaylog 0 2,
ur logical volumeX its mount point name ABC
file system, delaylog, Backup Frequency, and Fsck Order
in best practice we use above values.
Dont forget to save entry in this filewhile u create mount point, to avoid juggling after reboot.....
To save this vi file-----> wq!
To create files system on newly created lvol
use this cmd
#newfs -F filesystem -o largefils /dev/vgXX/rlovlx
Hope this solves ur issues..
Don't forget to assign points..
Regards
Vishnu Khandare
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-11-2010 10:17 PM
тАО10-11-2010 10:17 PM
Re: how to add newfs in vi/etc/fstab
if you are creating Filesystem through sam , there is is an option for automatic saving into the /etc/fstab.
other wise follow the below steps
Making a file system usable involves four basic steps.
Create the new file system using the newfs command.
eg:
newfs -F vxfs -o largefiles /dev/vg03/rlvol5
Create a mount point for the file system using the mkdir command. A mount point is a directory on which the file system is mounted.
Eg:
mkdir /mnt
Mount the new file system on the mount point using the mount command.
Eg:
mount -F vxfs /dev/vg03/lvol04 /mnt
Create an entry in the /etc/fstab file for the file system so that it is automatically mounted every time you boot up your system.
A typical entry for a file system may be as follows.
Eg:
/dev/vg03/lvol4 /mnt vxfs delaylog 0 2
if any doubt feel free to ask