Adding a new disk in FreeBSD
finding newly added disk:
# cat /var/run/dmesg.bootinitializing the disk:
# fdisk -BI /dev/ad8creating the disklabel for the first slice:
# bsdlabel -w -B ad8s1editing the disklabel for the created slice:
# bsdlabel -e ad8s1verify disklabel:
# bsdlabel ad8s1Create a new ufs2 filesystem on each partition:
# /dev/ad8s1:
8 partitions:
size offset fstype [fsize bsize bps/cpg]
b: 716800 0 swap
c: 976773105 0 unused 0 0
e: 976056305 716800 4.2BSD 2048 16384 28528
# newfs /dev/ad8s1eTest:
# mount /dev/ad8s1e /dataLinks:
Comments
No new comments allowed (anymore) on this post.







