|
FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below. |
|
Thread Tools | Display Modes |
|
|||
mount second hard drive - newbie trouble
Hi guys,
I have a FreeBSD 7.0 install on a machine that has two hard drives. The first one (da0) is the one that hosts FreeBSD and the second one (da1) is formatted with ext3 (I'm almost sure). I created /var/ftp and I executed this command mount -t ext3 /dev/da1 /var/ftp But it doesn't work. This is what I get: mount: /dev/da1 : Operation not supported by device What am I doing wrong? Thanks is advance, Corneliu |
|
||||
ext3 is mounted as ext2 in FreeBSD (and therefore without journal), so
Code:
mount -t ext2fs /dev/da1 /var/ftp
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|||
Great! Thanks a lot. It worked with this command
mount -t ext2fs /dev/da1s4 /var/ftp What is the difference between da1 and da1s4? |
|
|||
Thanks for the info
|
|
||||
Nice and simple. One complication you should know:
"Logical Partitions" within an "Extended Partition" (Dos Fdisk talk) show up as additional slices - One disk containing (DOS) C:, D: and E: would map like this: C: - da0s1 D: - da0s5 E: - da0s6
__________________
The only dumb question is a question not asked. The only dumb answer is an answer not given. |
|
||||
i.e. the extended partiton = slice 4; each logical drives start counting from slice 5.
an example from my own system: [code] FreeBSD device - Windows Drive-letter (partition type) ad0s1 - Windows C: (first primary) ad0s2a - FreeBSD / (second primary) ad0s4 - Extended Partition ad0s5 - Windows P:\ (first logical) ad0s6 - Windows U:\ (second logical) ad0s7 - Windows S:\ (third logical)
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Did I fry my hard drive? | JMJ_coder | General Hardware | 7 | 23rd December 2008 10:38 PM |
Trouble booting if USB drive attached | map7 | FreeBSD General | 1 | 22nd December 2008 04:51 PM |
CF as a *BSD hard drive? | JMJ_coder | General Hardware | 26 | 31st July 2008 05:13 PM |
Encrypting hard drive? | ViperChief | FreeBSD Installation and Upgrading | 5 | 31st May 2008 03:42 PM |
how to mount external hard disk ? | bsdnewbie999 | FreeBSD General | 6 | 27th May 2008 02:37 AM |