format /dev/ad10 or /dev/ad10s0 for getting the whole Disk as one volume in hammer

Matthew Dillon dillon at apollo.backplane.com
Fri Nov 19 18:22:58 PST 2010


    's0' is the dummy slice for drives which do not have slice tables on
    them.  I usually format a slice table with fdisk.

    e.g. (note: this completely destroys/reformats the hd):

    fdisk -IB /dev/ad8
    disklabel64 -r -w /dev/ad8s1 auto
    disklabel64 -e /dev/ad8s1
    (add 'd' partition covering the whole disk)
    (newfs_hammer -L LABEL /dev/ad8s1d)

						-Matt





More information about the Users mailing list