Adding a new disk in FreeBSD

finding newly added disk:
# cat /var/run/dmesg.boot
initializing the disk:
# fdisk -BI /dev/ad8
creating the disklabel for the first slice:
# bsdlabel -w -B ad8s1
editing the disklabel for the created slice:
# bsdlabel -e ad8s1
verify disklabel:
# bsdlabel ad8s1
# /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
Create a new ufs2 filesystem on each partition:
# newfs /dev/ad8s1e
Test:
# mount /dev/ad8s1e /data
Links:
Permalink
Posted in:

Comments

No new comments allowed (anymore) on this post.

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.