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
07-08-2010 07:17 AM
07-08-2010 07:17 AM
mount -a
Can anyone tell me .........
when I am using
#mv /etc/mnttab /etc/mnttab.old
#mount -a
#bdf
it has re-created /etc/mnttab file.
I just want to confirm where mount command goes through to re-creates /etc/mnttab file?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:26 AM
07-08-2010 07:26 AM
Re: mount -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:36 AM
07-08-2010 07:36 AM
Re: mount -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:46 AM
07-08-2010 07:46 AM
Re: mount -a
if I changed /etc/fstab to /etc/fstab.old
and /etc/mnttab to /etc/mnttab.old
and then mount -a excutes.....
whether it will re-creates the file or not
is bdf gives the output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:50 AM
07-08-2010 07:50 AM
Re: mount -a
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 07:52 AM
07-08-2010 07:52 AM
Re: mount -a
/etc/fstab is a file that you can edit so that additional filesystems are mounted at bootup or via 'mount -a' or just 'mount' in general. Moving this file to a different name would be unwise. If you rebooted your system while it was named fstab.old, you would not have any file systems mounted and your boot would fail.
>>and /etc/mnttab to /etc/mnttab.old
OK
>>and then mount -a excutes.....
It would fail because /etc/fstab does not exist.
>>whether it will re-creates the file or not
>>is bdf gives the output?
No, it would not.
What is the real problem you are trying to solve?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 08:07 AM
07-08-2010 08:07 AM
Re: mount -a
Atually, I have changed both /etc/fstab and /etc/mnttab files even I am putting bdf command giving output!
I have enclosed herewith script output!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 08:22 AM
07-08-2010 08:22 AM
Re: mount -a
> Atually, I have changed both /etc/fstab and /etc/mnttab files even I am putting bdf command giving output!
I agree with Patrick: what problem are you attempting to solve?
The kernel keeps its own internal table of mounted filesystems. In fact, from the 'mnttab(4)' manpages:
"The mnttab file is a pseudo-file whose contents are dynamically created based on the the kernelâ s private incore mount table. The file will always reflect the latest file system mount and umount operations. syncer rewrites the mnttab file if it is found to be deleted or corrupted."
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-08-2010 08:23 AM
07-08-2010 08:23 AM
Re: mount -a
'bdf' does NOT use /etc/fstab. You NEED /etc/fstab. /etc/fstab does NOT get recreated automatically via any command.
As I asked before, what problem are you trying to solve? If we know the problem, we can try to guide you toward a solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-11-2010 11:48 PM
07-11-2010 11:48 PM
Re: mount -a
>I have changed /etc/fstab
No, you haven't changed it you've renamed it!
Just check the content of /etc/fstab - it says at boot up how to mount your logical volumes to '/' and others.
Without this information your system can't boot up correctly!
BTW.: You have assigned points to 2 of 33 responses to your questions
If you don't want to use this answer feedback system, do you expect responses at all?
Please check your threads:
http://forums11.itrc.hp.com/service/forums/pageList.do?userId=WW320597&listType=unassigned&forumId=1
V.