Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 241
  • Last Modified:

Share areas not mounted

    Well, our system administrator is on vacation leaving us poor general programmers to deal with whatever happens to the network.    For the record it is a Solaris network.   Well, we had to reboot one of our servers this morning.   When it rebooted two of our 'share areas' or drive
areas were not mounted.
      Can someone tell us how to mount the areas which were
not mounted at bootup?

       Thanks.
0
bwsaul
Asked:
bwsaul
1 Solution
 
tfewsterCommented:
mount -a, on any of the systems that  are "missing" filesystems will retry mounting any filesystems in /etc/vfstab marked "mount on boot"

If they aren't marked "mount on boot", do
mount -a /mount_point to force that filesystem to mount

This will work for both local & NFS mounted filesystems. If the filesystems aren't in vfstab, come back to us with more details.

0
 
jlevieCommented:
One caution, you need to see if the file systems didn't mount because they didn't fsck at boot. As tfewster pointed out, check the vfstab to see what should have happened at boot. If they are in vfstab and should have been mounted, you need to go back to a single user boot and fsck the filesystems. If I had an entry in vfstab like:

/dev/dsk/c0t1d0s0 /dev/rdsk/c0t1d0s0 /nfs0    ufs     3       yes     -

And it didn't mount because of a problem with the fs, I'd boot to single user mode ("shutdown -y -i0 -g0" and "boot -s" at the boot prompt). The enter the root password when prompted and:

fsck /nfs0
0
 
bwsaulAuthor Commented:

      Thanks both.  It did the trick!


                 BWsaul
0

Featured Post

Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now