Professional Documents
Culture Documents
Zfs Formatting
Zfs Formatting
kern.geom.debugflags: 0 -> 16
Deleting MBR and partition table...
#/sbin/gpart destroy -F /dev/ada0 1>/dev/null 2>&1
#/bin/dd if=/dev/zero of=/dev/ada0 bs=131072 count=131072 2>&1
131072+0 records in
131072+0 records out
4194304 bytes transferred in 0.719983 secs (5825559 bytes/sec)
#/bin/dd if=/dev/zero of=/dev/ada0 bs=131072 count=131072 oseek=3906910000 2>&1
131072+0 records in
131072+0 records out
4194304 bytes transferred in 0.925782 secs (4530552 bytes/sec)
Deleting GEOM metadata...
1+0 records in
1+0 records out
131072 bytes transferred in 0.046327 secs (11052 bytes/sec)
kern.geom.debugflags: 16 -> 0
Done!
zfs-Format:
kern.geom.debugflags: 0 -> 16
Deleting MBR and partition table...
#/sbin/gpart destroy -F /dev/ada0 1>/dev/null 2>&1
#/bin/dd if=/dev/zero of=/dev/ada0 bs=131072 count=131072 2>&1
131072+0 records in
131072+0 records out
4194304 bytes transferred in 1.015796 secs (4129082 bytes/sec)
#/bin/dd if=/dev/zero of=/dev/ada0 bs=131072 count=131072 oseek=3906910000 2>&1
131072+0 records in
131072+0 records out
4194304 bytes transferred in 0.665054 secs (6306712 bytes/sec)
Deleting GEOM metadata...
1+0 records in
1+0 records out
131072 bytes transferred in 0.046251 secs (11070 bytes/sec)
Creating partition...
#/sbin/gpart create -s gpt /dev/ada0 2>&1
ada0 created
#/sbin/gpart add -a 4m -t freebsd-zfs -l '2tb_0' /dev/ada0 2>&1
ada0p1 added
kern.geom.debugflags: 16 -> 0
to do:
nas: ~# gnop destroy /dev/ada0p1.nop /dev/ada1p1.nop /dev/ada2p1.nop /dev/ada3p1.nop /dev/ada4p1.nop /dev/
ada5p1.nop /dev/ada6p1.nop