| Welcome to the Talk Root - PC Hardware, Software and Web Development forums. Are you a programmer, web developer, IT guy or a computer guru? We invite you to join our forums and participate in friendly discussion. It doesn't matter your skill level, we are here to help everyone.
You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!
If you have any problems with the registration process or your account login, please contact contact us. | 03-30-2004, 04:10 PM | #1 | | | Question about fsck when rebooting I've got a Solaris 9 (Intel) box that doesn't have a monitor or keyboard hooked up to it. Sometimes it gets power cycled by accident (well stupidity on my part). However, when this happens it can't recover unless I hook up a keyboard and monitor and manually run fsck. Is there some way to get it to just do it without me having to go through that? Thanks Joe -- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra | | | | 03-30-2004, 04:53 PM | #2 | | | Re: Question about fsck when rebooting On Tue, 30 Mar 2004 23:10:57 +0000, jo wrote: > I've got a Solaris 9 (Intel) box that doesn't have a monitor or > keyboard hooked up to it. Sometimes it gets power cycled by accident > (well stupidity on my part). However, when this happens it can't > recover unless I hook up a keyboard and monitor and manually run > fsck. > > Is there some way to get it to just do it without me having to go > through that? Enable logging on your UFS filesystems. man mount_ufs | | | | 03-30-2004, 06:53 PM | #3 | | | Re: Question about fsck when rebooting Dave Uhring <daveuhring@yahoo.com> writes: > On Tue, 30 Mar 2004 23:10:57 +0000, jo wrote: > > > I've got a Solaris 9 (Intel) box that doesn't have a monitor or > > keyboard hooked up to it. Sometimes it gets power cycled by accident > > (well stupidity on my part). However, when this happens it can't > > recover unless I hook up a keyboard and monitor and manually run > > fsck. > > > > Is there some way to get it to just do it without me having to go > > through that? > > Enable logging on your UFS filesystems. > > man mount_ufs Sorry to be a dunce, but although the man page is there... # find / -name mount_ufs -print # Where is it? Joe -- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra | | | | 03-30-2004, 07:03 PM | #4 | | | Re: Question about fsck when rebooting joe@invalid.address wrote: > Sorry to be a dunce, but although the man page is there... > # find / -name mount_ufs -print > # > Where is it? Man pages aren't named that way. You'd need to either do -name "mount_ufs*" or grep mount_ufs /var/sadm/install/contents -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > | | | | 03-30-2004, 07:18 PM | #5 | | | Re: Question about fsck when rebooting On Wed, 31 Mar 2004 01:53:49 +0000, jo wrote: > Sorry to be a dunce, but although the man page is there... > > # find / -name mount_ufs -print > # > > Where is it? /usr/share/man/sman1m/mount_ufs.1m Part of package SUNWman, which is found on Software CD 2/2. | | | | 03-30-2004, 08:05 PM | #6 | | | Re: Question about fsck when rebooting Darren Dunham <ddunham@redwood.taos.com> writes: > joe@invalid.address wrote: > > > Sorry to be a dunce, but although the man page is there... > > > # find / -name mount_ufs -print > > # > > > Where is it? > > Man pages aren't named that way. You'd need to either do > -name "mount_ufs*" or > grep mount_ufs /var/sadm/install/contents Well, as I said above, "although the man page is there"... I gave the find command as an example that I couldn't find the command on my machine, not the man page. Joe -- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra | | | | 03-30-2004, 08:10 PM | #7 | | | Re: Question about fsck when rebooting Dave Uhring <daveuhring@yahoo.com> writes: > On Wed, 31 Mar 2004 01:53:49 +0000, jo wrote: > > > Sorry to be a dunce, but although the man page is there... > > > > # find / -name mount_ufs -print > > # > > > > Where is it? > > /usr/share/man/sman1m/mount_ufs.1m > > Part of package SUNWman, which is found on Software CD 2/2. The find command line I posted isn't looking for a man page (as I said, I found that), I'm looking for the mount_ufs command itself. Thanks Joe -- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra | | | | 03-30-2004, 10:43 PM | #8 | | | Re: Question about fsck when rebooting > I gave the find command as an example that I couldn't find the command > on my machine, not the man page. there is no mount_ufs command (the man page is there to differentiate between different modes of operation of the command for different filesystem types). The command that you would use would be something like (the special device name is probably different on x86 based machines); # mount -F ufs -o logging /dev/dsk/c0t0d0s6 /export/home Having said that you are best served specifiying this in the /etc/vfstab file to ensure that the filesystems are logging on a reboot. HTH AT | | | | 03-30-2004, 10:43 PM | #9 | | | Re: Question about fsck when rebooting joe@invalid.address writes in comp.unix.solaris: |Darren Dunham <ddunham@redwood.taos.com> writes: |> Man pages aren't named that way. You'd need to either do |> -name "mount_ufs*" or |> grep mount_ufs /var/sadm/install/contents | |Well, as I said above, "although the man page is there"... | |I gave the find command as an example that I couldn't find the command |on my machine, not the man page. If you read the synopsis section carefully, you'll see the command is named mount, and if it's not there, your system won't boot. -- __________________________________________________ ______________________ Alan Coopersmith alanc@alum.calberkeley.org http://www.CSUA.Berkeley.EDU/~alanc/ aka: Alan.Coopersmith@Sun.COM Working for, but definitely not speaking for, Sun Microsystems, Inc. | | | | 03-31-2004, 01:17 AM | #10 | | | Re: Question about fsck when rebooting joe@invalid.address writes: >Dave Uhring <daveuhring@yahoo.com> writes: >> On Tue, 30 Mar 2004 23:10:57 +0000, jo wrote: >> >> > I've got a Solaris 9 (Intel) box that doesn't have a monitor or >> > keyboard hooked up to it. Sometimes it gets power cycled by accident >> > (well stupidity on my part). However, when this happens it can't >> > recover unless I hook up a keyboard and monitor and manually run >> > fsck. >> > >> > Is there some way to get it to just do it without me having to go >> > through that? >> >> Enable logging on your UFS filesystems. >> >> man mount_ufs >Sorry to be a dunce, but although the man page is there... ># find / -name mount_ufs -print ># >Where is it? THere's no command called "mount_ufs"; it's just a manual page; the command is /usr/lib/fs.d/ufs/mount. Just add "logging" to the options field in /etc/vfstab. Casper -- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth. | | | | 03-31-2004, 01:06 PM | #11 | | | Re: Question about fsck when rebooting joe@invalid.address wrote: > Darren Dunham <ddunham@redwood.taos.com> writes: >> joe@invalid.address wrote: >> >> > Sorry to be a dunce, but although the man page is there... >> >> > # find / -name mount_ufs -print >> > # >> >> > Where is it? >> >> Man pages aren't named that way. You'd need to either do >> -name "mount_ufs*" or >> grep mount_ufs /var/sadm/install/contents > Well, as I said above, "although the man page is there"... > I gave the find command as an example that I couldn't find the command > on my machine, not the man page. Sorry. I interpreted your query as "I could read the man page, but I couldn't find the man page in the filesystem". There are many man pages that do not have the same name as any program or file in in the filesystem. Often like mount, there is a separate man page for special subsets of the command. mount_* fsck_* share_* None of the above items exist as an independent command, all are explanations of subsets of the shorter command. In each case the SYNOPSIS section of the man page should detail the needed command (including path if it is uncommon). (Plus there's the man page for 'boot'... good luck finding that one) -- Darren Dunham ddunham@taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > | | | | 04-01-2004, 03:37 AM | #12 | | | Re: Question about fsck when rebooting NNTP-Posting-Host: lanka.uk.sun.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: new-usenet.uk.sun.com 1080815867 14395 129.156.87.18 (1 Apr 2004 10:37:47 GMT) X-Complaints-To: usenet@new-usenet.uk.sun.com NNTP-Posting-Date: 1 Apr 2004 10:37:47 GMT User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.0.1) Gecko/20021004 Netscape/7.0 X-Accept-Language: en, de Xref: humbolt.nl.linux.org comp.unix.solaris:42939 Darren Dunham wrote: > > There are many man pages that do not have the same name as any > program or file in in the filesystem. Often like mount, there is a > separate man page for special subsets of the command. > > mount_* fsck_* share_* > > None of the above items exist as an independent command, FWIW yes they do, in most cases (though you're right if you're saying that those are not their exact names). The UFS-specific mount command, (manpage mount_ufs) for example, is /usr/lib/fs/ufs/mount while the UDFS-specific labelit command (manpage labelit_udfs) lives in /usr/lib/fs/udfs/labelit and so on. This probably comes under the heading of Completely Useless Information :-) -- Tony | | | | 04-14-2004, 10:59 PM | #13 | | | Re: Question about fsck when rebooting From: joe@invalid.address Message-ID: <m38yhgbw46.fsf@invalid.address> Lines: 34 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Host: 24.1.98.54 X-Complaints-To: abuse@comcast.net X-Trace: attbi_s51 1080764842 24.1.98.54 (Wed, 31 Mar 2004 20:27:22 GMT) NNTP-Posting-Date: Wed, 31 Mar 2004 20:27:22 GMT Organization: Comcast Online Date: Wed, 31 Mar 2004 20:27:22 GMT Xref: humbolt.nl.linux.org comp.unix.solaris:42897 Darren Dunham <ddunham@redwood.taos.com> writes: > joe@invalid.address wrote: > > Darren Dunham <ddunham@redwood.taos.com> writes: > > >> joe@invalid.address wrote: > >> > >> > Sorry to be a dunce, but although the man page is there... > >> > >> > # find / -name mount_ufs -print > >> > # > >> > >> > Where is it? > >> > >> Man pages aren't named that way. You'd need to either do > >> -name "mount_ufs*" or > >> grep mount_ufs /var/sadm/install/contents > > > Well, as I said above, "although the man page is there"... > > > I gave the find command as an example that I couldn't find the > > command on my machine, not the man page. > > Sorry. I interpreted your query as "I could read the man page, but I > couldn't find the man page in the filesystem". Sorry for the confusion, and thanks to all. I think I've got it working now. Joe -- If people don't want to come out to the ballpark, nobody's going to stop them. - Yogi Berra | | | | | Thread Tools | | | | Rate This Thread | | | Posting Rules | You may not post new threads You may not post replies You may not post attachments You may not edit your posts HTML code is Off | | | All times are GMT -7. The time now is 08:40 AM. | |