- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Mount sequence from /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
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
02-16-2004 11:58 PM
02-16-2004 11:58 PM
Mount sequence from /etc/fstab
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 12:07 AM
02-17-2004 12:07 AM
Re: Mount sequence from /etc/fstab
As far as I'm aware there isn't a special order that it's read. The man page for mount(1m) states that "file systems are not necessarily mounted in the order listed in /etc/fstab." Also the fstab(4) man page states that entries without a pass number are sequentially checked by fsck.
Sorry that doesn't really resolve your argument!
regards,
Darren.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 12:10 AM
02-17-2004 12:10 AM
Re: Mount sequence from /etc/fstab
All I can say is that the man page for fstab claims
"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."
Thus, we see in a typical fstab that / and /stand have pass number 1 and are checked first:
/dev/vg00/lvol4 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol3 ... swap defaults 0 0
/dev/vg00/lvol5 /home vxfs delaylog 0 2
/dev/vg00/lvol6 /opt vxfs delaylog 0 2
/dev/vg00/lvol7 /tmp vxfs delaylog 0 2
/dev/vg00/lvol8 /usr vxfs delaylog 0 2
/dev/vg00/lvol9 /var vxfs delaylog 0 2
I would assume that the remaining file systems would be processed sequentially but the man page doesn't really say what the order is unless there is no pass number. *AND*, the man page only talks about what order they will be fsck'd, not the order in which they're mounted.
If you look at /etc/mnttab, you will see the time each file system was actually mounted and, on my system, it appears to be sequential.
/dev/vg00/lvol4 / vxfs log 0 1 1075397862
/dev/vg00/lvol1 /stand hfs defaults 0 0 1075397864
/dev/vg00/lvol9 /var vxfs delaylog,nodatainlog 0 0 1075397871
/dev/vg00/lvol8 /usr vxfs delaylog,nodatainlog 0 0 1075397871
/dev/vg00/lvol7 /tmp vxfs delaylog,nodatainlog 0 0 1075397872
/dev/vg00/lvol6 /opt vxfs delaylog,nodatainlog 0 0 1075397872
/dev/vg00/lvol5 /home vxfs delaylog,nodatainlog 0 0 1075397872
Pete
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 12:12 AM
02-17-2004 12:12 AM
Re: Mount sequence from /etc/fstab
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-17-2004 12:28 AM
02-17-2004 12:28 AM
Re: Mount sequence from /etc/fstab
/dev/vg01/fs1 /fs1
/dev/vg01/fs2 /fs1/fs2