Reply
 
Thread Tools Display Modes
  #1  
Old 01-16-2012, 12:01 PM
django django is offline
Junior Member
 
Join Date: Jan 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Gmirror with PC BSD 9
Dear PC BSD people,
yesterday I tried PC BSD for the first time (a happy freebsd server and linux desktop user) and was really suprised by what I saw. A beautiful and functional desktop with minimal ram requirements. I did see a few quirks (like sound playing way too fast so voices sound weird on flash videos) but have not seen anything that is considered a showstopper.

However,
as I'm planning to install PC BSD 9 on my primary desktop, I wanted to know if I could use the same procedure outlined below to setup raid:

http://onlamp.com/pub/a/bsd/2005/11/...cs.html?page=1

Brgds
Django
Reply With Quote
  #2  
Old 01-16-2012, 08:35 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Gmirror with PC BSD 9
It should be easier than that in PC-BSD. During the install you go
advanced, and setup your disk, you then add a new partition, select
mirror, and tie the disk2 to mirror disk1, it should handle the setup
for you.

BTW, if the sound was playing too fast, was it in a VM? That's the only
place I've seen that happen.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #3  
Old 01-17-2012, 08:54 AM
django django is offline
Junior Member
 
Join Date: Jan 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
Wow,
will that do the trick and create a gmirror array just like that? I will try to do as you adviced in the weekend and report if I have success.

Indeed the sound playing too fast occured in the virtualbox image I downloaded from the pc bsd site.
Reply With Quote
  #4  
Old 01-23-2012, 10:28 AM
django django is offline
Junior Member
 
Join Date: Jan 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I installed pc-bsd 9 and proceeded as you seggested, by adding a new partition, selecting mirror and the round-robin algorithm. The installation proceeded without a hickup but I'm not sure the mirror got installed. How do I diagnose my mirror?

Take a look at my fstab:

cat /etc/fstab
# Device Mountpoint FStype Options Dump Pass
/dev/label/rootfs0 / ufs rw,noatime 1 1
/dev/label/swap0 none swap sw 0 0
/dev/label/var0 /var ufs rw,noatime 1 1
/dev/label/usr0 /usr ufs rw,noatime 1 1
procfs /proc procfs rw 0 0
linprocfs /compat/linux/proc linprocfs rw 0 0


And #gmirror status gives no output.

So how do I know if the installation created the mirror successfully?
Reply With Quote
  #5  
Old 01-24-2012, 07:25 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Gmirror with PC BSD 9
If gmirror status is empty, I'm not sure it got setup. Did you leave it
on the "advanced' disk screen, or switch back to the basic mode before
installing?
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
  #6  
Old 01-25-2012, 09:16 AM
django django is offline
Junior Member
 
Join Date: Jan 2012
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default
I switched back to the basic mode before installing. Do you think that has something to do with it (the installer does not preserve settings in this way)?
What would you suggest I do now, reinstall?
Reply With Quote
  #7  
Old 01-25-2012, 04:40 PM
kmoore134's Avatar
kmoore134 kmoore134 is offline
Administrator
 
Join Date: May 2005
Location: Knoxville, TN
Posts: 2,568
Thanks: 0
Thanked 163 Times in 127 Posts
Default Gmirror with PC BSD 9
Yes, if you are on the "basic" screen, its going to use the basic
options, likewise with "Advanced" screen. You'll need to reload to setup
gmirror, or do some manual kung-fu to switch your existing partitions to
a gmirror.
__________________
----
Kris Moore
PC-BSD Founder
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:43 AM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.

Copyright 2005-2010, The PC-BSD Project. PC-BSD and the PC-BSD logo are registered trademarks of iXsystems.
All other content is freely available for sharing under the terms of the Creative Commons Attribution License.