Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Jul 2011 17:50:36 +0300
From:      tethys ocean <tethys.ocean@gmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        FreeBSD_Questions <freebsd-questions@freebsd.org>
Subject:   Re: mount /unmount
Message-ID:  <CAOgxTUjH9kObmRmvg8p_XDb34U4gfvtgCOCpzV5J4otg5XrgQg@mail.gmail.com>
In-Reply-To: <20110704151505.99e0ed4d.freebsd@edvax.de>
References:  <CAOgxTUikp5XODhus35vt783s607Y%2Bz8JE3UoxL1dV8f=rS19Kw@mail.gmail.com> <20110704151505.99e0ed4d.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
so thx :)

I have a question again in below

On Mon, Jul 4, 2011 at 4:15 PM, Polytropon <freebsd@edvax.de> wrote:

> On Mon, 4 Jul 2011 15:28:16 +0300, tethys ocean wrote:
> > Hi,
> >
> > I have 3 question
> >
> > is FreeBSD can boot and run all service while one of slice is not mount
> for
> > example /usr slice..
>
> Check the corresponding entry in /etc/fstab where all file systems
> should be mentioned that you want to be mounted at system startup.
> For example, a proper line would look like this:
>
> # Device        Mountpoint              FStype  Options         Dump
>  Pass#
> # -----------   ---------------------   ------  -------------   -----
> -----
> /dev/ad0s1f     /usr                    ufs     rw              2       2
>
> Check device names. Depending on how you're accessing disks, the
> name could also be ad0f, ada0f, da0f or something else.
>
> * Also keep the correct terminology: FreeBSD mounts UFS partitions,
> not slices. A slice contains a partition carrying a file system,
> usually UFS.*



*Means that /usr is not slice ?? or /var is not slice?   are all these are
UFS ?*




>
> > and second question is my mysql is in /var slice if /var is not mout can
> I
> > access mysql being root and chek all databases also can read log file on
> > /var
>
> No. You can't access files inside a file system that isn't mounted
> (exceptions: forensic analysis, or performing a device dump).
>
>
>
> > third question is can I mount any unmount slice by using just fsck  :)
>
> No. You can only mount file system that are marked clean. To
> accomplish this - yes - running fsck for the device (or the
> mount point, if listed in /etc/fstab) is required when the
> device has been uncleanly mounted previously. To mount all
> file systems, use "mount -a".
>
> Also you should _not_ fsck a mounted partition. Unmount them
> first (if required), run fsck, then mount. In worst case, boot
> from a live system CD or DVD or USB stick and issue the fsck
> command from there (really, just worst case scenario, you
> shouldn't need this in the first place).
>
>
>
>
> --
> Polytropon
> Magdeburg, Germany
> Happy FreeBSD user since 4.0
> Andra moi ennepe, Mousa, ...
>



-- 
Share now a pigeon's flight
Bluebound along the ancient skies,
Its women forever hair and mammal,
A Mediterranean town may arise
If you rip apart a pigeon's heart.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOgxTUjH9kObmRmvg8p_XDb34U4gfvtgCOCpzV5J4otg5XrgQg>