RE: "/etc/vfstab" re-creation
"Wiest, Damian" <[email protected]> Wed, 2 Jun 2004 15:29:39 -0500
| Newsgroups | gmane.comp.security.sun |
|---|---|
| Message-ID | <42D6965E55186940B08A1176E2F20140B12270@rc2c-exch1.learningcurve.com> |
> -----Original Message----- > From: Lawrence Sica [mailto:[email protected]] > Sent: Wednesday, June 02, 2004 3:01 PM > To: [email protected] > Cc: [email protected] > Subject: Re: "/etc/vfstab" re-creation > > > <quote who="[email protected]"> > > > > Hi! > > > > I accidently deleted my /etc/vfstab on my solaris 2.5.1 > server. I copied > > the mount output to a file before rebooting. Using this file I have > > created vfstab file. However is there a way to re-create or > to restore the > > vfstab file? > > > > Thanks in advance! > > Ali > > > > > > The only thing I can think of off the top of my head is using > /etc/mnttab > as a template for recreating vfstab. > > --Larry I know this is the case on OpenBSD, but I haven't mounted Solaris filesystems lately. When you perform a /sbin/mount, the system should report where the filesystem was last mounted. This can be useful to ensure you're putting everything back in the correct place. You should probably take some time now to backup your /etc/vfstab and disklabels. You didn't mention it, but are you using a RAID system to manage your disks? -Damian