View Single Post
  #4   (View Single Post)  
Old 5th November 2008
phoenix's Avatar
phoenix phoenix is offline
Risen from the ashes
 
Join Date: May 2008
Posts: 696
Default

Quote:
Originally Posted by PeterSteele View Post
I see you have a separate slice for the swap space. That makes sense.
The VM system will stripe access across the disks when it needs to use swap space. Ideally, you wouldn't need swap, but this makes it faster for when you do access it.

Quote:
I looked at this link and I noticed the comment:

"The following is a step-by-step command list for remotely converting a production FreeBSD system from a single-disk/single-slice (ad0s1) to a two-disk/single-slice (ad0s1 & ad1s1) GEOM mirror (gm0)"

I'm not entirely clear how to adapt these instructions for 3-slice systems? I setup a VM with two single slice drives and followed the first set of instructions, successfully creating a mirrored, single slice system. Now, what about a three slice system?
Just do the second step twice, but change the "second" disk in the script to point to the third slice.

Quote:
I'm not sure what this means:

dd if=/dev/zero of=/dev/${d1} bs=512 count=79

This implies my main drive would be wiped, so I must be missing something
The first 79 blocks, or ~40 bytes, of the drive will be wiped. This clears out the boot blocks and the partition table, effectively making the drive appear to be unformatted.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote