Installing RAID question.[Scanned]

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Apr 28 13:00:52 PDT 2004


On Wed, Apr 28, 2004 at 12:07:34PM -0500, Chris Collins wrote:
> That is a good tip... I will be sure to "wire down" the new Raid config. 
> 
> Just one more question... my current setup has ad0s1a for / So ad0 is the 
> physical drive definition(controller) and s1a is the logical partition??? and 
> if I was to add the raid card it might chage to something like this 
> sc0s1a ??? Is this safe to assume? Sorry just trying to understand how this 
> all functions... 
> 
> This is my current fstab 
> 
> /dev/ad0s1b             none            swap    sw              0       0
> /dev/ad0s1a             /               ufs     rw              1       1
> /dev/ad0s1f             /tmp            ufs     rw              2       2
> /dev/ad0s1g             /usr            ufs     
> rw,userquota,groupquota         2       2
> /dev/ad0s1e             /var            ufs     rw,userquota    2       2
> /dev/acd0c              /cdrom          cd9660  ro,noauto       0       0
> proc                    /proc           procfs  rw              0       0
> 
> So my new one would look like this??? if sc0 was the new controller id.
> 
> /dev/sc0s1b             none            swap    sw              0       0
> /dev/sc0s1a             /               ufs     rw              1       1
> /dev/sc0s1f             /tmp            ufs     rw              2       2
> /dev/sc0s1g             /usr            ufs     
> rw,userquota,groupquota         2       2
> /dev/sc0s1e             /var            ufs     rw,userquota    2       2
> /dev/scd0c              /cdrom          cd9660  ro,noauto       0       0
> proc                    /proc           procfs  rw              0       0
> 

Right -- so you're not just putting in a new raid card, you're moving
your boot drive onto that card as well.

'sc0' won't be the controller ID -- sc is the System Console driver --
but, yes if the raid controller will accept a previously initialised
disk, then the change mapping ad0 onto some other device node as you
show could work.  I wouldn't say that's 100% safe to assume, but
you've a reasonable chance of having that work.

The CD Rom device will however stay at /dev/acd0c

Seeing as you're putting in an ATA Raid card, ignore everything I said
about wiring down device names.  That works for SCSI devices, not
ATA/ATAPI.

The device name 'ad0s1a' breaks down as: ad (ATA Drive) 0 (ie. master
on primary bus), s1 (first slice), a (partition a) 

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040428/1560015f/attachment.bin


More information about the freebsd-questions mailing list