Re: I rebooted to get a FS back. What is the proper thing to do.
From: Casper H.S. Dik (Casper.Dik_at_Sun.COM)
Date: 11/22/04
- Next message: Michael Paoli: "Re: Tarring up Oracle files?"
- Previous message: Casper H.S. ***: "Re: Solaris licensing"
- In reply to: Shea Martin: "I rebooted to get a FS back. What is the proper thing to do."
- Next in thread: Chris Thompson: "Re: I rebooted to get a FS back. What is the proper thing to do."
- Reply: Chris Thompson: "Re: I rebooted to get a FS back. What is the proper thing to do."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 22 Nov 2004 13:04:13 GMT
Shea Martin <smartin@arcis.com> writes:
>I unshared the fs, then unmount /export/home/myfs, then unmount
>/home/myfs. I am pretty sure that those unmounts are in the wrong
>order, and this may have been my problem. But umount never complained.
Doesn't matter; as long as the mount is gone on the client.
(umount -f?)
>Assuming everything was unmounted properly (2nd mistake), I did a fsck
>on the fs. After the fsck, I though I would mount the disks before the
>power-cycle to prove whether the power-cycle was necessary. I couldn't
>mount /export/home/myfs or /home/myfs, it said the it was already
>mounted max # of times. A 'mount' showed that /home/myfs was still
>mounted on /export/home/myfs. But umount said that the fs was not mounted.
Uhm; well, in Solaris 8 /etc/mnttab is a file and it may or may nbnot
reflect reality. In Solaris 10 it's a device and it always
reflects reality.
>I ended up scheduling a reboot, which I just finished this morning, and
>all is back to normal.
>Was there a way to recover from my error of unmounting in the wrong
>order? Are the newer releases of solaris any more robust in this
>aspect? Any other thoughts?
No, the wrong order doesn't really matter but one important problem
is that you need to unshare first and then unmount (doesn't matter
where first)
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.
- Next message: Michael Paoli: "Re: Tarring up Oracle files?"
- Previous message: Casper H.S. ***: "Re: Solaris licensing"
- In reply to: Shea Martin: "I rebooted to get a FS back. What is the proper thing to do."
- Next in thread: Chris Thompson: "Re: I rebooted to get a FS back. What is the proper thing to do."
- Reply: Chris Thompson: "Re: I rebooted to get a FS back. What is the proper thing to do."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]