Adding a disk, quickly

December 10th, 2004 | by jg3 |

This is my cheat sheet for adding a disk in FreeBSD. This information is geared for 5.x. No attempt at explanation is made. Caveat Emptor, sucka.


# dd if=/dev/zero of=/dev/da2 bs=1k count=1
# bsdlabel -Bw da2 auto
# newfs /dev/da2a
# echo ‘/dev/da2a /da2 ufs rw 2 2′ >> /etc/fstab
# mount /da2

Filed under: ,

Related stuff

Sorry, comments for this entry are closed at this time.