Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 31 May 2006 17:51:06 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Kevin Kinsey <kdk@daleco.biz>
Cc:        Philip Radford <phil@chycor.com>, freebsd-questions@freebsd.org
Subject:   Re: Mounting to a second hard disk
Message-ID:  <20060531145106.GA56445@gothmog.pc>
In-Reply-To: <447D9BFC.9080304@daleco.biz>
References:  <012001c684ae$cbecaf60$0207a8c0@P800> <447D9BFC.9080304@daleco.biz>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2006-05-31 08:37, Kevin Kinsey <kdk@daleco.biz> wrote:
>Philip Radford wrote:
>>Hi All,
>> I have just installed FreeBSD 5.4 on a server with two hard disks.
>
> Cool ... :)

Nice :)

>> I have access to all my partitions on the first disk :-
>>
>> /dev/ad0s1a - /
>> /dev/ad0s1e - /tmp
>> /dev/ad0s1f - /usr
>> /dev/ad0s1d - /var
>>
>> How do I go about mounting to the second drive which I
>> assume would start with /dev/ad1*
>
> $ dmesg | grep ad

Another way is through atacontrol:

    # atacontrol list
    ATA channel 0:
        Master:  ad0 <WDC WD2000JB-98GVA0/08.02D08> ATA/ATAPI revision 6
        Slave:       no device present
    ATA channel 1:
        Master:      no device present
        Slave:       no device present
    ATA channel 2:
        Master:  ad4 <WDC WD2500JS-55NCB1/10.02E01> Serial ATA II
        Slave:       no device present
    ATA channel 3:
        Master:      no device present
        Slave:       no device present

Then you can use fdisk/bsdlabel/newfs on ad2 as usual :)




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