|
|||||||
| Forums | Search Forums | Register | Forum Rules | Man Pages | Albums | FAQ | Members | Calendar | Search | Today's Posts | Mark Forums Read |
| Solaris The Solaris Operating System, usually known simply as Solaris, is a Unix-based operating system introduced by Sun Microsystems. The Solaris OS is now owned by Oracle. |
|
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Auto fsck -y at boot
Does anyone know how or if its possible to automatically run fsck -y at boot if the initial fsck check finds that there has been data lost. Usually the initial fsck check will fix low level inconsistencies but if it finds that data has been lost it will put you into single user mode for you to log in as root and run fsck -y manually to repair the file system. Have certain locations that may lose power due to storms and will only run on UPS for a certain length of time, if this occurs at night lets say there is no one present to properly shut down the system. Was wanting to automate this if possible so when they fired the system back on in the morning it would automatically repair itself if it did find a problem. Any help would be appreciated. Thanks in advance.
|
| Sponsored Links | ||
|
|
#2
|
|||
|
|||
|
fsck at boot is set in the /etc/vfstab file?
|
| Sponsored Links | ||
|
|
#3
|
|||
|
|||
|
Enable UFS logging, that would prevent most filesystem corruption situations.
|
|
#4
|
|||
|
|||
|
at Solaris 10 UFS logging ist default enabled
|
| Sponsored Links | |
|
|
#5
|
|||
|
|||
|
I guess the OP isn't using Solaris 10.
Latest Solaris 10 releases support ZFS boot. No fsck is ever necessary with it. |
| Sponsored Links | |
|
|
#6
|
|||
|
|||
|
Some of the systems we have problems with are Solaris 9 and we don't want to upgrade them to 10. So your saying that in Solaris 10 we should never have to do a manual fsck -y to repair the file system?
|
| Sponsored Links | |
|
|
#7
|
|||
|
|||
|
On Solaris 9, I'm suggesting to enable UFS logging which should dramatically reduce the cases where a fsck is required after a power off situation.
With Solaris 10 and newer + ZFS boot, there is no more need to fsck. Actually fsck isn't even available as the file system is always consistent by design. |
| Sponsored Links | ||
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help auto starting app on boot | KmJohnson | HP-UX | 3 | 06-17-2009 11:40 AM |
| Auto-Port Aggregation startup fails on boot | kknigga | HP-UX | 1 | 08-13-2008 04:25 PM |
| freebsd auto login user at boot / i'm stuck | termiEEE | UNIX for Dummies Questions & Answers | 6 | 02-26-2004 12:18 PM |
| Auto Boot | bbutler3295 | UNIX for Dummies Questions & Answers | 1 | 03-25-2002 12:39 PM |
|
|