Samba and RAID 1 using gmirror on 2 new disks

L Goodwin xrayv19 at yahoo.com
Fri Apr 20 04:06:32 UTC 2007


One more thought: I had to disable ACPI (as with the first server) to get FreeBSD to boot. Could this have something to do with my problem, i.e., is some manual configuration necessary to set up SCSI devices in FreeBSD?

Derek Ragona <derek at computinginnovations.com> wrote:   At 06:36 PM 4/19/2007, L Goodwin wrote:
 This is a different machine from the original one I was trying to install FreeBSD on. However, the two 9GB SCSI-3 drives are from the original machine.

 There seems to be a problem with how they are configured or with one or both of the 9GB drives (details are in my posting that appears after yours).
 The 4.3GB SCSI-2 drive that I installed FreeBSD 6.2 on is fine. This is da0.
 The errors are on da1.

 Derek Ragona <derek at computinginnovations.com> wrote:
 At 02:24 PM 4/19/2007, you wrote:
 Hello. I have a server with 3 SCSI drives. FreeBSD is installed on da0 (4.3GB), and da1 and da2 (both identical 9GB drives) are to be used in a RAID 1 array for file storage on a LAN with Windows XP and Vista clients, using Samba to share the filesystem on da1. Backups will be taken from da2.
  
 Drives da1 and da2 are currently "unused" (reclaimed from a Windows server). I have not done anything to prepare these 2 drives yet.
  
 I also have not configured Samba yet.
  
 Please walk me through the process of setting up a FreeBSD 6.2 fileserver given these conditions?

 I tried configuring the RAID1 array using the following sources, but got judging from the errors I got, it looks like I need to prepare da1/da2 first:

 http://www.onlamp.com/pub/a/bsd/2005/11/10/FreeBSD_Basics.html
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

 Both assume you only have 2 drives and want to mirror the drive containing FreeBSD. I only want to mirror the data drive da1, and would appreciate a concise set of steps for doing this right the first time.

 Thanks!
 The errors look like it is having a problem writing in the first cylinder where the RAID configuration is kept.  If you haven't done a low-level format and diagnostics on this drive, I would start there.

         -Derek
 
--  
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 
MailScanner thanks transtec Computers for their support. 

       
---------------------------------
Ahhh...imagining that irresistible "new car" smell?
 Check outnew cars at Yahoo! Autos.


More information about the freebsd-questions mailing list