- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- order of mounting in /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
Forums
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
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
тАО09-03-2001 09:32 PM
тАО09-03-2001 09:32 PM
order of mounting in /etc/fstab
I've got a loopback FS setup as the last entry in /etc/fstab, but it mounts before the 'special directory' gets mounted (which is listed earlier in the /etc/fstab... !
I always thought that I could alter the order of mount by changing the /etc/fstab... but it seems that it not always the case.
I've noticed in the man 1m mount :
"File systems are not necessarily mounted in the order listed in /etc/fstab."
Is there a way to change the order, if I can't rely on /etc/fstab ? What are the 'internals' of this mount procedure reading the /etc/fstab ?
Thanks for your help! points will be awarded.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2001 10:10 PM
тАО09-03-2001 10:10 PM
Re: order of mounting in /etc/fstab
Good question!
Try man page of getmntent and getfsmnt.
This may give some idea.
best of luck
Animesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-03-2001 10:24 PM
тАО09-03-2001 10:24 PM
Re: order of mounting in /etc/fstab
nice question.
file systems are not necessarily to mount as shown in fstab file. when the system boots the required file systems are mounted according to necessity, as for as i know / will be mounted first, followed by /usr,/tmp rests of the file systems are afterwards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 01:31 AM
тАО09-04-2001 01:31 AM
Re: order of mounting in /etc/fstab
i look at the man page of the fstab and over there the said :
The order of entries in /etc/fstab is important only for entries
without a pass number field. Entries without a pass number are
sequentially checked by fsck (see fsck(1m)) after the entries with a
pass number have been checked.
i didnt found any guideline how the order need to be but i recomment that all the nfs and cdrom filesystem will be and the end of the file .
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 02:42 AM
тАО09-04-2001 02:42 AM
Re: order of mounting in /etc/fstab
I used to use a sequence number, if I remember right Id say its the last number you see on each line of fstab which used to be the priority (HPUX 9 ? ) so I would put give a 2 to the one you want mounted first and 4 for the one that shoud be mounted after, lest me check...
/dev/r5vg01/lvol1 /opt/oracle vxfs rw,suid,delaylog,datainlog 0 2
/dev/r5vg01/lvol2 /opt/oracle/product/7.2.3 vxfs rw,suid,delaylog,datainlog 0 3
Nerver failed yet...
All the best
Victor
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 05:08 AM
тАО09-04-2001 05:08 AM
Re: order of mounting in /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 05:12 AM
тАО09-04-2001 05:12 AM
Re: order of mounting in /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-04-2001 02:44 PM
тАО09-04-2001 02:44 PM
Re: order of mounting in /etc/fstab
I understand that it will take a fraction of a second longer to mount a large file system, than it will to mount a loopback... which means this problem could be experienced by many who use loopback filesystems. But it doesn't seem that loopback file systems have any functionality to delay the mounting...
Doesn't look like there is an solution to this problem !!
Looks like i'm going to have to script in the mounting of loopback into the RC scripts.
Andrew
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2004 04:30 AM
тАО12-24-2004 04:30 AM
Re: order of mounting in /etc/fstab
I am mounting
/ hda6
/usr sdb3
/usr/portage sda1
So they need to go in that order.
I'm amazed this can't be done!!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-24-2004 09:19 AM
тАО12-24-2004 09:19 AM
Re: order of mounting in /etc/fstab
The alternative is to use the noauto option in fstab and use a startup script to mount it in the right order.
Bill Hassell, sysadmin