Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2007 19:27:40 +1000
From:      Norberto Meijome <freebsd@meijome.net>
To:        Olivier Nicole <on@cs.ait.ac.th>
Cc:        rsmith@xs4all.nl, kalin@el.net, freebsd-questions@freebsd.org
Subject:   Re: raid or not raid
Message-ID:  <20070525192740.103d0752@localhost>
In-Reply-To: <200705250841.l4P8fSSH031065@banyan.cs.ait.ac.th>
References:  <54316.74.2.36.140.1179892303.squirrel@mail.el.net> <61733.74.64.6.149.1180002606.squirrel@mail.el.net> <20070524152750.GB20309@slackbox.xs4all.nl> <62361.74.64.6.149.1180048287.squirrel@mail.el.net> <20070525125110.55444566@localhost> <63019.74.2.36.140.1180082245.squirrel@mail.el.net> <200705250841.l4P8fSSH031065@banyan.cs.ait.ac.th>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 25 May 2007 15:41:28 +0700 (ICT)
Olivier Nicole <on@cs.ait.ac.th> wrote:

> > how come there is ad4s1b and ad4s1c when those names don't appear in the
> > fstab or df?  
> 

because df shows mounted disks, and fstab what to mount. neither of them affect
b (usually swap) or c (as per Olivier below).

you can see b by using the right command, for example, swapinfo:

$ swapinfo
Device          1K-blocks     Used    Avail Capacity
/dev/ad0s1b.eli   4194304        0  4194304     0%


( mine has .eli @ the end because it's an encrypted swap device).

> Very often ad4s1b will be the swap and ad4s1c the full slice.
> 
> That is not an absolute rule, but it is very much recommended (at
> least for ad4s1c) to keep it equivalent to the full slice.

indeed :) gstat shows them anyway because they are part of the GEOM subsys - u
just need the right tool  to see them.

Regards,
B
_________________________
{Beto|Norberto|Numard} Meijome

"Gravity cannot be blamed for people falling in love."
  Albert Einstein

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.



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