Mounting to a second hard disk

Giorgos Keramidas keramida at ceid.upatras.gr
Wed May 31 07:50:08 PDT 2006


On 2006-05-31 08:37, Kevin Kinsey <kdk at 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 :)



More information about the freebsd-questions mailing list